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

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

Karen Tian
Powered by
ViewCVS 0.9.4