| SeedGendbTgDemo |
UserPreferences |
| SEED Wiki | FrontPage | RecentChanges | TitleIndex | WordIndex | SiteNavigation | HelpContents |
There are two main components of the demo: the configuration on the ANL TG nodes, and the configuration on seed-linux-2.
The TG login node is tg-login.uc.teragrid.org.
A PBS startup script for the SGE execution daemon nodes is in /home/olson/SGE/start-nodes-64. This can be submitted to the scheduler with this command
qsub /home/olson/SGE/start-nodes-64
This command will return a job number:
olson@tg-login1:~/SGE> qsub start-nodes-64
149749.tg-master.uc.teragrid.org
For best results (that is, I don't know if it will work if you don't), run the submission as user olson.
Other useful TG commands are pbstop -c 20 to show an updating view of the machine state and the job queue, and qdel #### to remove a job from the queue.
Again, best results will be had by running as user olson.
To initialize the shell environment for running GENDB, SEED, and SGE commands, run this (for bash):
cd /home/olson/FIGdisk.Sep15
source config/fig-user-env.sh
cd gendb
source SGE/default/common/settings.sh
To run the GUI SGE tool monitor, set your X11 DISPLAY environment variable appropriately, and run qmon.
For GENDB job submission to work, there is a dispatcher process that should be running. To check if it is, do ps auxww | grep dispatcher. The result should look something like this:
[olson@seed-linux-2 gendb]$ ps auxw|grep dispatcher olson 9399 0.0 1.4 32928 15052 ? S Nov10 0:02 /home/olson/FIGdisk.Sep15/env/linux-postgres/bin/perl /home/olson/FIGdisk.Sep15/gendb/share/gendb/exec/dispatcher.pl -l dispatch.log olson 12792 0.0 0.0 3588 644 pts/0 S 13:56 0:00 grep dispatcher
To restart the dispatcher if needed:
cd /home/olson/FIGdisk.Sep15/gendb bin/dispatcher -l dispatch.log
The file /home/olson/FIGdisk.Sep15/gendb/dispatch.log holds a log of dispatcher output.
The SEED running here is a little nonstandard; it is using mysql with a web server configured for mod_perl.
To start the seed services, become user olson and run the following:
/home/olson/FIGdisk.Sep15/bin/start-servers /home/olson/FIGdisk.Sep15/FIG/bin/start_dbserver
The web server that is to be run is not the system webserver. To start the right one, run this as root:
/home/olson/apache/bin/apachectl start
after ensuring the system-installed apache is not running.