This topic describes the commands for starting, stopping or restarting individual Moogsoft AIOps processes.
To configure process startup when Moogsoft AIOps fails or restarts see Configure Services to Restart.
Integrations (LAMs), Moogfarmd, and Tomcat depend on the system processes: MySQL RabbitMQ, Nginx, and Elasticsearch. So when starting Moogsoft AIOps processes:
- Start or verify the following are started:
- Start or restart integrations (LAMs), Moogfarmd, or Tomcat.
Similarly, if you plan to stop any one of MySQL, RabbitMQ, Nginx, or Elasticsearch, stop integrations (LAMs), Moogfarmd, and Tomcat first.
Init Scripts for RPM Installs
If you performed an RPM installation as root, use the service init script to start and stop Moogsoft AIOps processes:
The service names are as follows:
- For LAMs , refer to the individual LAM references for the service names.
For more information, see the documentation on managing system services for your operating system.
Process Control for Non-root Installations
For customers who follow the Single Host Installation for Non-root Users procedure, Moogsoft AIOps includes a process control utility to let you:
- Start a process
- Stop a process
- Restart a process
- Check the status, running or stopped, of a process.
The process control utility resides at
When you install Moogsoft AIOps as a user other than root, you choose a user to run the installation and initialize the system. Use the same user credentials when controlling Moogsoft AIOps components to ensure that you have the proper permissions and access .
Process Control Utility Reference
The Process Control utility uses the following syntax:
The arguments for the utility are as follows:
|-||Display the |
|DEBUG | INFO | WARN||Log level controlling the amount of information that process control logs. Defaults to WARN. This flag only works for Moogsoft AIOps processes.|
The name of the process to control. You can specify one of the core processes:
Alternatively specify an integration (LAM). Run
See Implementer Guide for a brief description of the packages.
|instance name||The name of the process instance if there is more than one running on the system.|
|-||Start a stopped process.|
|-||Stop a running process.|
|-||Display the status of the process: running or stopped.|
|-||Restart a running process.|