NetDRMS User Guide » History » Version 9
« Previous -
Version 9/11
(diff) -
Next » -
Current version
Pablo Alingery, 01/02/2017 10:59
- Table of contents
- NetDRMS User Guide
NetDRMS User Guide¶
NetDRMS Start script¶
$ sum_start.NetDRMS
A faire demander pour le fichier de config sum_rm.cfg
production@sdo3:/usr/local/netdrms_current/base/drms/replication/etc$ netdrms production@sdo3:/usr/local/netdrms_current$ sum_start.NetDRMS Number of SUM process sets to spawn = 1 Max number of SUM process can spawn = 8 SUMSERVER is sdo3 SUMS_MANAGER is production SUMS db is ias_sdo_sums SUMS log dir is /usr/local/netdrms_current/logs/SUM sum_start.NetDRMS at 2017.02.01_10:56:05 ** Now starting SUMS on ias_sdo_sums SUM NetDRMS Start Complete production@sdo3:/usr/local/netdrms_current$ Running on SUMS-server host sdo3. Connection to SUMS DB ias_sdo_sums. Using SUMS-log file sum_svc_2017.02.01.105605.log. Using SUMS-rm-log file 2017.02.01.105605.log. Process sum_svc is not running. Starting process sum_svc. Please wait for sum_svc and tape inventory (optional) to initialize... Can't open config file /usr/local/netdrms_current/logs/SUM/sum_rm.cfg. Using defaults...
Test show_info¶
production@sdo3:~$ show_info -s hmi.sharp_720s_nrt First Record: hmi.sharp_720s_nrt[476][2012.09.14_02:12:00_TAI], Recnum = 829707 Last Record: hmi.sharp_720s_nrt[4943][2016.03.22_18:24:00_TAI], Recnum = 2015202 Last Recnum: 2015202 Has shadow table: no
Lancement de jetty¶
$ jetty.sh start
Delete series¶
delete_series -k hmi.sharp_720s_nrt JSOC_DBUSER=slony
-k n 'efface pas les données
Subscribe series¶
Old way (before 8.10)
$ cd /usr/local/netdrms_current/base/drms/replication/subscribe_series $ ./subscribe_series ../etc/ias.repclient.cfg ../etc/ias.subscribe_list.cfg ~/.ssh-agent_rs -r
New way :
$ python3 base/drms/replication/subscribe_series/subscribe.py cfg=base/drms/replication/etc/ias.repclient.cfg reqtype=subscribe series=hmi.ic_nolimbdark_720s --loglevel=debug