I'm really enjoying running DPA on Linux, but the main thing I was missing was a 'service' that starts and stops the DPA service.
For this instance, I'm running DPA 2021.1.889 on Rocky Linux 8.4. Rocky behaves nearly identically to CentOS (which is very similar to Red Hat).
I created a new /etc/systemd/system/dpa.service
file with the following contents:
[Unit] Description=Database Performance Analyzer (DPA) After=network.target StartLimitIntervalSec=0 [Service] Type=simple Restart=always RestartSec=1 User=root ExecStart=sh /var/opt/solarwinds/dpa_2021_1_889/startup.sh ExecStop=sh /var/opt/solarwinds/dpa_2021_1_889/shutdown.sh [Install] WantedBy=mulit-user.target
This 'service' file should allow me to use systemctl start|enable|status|stop dpa
like a 'regular' Linux service.
However, this doesn't really work for me. I send the calls and the service never starts. If I execute the script "traditionally" it starts fine.
I'm missing something here and it's outside my knowledge. I'm asking the smarter Linux people here for help.
Thanks THWCKsters.