ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/doc/whattodo_dcs.txt
Revision: 1.3
Committed: Fri Jun 28 16:41:54 2013 UTC (10 years, 2 months ago) by production
Content type: text/plain
Branch: MAIN
CVS Tags: NetDRMS_Ver_8-8, Ver_8-5, NetDRMS_Ver_8-1, Ver_LATEST, NetDRMS_Ver_LATEST, NetDRMS_Ver_8-12, NetDRMS_Ver_8-10, NetDRMS_Ver_8-11, NetDRMS_Ver_9-1, NetDRMS_Ver_9-0, NetDRMS_Ver_9-3, NetDRMS_Ver_9-2, NetDRMS_Ver_9-5, NetDRMS_Ver_9-4, NetDRMS_Ver_8-2, NetDRMS_Ver_8-3, NetDRMS_Ver_9-41, Ver_9-41, Ver_DRMSLATEST, NetDRMS_Ver_8-4, NetDRMS_Ver_8-5, NetDRMS_Ver_8-6, Ver_8-8, NetDRMS_Ver_8-7, Ver_8-2, Ver_9-3, Ver_8-1, Ver_8-6, Ver_8-7, Ver_8-4, Ver_8-11, Ver_9-1, Ver_8-3, Ver_9-5, Ver_9-4, Ver_8-10, Ver_9-2, Ver_8-12, Ver_9-0, HEAD
Changes since 1.2: +7 -2 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 /home/production/cvs/JSOC/doc/whattodo_dcs.txt 14Apr2010
2
3 --------------------------------------------------------
4 Summary of starting a dcs0 or dcs1 machine after a reboot
5 --------------------------------------------------------
6
7 NOTE:IMPORTANT: Please keep in mind that each data capture machine has its
8 own independent /home/production and is accessed via j0.
9 Note the SUMS database is jsocdc. This is a separate DB on each dcs.
10
11 dcs0 = AIA
12 dcs1 = HMI
13
14 1. Login as user postgres:
15 (This s/b running from the boot of the machine:
16 /usr/local/pgsql-8.4/bin/postgres -D /var/lib/pgsql/dcs1_data)
17
18 > ssh-agent | head -2 > /var/lib/pgsql/ssh-agent.env
19 > chmod 600 /var/lib/pgsql/ssh-agent.env
20 > source /var/lib/pgsql/ssh-agent.env (NOTE: ^D if you went into csh earlier)
21 > ssh-add
22 (The password is written on my whiteboard (old production prod... passwd))
23
24 2. Login as user production:
25
26 > ssh-agent | head -2 > /var/tmp/ssh-agent.env
27 > chmod 600 /var/tmp/ssh-agent.env
28 > source /var/tmp/ssh-agent.env
29 > ssh-add
30 (The password is written on my whiteboard (old production prod... passwd))
31 NOTE: cron jobs use this /var/tmp/ssh-agent.env file
32
33 3. Start sum_svc and related programs:
34
35 > sum_start_dc
36
37 4. Start the vncserver:
38
39 > cd /home/production/cvs/JSOC/proj/datacapture
40 > vncserver -geometry 1280x1024
41
42 You will require a password to access your desktops.
43
44 Password: production password (basically no ....)
45 Verify:
46 Would you like to enter a view-only password (y/n)? n
47
48 New 'X' desktop is dcs0.Stanford.EDU:1
49
50 5. Login as production on j0:
51
52 > vncviewer
53
54 (answer what vncserver told you, e.g. dcs0.Stanford.EDU:1)
55 (password is the 'basically no data')
56
57 6. In the window that vncviewer opened do:
58
59 > cd /home/production/cvs/JSOC/proj/datacapture/scripts>
60 > ./socdc
61
62 All you would normally do is hit "Start Instances for HMI" or AIA for
63 what datacapture machine you are on.
64
65 =============================================================================
66
67 Stopping a dcs machine:
68 -----------------------
69
70 Hit the red "Exit" button on the VNC display of the socdc gui.
71 If you are not local ps and kill socdc. !!NOTE: If you
72 directly kill socdc you MUST also kill the 2 ingest_tlm processes.
73
74