System Configuration for DSS Agent on Linux - DSS 6 | Data Source Solutions Documentation
Documentation: System Configuration for DSS Agent on Linux - DSS 6 | Data Source Solutions Documentation
System Configuration for DSS Agent on Linux
This section describes the system configuration required for DSS Agent installed on Linux. The steps mentioned on this page are normally performed during installing DSS Agent on Linux (step - Configure the system for DSS Agent).
There are different ways for configuring the DSS Agent to listen on a TCP/IP port:
- Linux systemd
Standard on some Linux distributions. Requires root privilege. - Linux xinetd
Used on other Linux distributions. Requires root privilege. - DSS Agent Listener
Our own daemon dssagentlistener. Does not require root privilege.
Linux systemd
The following steps should be performed as user root to configure systemd:
-
Create the systemd unit files dss.socket and dss@.service in /etc/systemd/system directory.
-
dss.socket should contain the following:
[Unit] Description=DSS service socket [Socket] ListenStream=4343 Accept=true TriggerLimitIntervalSec=1s TriggerLimitBurst=10000 MaxConnectionsPerSource=100 MaxConnections=500 KeepAlive=true [Install] WantedBy=sockets.target- TriggerLimitIntervalSec is supported since systemd version 230. - TriggerLimitBurst is supported since systemd version 230. - MaxConnectionsPerSource is supported since systemd version 232.
<div class="callout callout-important">In a IPv4/IPv6 mixed system, if you want to force systemd to use IPv4, set ListenStream=0.0.0.0:4343.
-
2. **dss\@.service** should contain the following:
```plaintext
[Unit]
Description=DSS service
[Service]
Environment="DSS_HOME=/home/datasourcesolutions/dss_home"
Environment="DSS_CONFIG=/home/datasourcesolutions/dss_config"
Environment="DSS_TMP=/home/datasourcesolutions/dss_tmp"
User=datasourcesolutions
ExecStart=/home/datasourcesolutions/dss_home/bin/dssagent
StandardInput=socket
KillMode=process
TimeoutStartSec=infinity
[Install]
WantedBy=multi-user.target
```
<div class="callout callout-important">
User must be set to the user under which the DSS Agent is installed/running.