firewall pc: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 lan ingv-mi gaia2 (miln)...

21
firew all PC: cartman user: rais 193.206.88.38 192.168.2 .38 192.168.100.1 18 LAN INGV- MI Gaia2 (MILN) Wi-fi 192.168.102. 20 Reftek 192.168.1. 2 Gaia2 192.168.1 .2 192.168.1.1 UMTS Router (UR5) Server DYNDNS NAT NAT host.gaia2.router IP add host.reftek.router IP add 192.168.1.1 UMTS Router (UR5) Gaia2 Server Locale non- INGV collegamento via cavo o wireless Server Remoto INGV o non- INGV A B C D E Collegamento stazioni sismiche - centro di acquisizione dati INGV-MI (2013) ACC VEL A B C D E Seiscomp (Remote IP) RTPD RTCC flusso dati RTPD flusso dati Seiscomp (seedlink) collegamento fisico PC: hpp6sei user: satel Seiscomp (38) ISMD 10.1.1.1 61 PC: RealTimeAcquisition user: sysop PC: satel132 user: satel132 seisgram (38) PC: satel user: satel05 10.1.1. 37 seisgram (38) 192.38.2. 33 10.1.1.1 69 PC: satel13 user: satel13 seisgram (38) 10.1.1.2 01 RAIS sud centro nord PC: shake user: shake Seiscomp (38) seisgram (localhost) 193.206.88.32 192.168.2. 32 PC: ingvsarax user: sara seisgram (38) 10.1.1.2 14 SALA SISMICA LABORATORIO

Upload: ersilia-forte

Post on 01-May-2015

242 views

Category:

Documents


8 download

TRANSCRIPT

Page 1: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

firewall

PC: cartman user: rais

193.206.88.38 192.168.2.38

192.168.100.118

LAN INGV-MI

Gaia2 (MILN)

Wi-fi

192.168.102.20

Reftek192.168.1.2

Gaia2192.168.1.2

192.168.1.1UMTS Router (UR5)

Server DYNDNS NAT NAThost.gaia2.router IP add host.reftek.router IP add

192.168.1.1 UMTS Router (UR5)

Gaia2

Server Locale non-INGV

collegamento via cavo o wireless

Server Remoto INGV o non-INGV

A B C D E

Collegamento stazioni sismiche - centro di acquisizione dati INGV-MI (2013)

ACC

VEL

A

B

C D

E

Seiscomp(Remote IP)

RTPD RTCC

flusso dati RTPD flusso dati Seiscomp (seedlink)

collegamento fisico

PC: hpp6sei user: satel

Seiscomp (38)

ISMD

10.1.1.161

PC: RealTimeAcquisition user: sysop

PC: satel132 user: satel132

seisgram (38)

PC: satel user: satel05 10.1.1.37

seisgram (38)

192.38.2.33

10.1.1.169

PC: satel13 user: satel13

seisgram (38)

10.1.1.201

RA

ISsu

dce

ntr

on

ord

PC: shake user: shake

Seiscomp (38)

seisgram (localhost)

193.206.88.32 192.168.2.32

PC: ingvsarax user: sara

seisgram (38)

10.1.1.214

SALA SISMICA

LABORATORIO

Page 2: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

A

B

B

B

C

C

D

D D

D

D

E

E

E

E

E

Page 3: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

Tipo colleg.

N. staz.

Esempi Gestore

A 1 MILN INGV-MI

B 106 ACER, AQU, … CNT Roma / OGS

1 CTL8 CNT Ancona

1 FIVI Univ. Genova

1 DOSS Prov. Trento

C 2 CNCS, MERA INGV-MI

D 11 BAG8, BORM, BOTT, EUCT, FERS, MNTV, …

INGV-MI

E 9 ASOL, CAPR, CRND, FRE8, LEOD, …

INGV-MI

3 emergenza INGV-MI

TOT 135

Page 4: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

eseguibile:

file di configurazione:

Codici di acquisizione/visualizzazione

PC: cartmanuser: rais

$HOME / REFTEK /RTCC/ /RTPD/ /gestione_reftek.sh /seiscomp3/

PC: hpp6seiuser: satel

$HOME / ISMD / / seiscomp3 /

seisgram (host) visualizza le tracce che vengono archiviate su “host”Visualizzazione

PC: RealTimeAcquisitionuser: sysop

$HOME / seisgram /

PC: satel123user: satel123

$HOME / seisgram /

PC: satel13user: satel13

$HOME / seisgram /

PC: ingvsaraxuser: sara

$HOME / seisgram /

PC: shakeuser: shake

$HOME / seisgram / / seiscomp3 /

#!/bin/bash# Generated at ven giu 27 19:35:51 CEST 2008 - Do not edit!# template: /home/sysop/seiscomp/templates/seisgram.tpl# MODIFICA EZIO per test rete MILANO

eval java -cp lib/SeisGram2K52.jar net.alomax.seisgram2k.SeisGram2K $(cat config/seisgram_TEST.rc) -seedlink.groupchannels YES -commands.onread rmean -display.font=2.0,BOLD

-seedlink "192.168.2.38:18000#IV_CAPR:HNE.D,IV_CAPR:HNN.D,IV_CAPR:HNZ.D#300"-seedlink.backfill NO-display.maxvisible 40

seisgram_TEST.sh

seisgram_TEST.rc

Page 5: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

Acquisizione

Page 6: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

other / … file di configurazione INGV-MI

Page 7: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

Archivio

I dati (giornalieri) vengono archiviati in formato miniSEED secondo la struttura

.../seiscomp3/acquisition/archive/YYYY/NT/STAZ/CMP.D/NT.STAZ..CMP.D.YYYY.DAY

dove YYYY = anno; NT = sigla rete; STAZ = sigla stazione; CMP = sigla tipo sensore-componente ; DAY = giorno giuliano (001, 002, …..365 (o366)).

Convenzioni per CMP (formato SEED):

es. HNZ HNE HNN

Page 8: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2
Page 9: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

Comandi principali

• viene utilizzato ad es. per aggiungere/rimuovere una nuova stazione o una nuova rete;

• “seiscomp config” richiede l’inserimento manuale di ogni parametro;

• alternativamente, i parametri di configurazione possono essere scritti in un file che

sostituisce lo standard input mediate:

“seicomp config < file_di_configurazione”

Page 10: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

file di configurazione (esempi)

aIVIstituto Nazionale di Geofisica e Vulcanologia, ItalyItalian National Seismic NetworkaCNCSConcesio45.606010.2170126Gaia2EpisensorM/S**21.01000.0_2009/299yesHN_RMHP(10)>>ITAPER(30)>>BW(4,0.7,2)>>STALTA(2,80)31.5-0.8yesno0178.19.153.211180000__30_noqw

aIVIstituto Nazionale di Geofisica e Vulcanologia, ItalyItalian National Seismic NetworkaBAG8Bagolino45.822810.4664807Gaia2EpisensorM/S**21.01000.0_2010/053yesHN_RMHP(10)>>ITAPER(30)>>BW(4,0.7,2)>>STALTA(2,80)31.5-0.8yesno0bagolino.homelinux.net180000__30_noqw

A, B, C D

Page 11: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

file di configurazione (esempi)

aIVIstituto Nazionale di Geofisica e Vulcanologia, ItalyItalian National Seismic NetworkaASOLAsolo45.800311.9023181REFTEK-130EpisensorM/S**21.01000.0_2011/320yesHN_RMHP(10)>>ITAPER(30)>>BW(4,0.7,2)>>STALTA(2,80)31.5-0.8yesno13127.0.0.12543968Areftek_RAIS_30_noqw

aIVIstituto Nazionale di Geofisica e Vulcanologia, ItalyItalian National Seismic NetworkaBAG8Bagolino45.822810.4664807Gaia2EpisensorM/S**21.01000.0_2010/053yesHN_RMHP(10)>>ITAPER(30)>>BW(4,0.7,2)>>STALTA(2,80)31.5-0.8yesno0bagolino.homelinux.net180000__30_noqw

D E

Page 12: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

A, B, C, D

E

Page 13: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

file di configurazione (esempi)

aIVIstituto Nazionale di Geofisica e Vulcanologia, ItalyItalian National Seismic NetworkaBAG8Bagolino45.822810.4664807Gaia2EpisensorM/S**21.01000.0_2010/053yesHN_RMHP(10)>>ITAPER(30)>>BW(4,0.7,2)>>STALTA(2,80)31.5-0.8yesno0bagolino.homelinux.net180000__30_noqw

DD (2 sensori) a

IVIstituto Nazionale di Geofisica e Vulcanologia, ItalyItalian National Seismic NetworkaEUCTEucentre45.20269.134982Gaia2EpisensorM/S**21.01000.0Trillium-40M/S1.01000.02009/299yesHH_RMHP(10)>>ITAPER(30)>>BW(4,0.7,2)>>STALTA(2,80)31.5-0.8yesno0euctrais.homelinux.net180000__30_noqw

Page 14: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

slinktool -Q localhost permette di visualizzare lo stato dell’acquisizione.

Esempi:

controllo effettuato da ReatTimeAcquisition (quando era installato seiscomp) il 19 settembre 2011 alle ore 08:43:58 (ora locale) (vengono visualizzate le componenti Z di tutte le stazioni configurate)

sysop@RealTimeAcquisition:~$ slinktool -Q localhost | grep HNZ

IV BAG8 HNZ D 2011/09/19 03:14:35.0200 - 2011/09/19 06:43:54.2000IV BORM HNZ D 2011/09/19 03:05:09.1000 - 2011/09/19 06:43:55.1800IV BOTT HNZ D 2011/09/19 03:03:26.7000 - 2011/09/19 06:43:56.0200IV BRIS HNZ D 2011/06/11 13:54:47.8800 - 2011/06/11 15:06:04.9600IV CADA HNZ D 2011/08/09 09:07:22.1450 - 2011/08/09 10:47:38.9650IV CAPR HNZ D 2011/09/18 17:53:50.5750 - 2011/09/18 22:11:20.5150IV CONC HNZ D 2011/09/19 03:17:27.9600 - 2011/09/19 06:43:56.7400IV CPGN HNZ D 2011/08/09 09:37:01.6000 - 2011/08/09 10:47:37.0200IV CTL8 HNZ D 2011/09/19 04:57:16.1900 - 2011/09/19 06:43:56.1100IV EUCT HNZ D 2011/09/19 05:41:15.4900 - 2011/09/19 06:43:55.0300IV FRE8 HNZ D 2011/09/17 13:43:12.2950 - 2011/09/17 19:24:12.9450IV LEON HNZ D 2011/09/19 02:37:37.6700 - 2011/09/19 06:43:50.1400IV MANT HNZ D 2011/09/19 04:06:44.1400 - 2011/09/19 06:43:56.3000IV MDAR HNZ D 2011/08/09 09:02:00.8200 - 2011/08/09 10:47:36.5600IV MERA HNZ D 2011/09/19 05:01:43.2400 - 2011/09/19 06:43:56.1000IV MILA HNZ D 2011/09/19 05:33:15.0600 - 2011/09/19 06:43:55.5600IV MMUR HNZ D 2011/08/09 09:25:29.7950 - 2011/08/09 10:47:37.4650IV MPAG HNZ D 2011/08/09 09:39:49.5900 - 2011/08/09 10:47:36.9700IV OPPE HNZ D 2011/09/19 03:08:54.7100 - 2011/09/19 06:43:55.9100IV ORZI HNZ D 2011/09/19 02:54:44.8050 - 2011/09/19 06:43:50.1550IV PCRO HNZ D 2011/08/09 09:18:42.1300 - 2011/08/09 10:47:37.3400IV SAND HNZ D 2011/09/19 03:02:58.6500 - 2011/09/19 06:43:55.7500IV TREG HNZ D 2011/09/19 03:05:44.0500 - 2011/09/19 06:43:54.4500IV VOBA HNZ D 2011/09/19 02:43:14.6900 - 2011/09/19 06:43:51.4800IV VOLT HNZ D 2011/09/19 03:40:47.7600 - 2011/09/19 06:43:52.4300IV ZEN8 HNZ D 2011/09/19 03:04:49.2800 - 2011/09/19 06:43:55.2000IV ZOVE HNZ D 2011/09/16 13:12:54.5250 - 2011/09/16 19:17:28.5350

Page 15: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

per visualizzare le stazioni (comp Z) che si sono fermate nel settembre 2011:

sysop@RealTimeAcquisition:~$ slinktool -Q localhost | grep HNZ | grep "2011/09"

IV BAG8 HNZ D 2011/09/19 03:14:35.0200 - 2011/09/19 06:47:32.5000IV BORM HNZ D 2011/09/19 03:05:09.1000 - 2011/09/19 06:47:33.5400IV BOTT HNZ D 2011/09/19 03:03:26.7000 - 2011/09/19 06:47:30.2600IV CAPR HNZ D 2011/09/18 17:53:50.5750 - 2011/09/18 22:11:20.5150IV CONC HNZ D 2011/09/19 03:17:27.9600 - 2011/09/19 06:47:34.0400IV CTL8 HNZ D 2011/09/19 04:57:16.1900 - 2011/09/19 06:47:34.3900IV EUCT HNZ D 2011/09/19 05:41:15.4900 - 2011/09/19 06:47:31.0500IV FRE8 HNZ D 2011/09/17 13:43:12.2950 - 2011/09/17 19:24:12.9450IV LEON HNZ D 2011/09/19 02:37:37.6700 - 2011/09/19 06:47:25.8100IV MANT HNZ D 2011/09/19 04:06:44.1400 - 2011/09/19 06:47:33.1000IV MERA HNZ D 2011/09/19 05:01:43.2400 - 2011/09/19 06:47:30.3000IV MILA HNZ D 2011/09/19 05:40:25.2200 - 2011/09/19 06:47:33.4600IV OPPE HNZ D 2011/09/19 03:08:54.7100 - 2011/09/19 06:47:30.1500IV ORZI HNZ D 2011/09/19 02:54:44.8050 - 2011/09/19 06:47:22.4150IV SAND HNZ D 2011/09/19 03:02:58.6500 - 2011/09/19 06:47:22.0500IV TREG HNZ D 2011/09/19 03:05:44.0500 - 2011/09/19 06:47:33.8100IV VOBA HNZ D 2011/09/19 02:43:14.6900 - 2011/09/19 06:47:27.8000IV VOLT HNZ D 2011/09/19 03:40:47.7600 - 2011/09/19 06:47:28.0300IV ZEN8 HNZ D 2011/09/19 03:04:49.2800 - 2011/09/19 06:47:29.1600IV ZOVE HNZ D 2011/09/16 13:12:54.5250 - 2011/09/16 19:17:28.5350

per controllare le sole stazioni Reftek (che, contrariamente alle Gaia producono un file di LOG):

sysop@RealTimeAcquisition:~$ slinktool -Q localhost | grep LOG

IV CAPR LOG L 2011/09/18 19:00:00.0000 - 2011/09/19 07:42:50.0000IV FRE8 LOG L 2011/09/17 14:55:53.0000 - 2011/09/19 07:45:35.0000IV LEON LOG L 2011/09/19 03:48:25.0000 - 2011/09/19 07:55:16.0000IV ORZI LOG L 2011/09/19 03:50:40.0000 - 2011/09/19 07:45:48.0000IV SAND LOG L 2011/09/19 03:49:24.0000 - 2011/09/19 07:44:38.0000IV VOBA LOG L 2011/09/19 03:50:13.0000 - 2011/09/19 07:00:00.0000IV VOLT LOG L 2011/09/19 04:43:48.0000 - 2011/09/19 07:45:10.0000IV ZOVE LOG L 2011/09/16 13:00:00.0000 - 2011/09/19 07:11:33.0000

Page 16: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

Acquisizione (REFTEK) PC: cartmanuser: rais

$HOME / REFTEK /RTCC/ /RTPD/ /gestione_reftek.sh

cd REFTEK./gestione_reftek.sh

alle opzioni: 1) START 2) STOP 3) ….

rispondere con “1”. Vengono avviati RTCC per la comunicazione con la Reftek e RTPD per la trasmissione dei dati. La comunicazione tramite RTCC avviene sulla porta 4001, perciò con un browser all’indirizzo http://hostname:4001 ci si infterfaccia a RTPD e alle Reftek.

Page 17: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2
Page 18: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

Interventi (da remoto)

Page 19: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

1. sito DYNDNS verifica/cambio indirizzi numerici 2. router tramite web verifica livello segnale trasmissione3. router tramite “telnet” verifica “natting” e collegamento stazione4. REFTEK accesso diretto “clear RAM”

4.

Page 20: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

5. GAIA accesso diretto_ collegamento all’acquisitore Gaia2 _ collegamento all’acquisitore Gaia2(mediante server Istituzione ospitante) (mediante router UMTS) ssh root@[ indirizzo numerico ] ssh root@[ indirizzo alfanumerico]Password:

con “more /var/tn2-1/1 “si verificano lo stato dell’acquisizione, della batteria, del GPS e altro. Per quanto riguarda il GPS, e’ necessario che ci sia un n. > 0 di satelliti visibili e agganciati. Per l’acquisizione, si verifica che il numero di pacchetti acquisiti (packetsCounter) cresca.

Esempio:..... BusyBox v1.00 (2005.09.24-15:46+0000) Built-in shell (ash)Enter 'help' for a list of built-in commands.

/mnt/mtdb/root # more /var/tn-2/1visibleSatellites=11trackedSatellites=4packetsCounter=49084serialLink=1powerSupply=11710

/mnt/mtdb/root # more /var/tn-2/1visibleSatellites=11trackedSatellites=4packetsCounter=49117serialLink=1powerSupply=11714

Page 21: Firewall PC: cartman user: rais 193.206.88.38 192.168.2.38 192.168.100.118 LAN INGV-MI Gaia2 (MILN) Wi-fi 192.168.102.20 Reftek 192.168.1.2 Gaia2 192.168.1.2

Nel caso in cui il packetsCounter sia costante, per ripristinare l’acquisizione si puo’ fare un reboot via software dell’acquisitore (che corrisponde al reboot del sistema operativo della TN2), mediante gli script tn2_stop e tn2_bootche stanno nella folder /applicativo/

Esempio:

..... /mnt/mtdb/root # cd /applicativo/mnt/mtdb/applicativo # lschange_name_seed i-setup newstart.sh-old tn2_startcommands master2bn-seed-com1 setup tn2_stopconfig.staz master2bn-seed-com1_old splitter-1.3delete.sh newstart-ottobre-2009.sh test.shetiny_id newstart.sh tn2_boot

/mnt/mtdb/applicativo # ./tn2_stop –s/mnt/mtdb/applicativo # ./tn2_boot

L’ultimo comando da’ una serie di messaggi e deve terminare con [data is available] nel caso in cui l’operazione sia andata a buon fine.