(file) Return to whattodo_dcs.txt CVS log (file) (dir) Up to [Development] / JSOC / doc

File: [Development] / JSOC / doc / whattodo_dcs.txt (download)
Revision: 1.2, Fri Dec 17 18:34:53 2010 UTC (12 years, 9 months ago) by production
Branch: MAIN
CVS Tags: Ver_8-0, Ver_7-1, Ver_7-0, Ver_6-4, Ver_6-3, Ver_6-2, Ver_6-1, Ver_6-0, Ver_5-14, Ver_5-13, NetDRMS_Ver_9-9, NetDRMS_Ver_8-0, NetDRMS_Ver_7-1, NetDRMS_Ver_7-0, NetDRMS_Ver_6-4, NetDRMS_Ver_6-3, NetDRMS_Ver_6-2, NetDRMS_Ver_6-1, NetDRMS_Ver_6-0, NetDRMS_Ver_2-7
Changes since 1.1: +9 -1 lines
update

	/home/production/cvs/JSOC/doc/whattodo_dcs.txt  14Apr2010

	--------------------------------------------------------
	Summary of starting a dcs0 or dcs1 machine after a reboot
	--------------------------------------------------------

NOTE:IMPORTANT: Please keep in mind that each data capture machine has its
own independent /home/production and is accessed via j0.
Note the SUMS database is jsocdc. This is a separate DB on each dcs.

dcs0 = AIA
dcs1 = HMI

1. Login as user postgres:

> ssh-agent | head -2 > /var/lib/pgsql/ssh-agent.env
> chmod 600 /var/lib/pgsql/ssh-agent.env
> source /var/lib/pgsql/ssh-agent.env
> ssh-add
(The password is written on my whiteboard (old production prod... passwd)) 

2. Login as user production: 

> ssh-agent | head -2 > /var/tmp/ssh-agent.env
> chmod 600 /var/tmp/ssh-agent.env
> source /var/tmp/ssh-agent.env
> ssh-add 
(The password is written on my whiteboard (old production prod... passwd))
NOTE: cron jobs use this /var/tmp/ssh-agent.env file

3. Start sum_svc and related programs:

> sum_start_dc

4. Start the vncserver:

> cd /home/production/cvs/JSOC/proj/datacapture
> vncserver -geometry 1280x1024

You will require a password to access your desktops.

Password: production password (basically no ....)
Verify:
Would you like to enter a view-only password (y/n)? n

New 'X' desktop is dcs0.Stanford.EDU:1

5. Login as production on j0:

> vncviewer

(answer what vncserver told you, e.g. dcs0.Stanford.EDU:1)

6. In the window that vncviewer opened do:

> cd /home/production/cvs/JSOC/proj/datacapture/scripts>
> ./socdc

All you would normally do is hit "Start Instances for HMI" or AIA for
what datacapture machine you are on.

=============================================================================

Stopping a dcs machine:
-----------------------

Hit the red "Exit" button on the VNC display of the socdc gui.
If you are not local ps and kill socdc.


Karen Tian
Powered by
ViewCVS 0.9.4