ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/doc/whattodo_dcs.txt
Revision: 1.1
Committed: Wed Apr 14 18:42:53 2010 UTC (13 years, 5 months ago) by production
Content type: text/plain
Branch: MAIN
CVS Tags: NetDRMS_Ver_2-4, NetDRMS_Ver_2-5, Ver_5-10, Ver_5-12, Ver_5-11, NetDRMS_Ver_2-3, Ver_5-9
Log Message:
initial

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
16 > ssh-agent | head -2 > /var/lib/pgsql/ssh-agent.env
17 > chmod 600 /var/lib/pgsql/ssh-agent.env
18 > source /var/lib/pgsql/ssh-agent.env
19 > ssh-add
20 (The password is written on my whiteboard (old production prod... passwd))
21
22 2. Login as user production:
23
24 > ssh-agent | head -2 > /var/tmp/ssh-agent.env
25 > chmod 600 /var/tmp/ssh-agent.env
26 > source /var/tmp/ssh-agent.env
27 > ssh-add
28 (The password is written on my whiteboard (old production prod... passwd))
29 NOTE: cron jobs use this /var/tmp/ssh-agent.env file
30
31 3. Start sum_svc and related programs:
32
33 > sum_start_dc
34
35 4. Start the vncserver:
36
37 > cd /home/production/cvs/JSOC/src/datacapture
38 > vncserver -geometry 1280x1024
39
40 You will require a password to access your desktops.
41
42 Password: production password (basically no ....)
43 Verify:
44 Would you like to enter a view-only password (y/n)? n
45
46 New 'X' desktop is dcs0.Stanford.EDU:1
47
48 5. Login as production on j0:
49
50 > vncviewer
51
52 (answer what vncserver told you, e.g. dcs0.Stanford.EDU:1)
53
54 6. In the window that vncviewer opened do:
55
56 > cd /home/production/cvs/JSOC/proj/datacapture/scripts>
57 > ./socdc
58
59 All you would normally do is hit "Start Instances for HMI" or AIA for
60 what datacapture machine you are on.
61