version 1.6, 2008/11/07 16:54:37
|
version 1.7, 2009/08/03 17:49:39
|
|
|
/home/production/cvs/JSOC/doc/whattodolev0.txt 07Nov2008 |
/home/production/cvs/JSOC/doc/whattodolev0.txt 25Nov2008 |
| |
| |
------------------------------------------------------ | ------------------------------------------------------ |
|
|
NOTE:IMPORTANT: Please keep in mind that each data capture machine has its | NOTE:IMPORTANT: Please keep in mind that each data capture machine has its |
own independent /home/production. | own independent /home/production. |
| |
1. The Datacapture system for aia/hmi is by convention dcs0/dcs1 respectively. |
FORMERLY: 1. The Datacapture system for aia/hmi is by convention dcs0/dcs1 |
If the spare dcs2 is to be put in place, it is renamed dcs0 or dcs1, and the |
respectively. If the spare dcs2 is to be put in place, it is renamed dcs0 |
original machine is renamed dcs2. |
or dcs1, and the original machine is renamed dcs2. |
|
|
|
1. The datacapture machine serving for AIA or HMI is determined by |
|
the entries in: |
|
|
|
/home/production/cvs/JSOC/proj/datacapture/scripts/dsctab.txt |
|
|
|
This is edited or listed by the program: |
|
|
|
/home/production/cvs/JSOC/proj/datacapture/scripts> dcstab.pl -h |
|
Display or change the datacapture system assignment file. |
|
Usage: dcstab [-h][-l][-e] |
|
-h = print this help message |
|
-l = list the current file contents |
|
-e = edit with vi the current file contents |
|
|
|
For dcs3 the dcstab.txt would look like: |
|
AIA=dcs3 |
|
HMI=dcs3 |
|
|
| |
1a. The spare dcs2 normally servers as a backup destination of the postgres | 1a. The spare dcs2 normally servers as a backup destination of the postgres |
running on dcs0 and dcs1. You should see this postgres cron job on dcs0 | running on dcs0 and dcs1. You should see this postgres cron job on dcs0 |
Line 96 This requires that an ssh-agent be runni |
|
Line 115 This requires that an ssh-agent be runni |
|
> ssh-agent | head -2 > /tmp/ssh-agent.env | > ssh-agent | head -2 > /tmp/ssh-agent.env |
> chmod 600 /tmp/ssh-agent.env | > chmod 600 /tmp/ssh-agent.env |
> source /tmp/ssh-agent.env | > source /tmp/ssh-agent.env |
> ssh-add |
> ssh-add (or for sonar: ssh-add /home/production/.ssh/id_rsa) |
(The password is written on my whiteboard) | (The password is written on my whiteboard) |
| |
NOTE: cron jobs use this /tmp/ssh-agent.env file | NOTE: cron jobs use this /tmp/ssh-agent.env file |
Line 167 The blank L4 tapes are in the tape room |
|
Line 186 The blank L4 tapes are in the tape room |
|
When the tape drive needs cleaning, hit the "Start Cleaning" button on | When the tape drive needs cleaning, hit the "Start Cleaning" button on |
the t50view gui. | the t50view gui. |
| |
13. Other background info is in: |
13. There should be a cron job running as user production on both dcs0 and |
|
dcs1 that will set the Offsite_Ack field in the sum_main DB table. |
|
20 0 * * * /home/production/tape_verify/scripts/set_sum_main_offsite_ack.pl |
|
|
|
Where: |
|
#/home/production/tape_verify/scripts/set_sum_main_offsite_ack.pl |
|
# |
|
#This reads the .ver files produced by Tim's |
|
#/home/production/tape_verify/scripts/run_remote_tape_verify.pl |
|
#A .ver file looks like: |
|
## Offsite verify offhost:dds/off2ds/HMI_2008.06.11_01:12:27.ver |
|
## Tape 0=success 0=dcs0(aia) |
|
#000684L4 0 1 |
|
#000701L4 0 1 |
|
##END |
|
#For each tape that has been verified successfully, this program |
|
#sets the Offsite_Ack to 'Y' in the sum_main for all entries |
|
#with Arch_Tape = the given tape id. |
|
# |
|
#The machine names where AIA and HMI processing live |
|
#is found in dcstab.txt which must be on either dcs0 or dcs1 |
|
|
|
14. Other background info is in: |
| |
http://hmi.stanford.edu/development/JSOC_Documents/Data_Capture_Documents/DataCapture.html | http://hmi.stanford.edu/development/JSOC_Documents/Data_Capture_Documents/DataCapture.html |
| |
Line 278 jsoc=> update hmi.drms_series set archiv |
|
Line 319 jsoc=> update hmi.drms_series set archiv |
|
UPDATE 1 | UPDATE 1 |
jsoc=> \q | jsoc=> \q |
| |
|
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
|
The modified dcs reboot procedure is in ~kehcheng/dcs.reboot.notes. |