Starting, restarting, and stopping OpsCenter

Commands for each type of installation.

Packaged installations include startup scripts for running OpsCenter as a service. The available service opscenterd options are:

service opscenterd start|stop|status|restart|force-reload

Procedure

The following list shows start, stop, and restart instructions for the supported platforms:

  • To start DataStax OpsCenter:
    • Packaged installs: sudo service opscenterd start
    • Tarball installs: bin/opscenter (Use -f to start in the foreground.)
    • Windows installs: Start the OpsCenter Service from the Control Panel.
      Note: By default, DataStax Enterprise services on Windows start automatically.
  • To stop DataStax OpsCenter:
    • Packaged installs: sudo service opscenterd stop
    • Tarball installs: Find the OpsCenter Java process ID (PID) and kill the process using its PID number:
      ps -ef | grep opscenter
      sudo kill <pid>
    • Windows installs: Stop the OpsCenter Service from the Control Panel.
  • To restart DataStax OpsCenter:
    • Packaged installs:

      sudo service opscenterd restart

    • Tarball installs:
      Find the OpsCenter process ID (<pid>), kill the process using its PID number, and then start the OpsCenter:
      ps -ef | grep opscenter
      sudo kill <pid>

      bin/opscenter (Use -f to start in the foreground.)

    • Windows installs:

      Restart the OpsCenter Service from the Control Panel.