|
|
Build ARCoFor building ARCo some additional third party tools are needed. The easiest way to get access to these tools currently is to download the N1 Grid Engine portion of the Solaris Enterprise System. Check the N1 Grid Engine check mark and press the orange 'Get Downloads & Media' button. After registration you will have access to the necessary files. From the n1ge6u9-arco.tar.gz.zip file you can extract the third party libraries that are required for building. Alternatively you can download them from the links delivered below. Additional build preliminaries like the JavaHelp system and the JWSDP package are listed as well and are required for building.
The next step is to checkout the correct repository and to adjust some configuration files to your local setup. See the following example for a Grid Engine maintrunk system (for Grid Engine 6.0u8 or higher the same procedure applies with the difference that you have to use cvs co -r V60_ARCO_BRANCH arco for the checkout and the references for sge.root and sge.srcdir should point to a Grid Engine 6.0u8 or higher)
Install ARCoInstall
|
bash-2.05# useradd -c "PostgreSQL admin" -d /export/home/postgres -m -s /bin/bash postgres |
To start the database I run pg_ctl -D /usr/local/pgsql/data -l /var/log/postgres start -o "-i". The -o "-i" option is suposed to allow TCP/IP connections to the database.
To get pg_ctl to work without having to specify where the data is set the PGDATA:
PGDATA=/usr/local/pgsql/data/
export PGDATA
Consult the PostgreSQL documentation for further details.
Follow these instructions on docs.sun.com. The following
pg_hba.conf file as follows:
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD |
postgresql.conf as per the instructions to enable IP connections, simply change the tcpip_socket line to true and uncomment it.
Work through the instructions.
bash-2.05$ qconf -mconf
Change the following:
...
reporting_params accounting=true reporting=true flush_time=00:00:15 joblog=true sharelog=00:00:00
...
Also:
bash-2.05$ qconf -me global
Change the following:
hostname global
...
report_variables cpu,np_load_avg,mem_free,virtual_free
...
bash-2.05$ ./inst_dbwriter
Welcome to the Grid Engine installation
---------------------------------------
Grid Engine dbWriter installation
---------------------------------
The dbWriter installation will take approximately 5 minutes
Hitto continue >>
Generic Parameters
------------------
Please enter your SGE_ROOT [/usr/N1GE6] >>
Please enter your SGE_CELL [default] >>
Please enter the path to your java 1.4 installation [] >> /usr/java
Setup your database connection parameters
-----------------------------------------
Enter your database type ( o = Oracle, p = PostgreSQL ) [p] >>
Please enter the name of your postgresql db host [] >> b100x-1
Please enter the port of your postgresql db [5432] >>
Please enter the name of your postgresql database [arco] >>
Please enter the name of the database user [arco_write] >>
Please enter the password of the database user >>
Please retype the password >>
Please enter the name of the database schema [public] >>
Search for the jdbc driver org.postgresql.Driver
in directory /usr/N1GE6/dbwriter/lib .........
found in /usr/N1GE6/dbwriter/lib/pg73jdbc2.jar
Enter your database type ( o = Oracle, p = PostgreSQL ) [p] >>
Please enter the name of your postgresql db host [b100x-1] >>
Please enter the port of your postgresql db [5432] >>
Please enter the name of your postgresql database [arco] >>
Please enter the name of the database user [arco_write] >>
Please enter the password of the database user >>
Please retype the password >>
Please enter the name of the database schema [public] >>
Search for the jdbc driver org.postgresql.Driver
in directory /usr/N1GE6/dbwriter/lib .........
found in /usr/N1GE6/dbwriter/lib/pg73jdbc2.jar
Should the connection to the database be tested? (y/n) [y] >>
Test db connection to 'jdbc:postgresql://b100x-1:5432/arco' ... OK
Please enter the interval between two dbwriter runs in seconds [60] >>
Please enter the file with the derived value rules [$SGE_ROOT/dbwriter/database/postgres/dbwriter.xml] >>
The dbWriter can run with different debug levels
Possible values: WARNING INFO CONFIG FINE FINER FINEST
Please enter the debug level of the dbwriter [INFO] >>
All parameters are now collected
--------------------------------
SGE_ROOT=/usr/N1GE6
SGE_CELL=default
JAVA_HOME=/usr/java (java version "1.4.1_03")
DB_URL=jdbc:postgresql://b100x-1:5432/arco
DB_USER=arco_write
INTERVAL=60
REPORTING_FILE=$SGE_ROOT/$SGE_CELL/common/reporting
DERIVED_FILE=$SGE_ROOT/dbwriter/database/postgres/dbwriter.xml
DEBUG_LEVEL=INFO
Are this settings correct? (y/n) [y] >>
Create start script sgedbwriter in /usr/N1GE6/dbwriter/bin
Create configuration file for dbWriter in /usr/N1GE6/default/common
Installation of dbWriter completed
Start the dbWriter with /usr/N1GE6/dbwriter/bin/sgedbwriter start
bash-2.05# pwd
/usr/N1GE6/dbwriter
bash-2.05# cp bin/sgedbwriter /etc/init.d
bash-2.05# ln -s /etc/init.d/sgedbwriter /etc/rc2.d/S98sgedbwriter
bash-2.05# /etc/init.d/sgedbwriter start
starting dbWriter
Spool directory /usr/N1GE6/default/spool/b100x-1 does not exist.
Should it be created? (y/n) >> y
Go with the defaults . . .
bash-2.05# pwd
/usr/N1GE6/reporting
bash-2.05# ./inst_reporting
Welcome to the N1 SGE reporting module installation
----------------------------------------------------
The installation will take approximately 5 minutes
Hitto continue >>
Please enter the path to your java 1.4 installation [] >> /usr/java
Spool directory
---------------
In the spool directory the N1 SGE reporting module will
store all queries and results
Please enter the path to the spool directory [/var/spool/arco] >>
Database Setup
--------------
Enter your database type ( o = Oracle, p = PostgreSQL ) [p] >>
Please enter the name of your postgresql db host [] >> b100x-1
Please enter the port of your postgresql db [5432] >>
Please enter the name of your postgresql database [arco] >>
Please enter the name of the database user [arco_read] >>
Please enter the password of the database user >>
Please retype the password >>
Please enter the name of the database schema [public] >>
Search for the jdbc driver org.postgresql.Driver
in directory /usr/N1GE6/reporting/WEB-INF/lib ..............
found in /usr/N1GE6/reporting/WEB-INF/lib/postgresql-7.4.2.jar
Should the connection to the database be tested? (y/n) [y] >>
Test db connection to 'jdbc:postgresql://b100x-1:5432/arco' ... OK
Configure users with write access
---------------------------------
Enter a login name of a user (Press enter to finish) >> pj113073
Users: pj113073
Enter a login name of a user (Press enter to finish) >> user2
Users: pj113073 user2
Enter a login name of a user (Press enter to finish) >>
All parameters are now collected
--------------------------------
SPOOL_DIR=/var/spool/arco
DB_URL=jdbc:postgresql://b100x-1:5432/arco
DB_USER=arco_read
ARCO_WRITE_USERS=pj113073 user2
Are this settings correct? (y/n) [y] >> y
/usr/sadm/bin/smcwebserver: server not running - /var/run/smcwebserver.pid does not exist
Directory /var/spool/arco does not exist, create it? (y/n) [y] >>
Create directory /var/spool/arco
Create directory /var/spool/arco/queries
Copy predefined queries into /var/spool/arco/queries
Create directory /var/spool/arco/results
Create directory /usr/N1GE6/reporting/charts
Create directory /usr/N1GE6/reporting/export
Register the N1 SGE reporting module in the webconsole
Registering com.sun.grid.arco_6.
Starting Sun(TM) Web Console Version 2.0.3...
See /var/log/webconsole/console_debug_log for server logging information
|
![]() |
By any use of this Website, you agree to be bound by these Policies and Terms of Use. |