SeedLink client for data stream archiving
Host of the Seedlink server to connect to. If the acquisition
is running on one system nothing needs to be changed.
The port of the Seedlink server to connect to. If the acquisition
is running on one system this port must match the configured
local Seedlink port.
Path to waveform archive where all data is stored. Relative paths
(as the default) are treated relative to the installation
directory ($SEISCOMP_ROOT).
Number of records (512 byte units) to buffer before flushing to
disk.
The network reconnect delay (in seconds) for the connection
to the SeedLink server. If the connection breaks for any
reason this will govern how soon a reconnection should be
attempted. The default value is 30 seconds.
The network timeout (in seconds) for the connection to the
SeedLink server. If no data [or keep alive packets?] are received
in this time range the connection is closed and re-established
(after the reconnect delay has expired). The default value is
600 seconds. A value of 0 disables the timeout.
Timeout for closing idle data stream files in seconds. The idle
time of the data streams is only checked when some packets has
arrived. If no packets arrived no idle stream files will be
closed. There is no reason to change this parameter except for
the unusual cases where the process is running against an open
file number limit. Default is 300 seconds.
Interval (in seconds) at which keepalive (heartbeat) packets
are sent to the server. Keepalive packets are only sent if
nothing is received within the interval. This requires a
Seedlink version >= 3.
Path to cerificate store where all certificates and CRLs are stored. Relative
paths(as the default) are treated relative to the installation
directory ($SEISCOMP_ROOT).
If the signature check is enabled slarchive loads all files at start. The store
uses the OpenSSl store format. From the offical OpenSSL documentation:
"The directory should contain one certificate or CRL per file in PEM format,
with a file name of the form hash.N for a certificate, or hash.rN for a CRL.
The .N or .rN suffix is a sequence number that starts at zero, and is incremented
consecutively for each certificate or CRL with the same hash value. Gaps in the
sequence numbers are not supported, it is assumed that there are no more objects
with the same hash beyond the first missing number in the sequence.The .N or .rN suffix
is a sequence number that starts at zero, and is incremented consecutively for
each certificate or CRL with the same hash value. Gaps in the sequence numbers
are not supported, it is assumed that there are no more objects with the same
hash beyond the first missing number in the sequence."
The hash value can be obtained as follows:
openssl x509 -hash -noout -in <file>
Signatures are expected to be carried in blockette 2000
as opaque data. Modes:
ignore : Signatures will be ignored and no further actions
will be taken.
warning: Signatures will be checked and all received records
which do not carry a valid signature or no signature
at all will be logged with at warning level.
skip : All received records without a valid signature
will be ignored and will not be processed.
slarchive [OPTION]... [host][:][port]
Address ([host][:][port]) is a required argument. It specifies the address
of the SeedLink server in host:port format. Either the host, port or both
can be omitted. If host is omitted then localhost is assumed,
i.e. ':18000' implies 'localhost:18000'. If the port is omitted
then 18000 is assumed, i.e. 'localhost' implies 'localhost:18000'.
If only ':' is specified 'localhost:18000' is assumed.
Configures what streams of a station should be archived and for
how long.
List of stream selectors. If left empty all available
streams will be requested. See slarchive manpage for
more information.
Number of days the data is kept in the archive. This
requires purge_datafile to be run as cronjob.