Project

General

Profile

NetDRMS User Guide » History » Version 8

Herve Ballans, 08/09/2016 11:56

1 1 Herve Ballans
{{toc}}
2 1 Herve Ballans
3 1 Herve Ballans
h1. NetDRMS User Guide
4 1 Herve Ballans
5 1 Herve Ballans
h2. NetDRMS Start script
6 1 Herve Ballans
7 1 Herve Ballans
<pre>
8 5 Herve Ballans
$ sum_start.NetDRMS
9 1 Herve Ballans
</pre>
10 2 Herve Ballans
11 3 Herve Ballans
h2. Test show_info
12 2 Herve Ballans
13 2 Herve Ballans
<pre>
14 2 Herve Ballans
production@sdo3:~$ show_info -s hmi.sharp_720s_nrt
15 2 Herve Ballans
First Record: hmi.sharp_720s_nrt[476][2012.09.14_02:12:00_TAI], Recnum = 829707
16 2 Herve Ballans
Last Record:  hmi.sharp_720s_nrt[4943][2016.03.22_18:24:00_TAI], Recnum = 2015202
17 2 Herve Ballans
Last Recnum:  2015202
18 2 Herve Ballans
Has shadow table: no
19 2 Herve Ballans
</pre>
20 2 Herve Ballans
21 3 Herve Ballans
h2. Lancement de jetty
22 2 Herve Ballans
23 1 Herve Ballans
<pre>
24 1 Herve Ballans
$ jetty.sh start
25 3 Herve Ballans
</pre>
26 3 Herve Ballans
27 6 Herve Ballans
h2. Delete series
28 6 Herve Ballans
29 7 Herve Ballans
<pre>
30 7 Herve Ballans
delete_series -k hmi.sharp_720s_nrt JSOC_DBUSER=slony
31 7 Herve Ballans
</pre>
32 7 Herve Ballans
33 7 Herve Ballans
-k n 'efface pas les données 
34 6 Herve Ballans
35 3 Herve Ballans
h2. Subscribe series
36 3 Herve Ballans
37 8 Herve Ballans
Old way (before 8.10)
38 8 Herve Ballans
39 3 Herve Ballans
<pre>
40 4 Herve Ballans
$ cd /usr/local/netdrms_current/base/drms/replication/subscribe_series
41 4 Herve Ballans
$ ./subscribe_series ../etc/ias.repclient.cfg ../etc/ias.subscribe_list.cfg ~/.ssh-agent_rs -r
42 8 Herve Ballans
</pre>
43 8 Herve Ballans
44 8 Herve Ballans
New way :
45 8 Herve Ballans
<pre>
46 8 Herve Ballans
$ 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
47 2 Herve Ballans
</pre>