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

 1 prodtest 1.2 		/home/prodtest/cvs/JSOC/doc/new_dcs2x_hmi_aia.txt
 2 prodtest 1.1 
 3              The dcs2x is configured with a hmidb and a aiadb.
 4              Thie can be used if a dcs0x (aia) or dcs1x (hmi) goes down.
 5              
 6              To run dcs2x with hmidb, log on as normal. The info in
 7              new_dcsx_run.txt applies.
 8              
 9              To run dcs2x with for aia, you must stop any hmi postgres
10              instances:
11              
12              pg_ctl -D /var/lib/pgsql/data_drms stop
13              pg_ctl -D /var/lib/pgsql/data_sums stop [-m fast]
14              
15              and start the aia instances:
16              
17              pg_ctl -D /var/lib/pgsql/data_sums_aia -l /tmp/postgres.sums.aia.log start
18              pg_ctl -D /var/lib/pgsql/data_drms_aia -l /tmp/postgres.drms.aia.log start
19              
20              Make sure you have this env:
21              
22              JSOC_DBHOST=dcs2x
23 prodtest 1.1 JSOC_DBNAME=aiadb
24              
25              Run with 
26              /home/prodtest/cvs/JSOC/proj/datacapture/scripts/socdc.dcs2x.aia
27              
28              Ths sums dir is /SUM12.
29              
30 prodtest 1.2 Use e.g.:
31              dcs2x:/home/prodtest> psql -p 5434 aiadb_sums
32              

Karen Tian
Powered by
ViewCVS 0.9.4