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

  • Installer-Services or package installations
    • The available service opscenterd options are:
      $ sudo service opscenterd start|stop|status|restart|force-reload
    • Packaged installations include startup scripts for running OpsCenter as a service:

      /etc/init.d

  • Installer-No Services or tarball installations
    Starting opscenterd:
    $ install_location/bin/opscenter ##Use -f to start in the foreground.)
    Stopping and restarting opscenterd:
    1. To stop OpsCenter, find the opscenterd process ID (pid), kill the process using its PID number:
      $ ps -ef | grep opscenter
      $ sudo kill pid
    2. To start OpsCenter:
      $ install_location/bin/opscenter ##Use -f to start in the foreground.)

  • Note: Be sure to start OpsCenter with elevated privileges.
    • Net command:
      C:\> net start|stop DataStax_OpsCenter_Community
    • Services menu:
      1. From Start, select Control Panel > System and Security > Administrative Tools.
      2. Select Services.
      3. Select DataStax OpsCenter Community and right-click to start/stop the service.