Starting, stopping, and restarting OpsCenter
Commands for starting, stopping, and restarting OpsCenter for each type of installation.
Commands for starting, stopping, and restarting OpsCenter for each type of installation.
Procedure
-
Package installs
- The available
service opscenterd
options are:sudo service opscenterd start|stop|status|restart|force-reload
- Packaged installations include startup scripts in the /etc/init.d directory
for running OpsCenter as a service.
For example, the following script starts OpsCenter on the node where the command runs.
sudo /etc/init.d/opscenterd start
- The available
-
Tarball installs
Starting opscenterd:
Use the
-f
option to start the agent in the foreground.install_location/bin/opscenter
Stopping and restarting opscenterd:- To stop OpsCenter, find the opscenterd process ID
(pid) and kill the process using its PID
number:
ps -ef | grep opscenter
sudo kill pid
- To start OpsCenter:
Use the
-f
option to start the agent in the foreground.install_location/bin/opscenter
- To stop OpsCenter, find the opscenterd process ID
(pid) and kill the process using its PID
number: