OpsCenter start, stop, and restart commands
The following procedures are used to start stop, and restart OpsCenter for each type of installation.
- Package installations
-
The available
service opscenterdoptions are as follows:sudo service opscenterd start|stop|status|restart|force-reloadPackaged installations include startup scripts in the
/etc/init.ddirectory to run OpsCenter as a service.For example, the following script starts OpsCenter on the node where the command runs.
sudo /etc/init.d/opscenterd start - Tarball installations
-
Start
opscenterd:Use the
-foption to start the agent in the foreground.INSTALL_DIRECTORY/bin/opscenterTo stop
opscenterd, find theopscenterdprocess ID (pid) and terminate the process using its PID number:ps -ef | grep opscentersudo kill pid