Starting, stopping, and restarting OpsCenter

About this task

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
  • Tarball installs

    Starting opscenterd:

    Use the -f option to start the agent in the foreground.

    install_location/bin/opscenter

    Stopping and restarting opscenterd:

    1. To stop OpsCenter, find the opscenterd process ID (pid) and kill the process using its PID number:

      ps -ef | grep opscenter
      sudo kill pid
    2. To start OpsCenter:

      Use the -f option to start the agent in the foreground.

      install_location/bin/opscenter