Project

General

Profile

NetDRMS User Guide » History » Version 8

Version 7 (Herve Ballans, 30/06/2016 15:55) → Version 8/11 (Herve Ballans, 08/09/2016 11:56)

{{toc}}

h1. NetDRMS User Guide



h2. NetDRMS Start script

<pre>
$ sum_start.NetDRMS
</pre>



h2. Test show_info

<pre>
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
</pre>

h2. Lancement de jetty

<pre>
$ jetty.sh start
</pre>



h2. Delete series

<pre>
delete_series -k hmi.sharp_720s_nrt JSOC_DBUSER=slony
</pre>

-k n 'efface pas les données



h2. Subscribe series

Old way (before 8.10)

<pre>
$ 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
</pre>

New way :
<pre>
$ 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
</pre>