The configuration is split into two parts:
- The base configuration which is static for the whole facility (conf/base_receiver.conf)
- The detector/application specific configuration (conf/datareceiver.conf)
By default the base config contains information like log file size, the ldap uri and hidra internal static settings
The specific config settings are added on top of the base ones, meaning that if a config parameter set it set in both, the specific config overwrites the base config. Same is true for config parameters on the command line.
- conf/datareceiver.conf is used as default configuration file
→ either modify this file or create a new config file and use --config_file <config_file> when starting the datareceiver
- Set up logging:
- Path where logfile will be created.
- Filename used for logging.
- File size before rollover in B (linux only).
- Set up general settings:
- If systemd is used: user as which the service should be running.
- Name with which the service should be running.
- LDAP node and port needed to check whitelist.
Set up data receiver:
List of hosts allowed to receive data from
- empty list: no data is received
- None: all incoming data is received
- Where incoming data will be stored to
- Local IP to connect dataStream to
- TCP port of data pipe
Time (in s) to wait for the next netgroup check if the last check retuned an empty list (e.g. LDAP timeout). Has to be bigger than 2.
Time (in s) to wait till the next netgroup check to look for netgroup changes. Has to be bigger than 2.
- Subdirectories which should not be created when data is stored.
- Log files should be written to /var/log/hidra
- Data sent from all hosts is accepted
- Received data is stored to /storage_system/dir1
- The receiver listens to IP of myreceiver.desy.de on port 50100