3 prodtest 1.1
4 !!!NOTE: The cvs/IRIS has been depricated. Use cvs/JSOC!!!!
5
6 Make a iris_ground namespace on aia0 postgres:
7
8 From Art 14Mar2012 9:18
9 Run this command on n02 (let's say) and capture the output info in:
10 /home/prodtest/cvs/IRIS/proj/lev0/apps/data/createns.iris,
11 then put it in a file and psql -f it on aia0:
12 > cd /home/prodtest/cvs/IRIS/proj/lev0/apps/data
13 > script
14 > createns ns=iris_ground nsgroup=sys dbusr=prodtest
15 > ^d
16 Now edit the typescript to remove ^M and comment lines and output
17 to createns.iris
18
19 Ran on aia0 as user postgres:
20 psql -p 5432 -f createns.iris irisdb
21
22 ==============================================================================
23 To run the datacapture gui on aia0:
24 prodtest 1.1
25 > cd /home/prodtest/cvs/IRIS/proj/datacapture/scripts
26 > ./socdc
27
28 ==============================================================================
29 To run ingest_lev0_iris on aia0:
30
31 > ingest_lev0_iris vc=VC05 indir=/dds/soc2pipe/hmi logfile=/tmp/logVC05.iris.log
32
33 ==============================================================================
34 The jsd files and a copy of the IRIS-ISP-version-6.89 are in:
35 aia0:/home/prodtest/iris_isp>
36
37 The real IRIS-ISP-version-6.89 is in:
38 aia0:/home/prodtest/cvs/TBL_JSOC/lev0/hk_config_file_iris/6.89>
39
40 ==============================================================================
41 Day files are at:
42 /data/hk_hsb_dayfile
43
44 ==============================================================================
45 prodtest 1.1 To see all keywords in a nice format:
46
47 > show_info -ka iris_ground.iris_isp_001 n=2
48
49 ==============================================================================
50 To start SUMS on iris-dc0:
51 su to sumsadmin via root.
52 > cd /home/prodtest/cvs/IRIS/base/sums/scripts
53 > sum_start (-f)
54
55 You should see this:
56 > px sum
57 postgres 7044 1 0 09:00 pts/2 00:00:00
58 /usr/local/pgsql-8.4/bin/postgres -D /var/lib/pgsql/data_sums
59 root 7106 7086 0 09:03 pts/1 00:00:00 su sumsadmin
60 505 7179 1 0 09:06 pts/1 00:00:00 sum_svc irisdb_sums
61 505 7183 7179 0 09:06 pts/1 00:00:00 sum_rm irisdb_sums
62 2012.08.15.090642
63 postgres 7184 7044 0 09:06 ? 00:00:00 postgres: sumsadmin
64 irisdb_sums 127.0.0.1(55040) idle
65 postgres 7191 7044 0 09:06 ? 00:00:00 postgres: sumsadmin
66 prodtest 1.1 irisdb_sums 127.0.0.1(55041) idle
67
68 ==============================================================================
69
70 The sum_svc db is irisdb_sums
71
72 > psql -p 5434 irisdb_sums
73 psql (8.4.7)
74
75 ==============================================================================
76 Did a backup to xim:/home/jim/cvs/IRIS> on 04Apr2012
77 !!NOTE: should use rsync instead to get links. See below.
78 > cd /home/jim/cvs
79 > scp -rp aia0:/home/prodtest/cvs/IRIS .
80 > scp -rp aia0:/home/prodtest/cvs/TBL_JSOC .
81 NOTE: This is now obsolete. Do:
82 To make ingest_lev0_irisROT on backend machine:
83 > ssh prodtest@n02
84 > cd cvs/IRIS
85 > make ingest_lev0_irisROT
86 The full IRIS tree is in n02:/home/prodtest/cvs/IRIS.
87 prodtest 1.1 It should correspond to "cvs co IRIS"
88 n02:/home/prodtest/cvs/IRIS/proj/lev0/apps> cvs status ingest_lev0_irisROT.c
89 ===================================================================
90 File: ingest_lev0_irisROT.c Status: Up-to-date
91
92 The source code will be updated by prodtest on irisdc in its cvs/IRIS
93 tree and then committed to the cvs repository on sunroom. Remember to do
94 the cvs update on n02 as prodtest.
95
96 When make a new prodtest executable on n02 be sure to
97 tell Art to get the executable in /home/jsoc/cvs/Development/JSOC.
98 To create lev0 on the backend, we run as jsocprod on cl1n001 which has
99 a path to cvs/Development.
100
101 ==============================================================================
102 ==============================================================================
103 Must do on dc1 and dc2 at Lockheed:
104
105 > cd /dds/dds2soc
106 aia0:/dds/dds2soc> mkdir iris
107 aia0:/dds/dds2soc> chmod g+w iris
108 prodtest 1.1
109 Also for /dds/soc2soc, /dds/soc2pipe, /dds/reject, /dds/soc2dds, /dds/pipe2soc
110
111 ==============================================================================
112
113 The env vrbls for the hk processing are in
114 /home/prodtest/cvs/IRIS/proj/lev0/apps/SOURCE_ENV_FOR_HK_DECODE
115 which is read in by ingest_lev0_iris when it starts.
116
117 ==============================================================================
118 copy onto a flash drive:
119 Plug in drive to xim. Get auto mount at:
120 xim:/media/USB DISK>
121 > rsync -e /usr/bin/ssh -avtHl aia0:/home/prodtest/cvs/IRIS .
122 > rsync -e /usr/bin/ssh -avtHl aia0:/home/prodtest/cvs/TBL_JSOC .
123 > rsync -e /usr/bin/ssh -avtHl aia0:/home/prodtest/jsd_files .
124 #> rsync -e /usr/bin/ssh -avtHl aia0:/home/prodtest/iris_isp . (replace by
125 jsd_files)
126
127 NOTE: get rsync error on IRIS. So do scp.
128 ==============================================================================
129 prodtest 1.1
130 New dirs on aia0 02Apr2012:
131 /home/prodtest/jsd_files latest jsd files by Rock
132 This has been updated from the new stuff:
133 /home/prodtest/cvs/TBL_JSOC/lev0/hk_config_file_iris/6.89/IRIS-ISP-version-6.89
134
135 /home/prodtest/iris_vacuum_cal_files/tlm New data files from Rock
136
137 ==============================================================================
138 Start/Stop postgres
139
140 > su - postgres (same passwd as prodtest)
141 > pg_ctl -D /var/lib/pgsql/data_drms start
142 > pg_ctl -D /var/lib/pgsql/data_drms stop
143
144 > pg_ctl -D /var/lib/pgsql/data_sums start
145 > pg_ctl -D /var/lib/pgsql/data_sums stop
146 (or try:)
147 > pg_ctl -D /var/lib/pgsql/data_sums stop -m fast
148
149 (must be user sumsadmin to access tables)
150 prodtest 1.1
151 ==============================================================================
152 NOTE: Added to data_sums/pg_hba.conf and data_drms/pg_hba.conf:
153 host all all 171.64.103.0/24 md5
154
|