After upgrading to or installing DX Netops Performance Management 22.2.2-22.2.6 on SUSE Linux,
if using a non-root user for the Data Aggregator (DA), Data Collector (DC) processes:
1) Starting the dadaemon using systemctl/service starts the processes but when again running systemctl status dadaemon
the service is shown as down yet the dadaemon karaf process is still running.
2) Starting the dcmd service using systemctl start dcmd starts the processes but they are subsequently shut down on their own.
Release : 22.2.2-22.2.6
Defect: DE557968
The fix for this issue is currently targeted for DX Netops Performance Management 22.2.7.
Note that this is subject to change and there are no release dates that can be provided at this time.
Workaround:
1) Stop the daemon using the dadaemon script directly on a single Data Aggregator:
/opt/IMDataAggregator/scripts/dadaemon stop sysd
2) Back up then edit the /etc/systemd/system/dadaemon.service file and change
[Service]
# Use root so can start AMQ if not running, karaf runs as <yournonrootuser>
User=root
Type=forking
To:
[Service]
# Use root so can start AMQ if not running, karaf runs as <yournonrootuser>
User=root
#Type=forking
Type=oneshot
RemainAfterExit=yes
3) Reload the systemd scripts:
systemctl daemon-reload
4) Start the dadaemon using the startup script:
systemctl start dadaemon
5) Verify the service shows as running:
systemctl status dadaemon
ps -ef | grep karaf
===============================
For the DC:
1) If the DC is started, stop using the dcmd command:
/opt/IMDataCollector/scripts/dcmd stop sysd
2) Back up then edit the /etc/systemd/system/dcmd.service file and change
[Service]
# Use root so can start AMQ/ICMPD if not running, karaf runs as <yournontrootuser>
User=root
Type=forking
To:
[Service]
# Use root so can start AMQ/ICMPD if not running, karaf runs as <yournonrotuser>
User=root
#Type=forking
Type=oneshot
RemainAfterExit=yes
3) Reload the systemd scripts:
systemctl daemon-reload
4) Start the dcmd using the startup script:
systemctl start dcmd
5) Verify the service shows as running:
systemctl status dcmd
ps -ef | grep karaf
===============================
This should allow for systemctl control of the dadaemon and dcmd processes.