DataStax OpsCenter Documentation

Starting and stopping OpsCenter and its agents

Packaged installations include startup scripts for running OpsCenter as a service. These options can be used with the service opscenterd command:

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

By default, DataStax Enterprise services on Windows start automatically.

Starting OpsCenter

Tarball installation

To start OpsCenter, enter one of the following commands from the <install_location>:

  • bin/opscenter (in the background - default)
  • bin/opscenter -f (in the foreground)

Packaged installation

To start OpsCenter, enter the following command:

sudo service opscenterd start

Windows

To start OpsCenter, start the DataStax OpsCenter Service in the Control Panel.

Restarting OpsCenter

Tarball installation

To restart OpsCenter in a tarball installation:

Use the stop and start procedures to stop and start OpsCenter.

Packaged installation

To restart a packaged installation, enter this command:

sudo service opscenterd restart

Windows

To restart OpsCenter, restart the DataStax OpsCenter Service in the Control Panel.

Stopping OpsCenter

Tarball installation

To stop OpsCenter, find the OpsCenter Java process ID (PID) and kill the process using its PID number. For example:

ps -ef | grep opscenter
sudo kill <pid>

Packaged installation

To stop OpsCenter, enter the following command:

sudo service opscenterd stop

Windows

To stop OpsCenter, stop the DataStax OpsCenter Service in the Control Panel.

Starting the OpsCenter agent

Tarball installation

To start the OpsCenter Agent, enter one of the following commands from the <install_location>.

bin/opscenter-agent (in the background - default)

bin/opscenter-agent -f (in the foreground)

Packaged installation

The OpsCenter Agent starts automatically when you start OpsCenter.

Windows

Start the DataStax OpsCenter Agent Service in the Control Panel.

Restarting the OpsCenter Agent

Packaged installation

If you installed OpsCenter from a package use:

sudo service opscenter-agent restart

Tarball installation

If you installed DataStax OpsCenter using the binary tarball or if you installed the agent using the agent tar installer (agent.tar.gz):

  1. Stop the OpsCenter agent.
ps -ef | grep opscenter-agent
kill <pid>
  1. Restart the OpsCenter agent from the <install_location>.

bin/opscenter-agent (in the background - default)

bin/opscenter-agent -f (in the foreground)

Windows

Restart the DataStax OpsCenter Agent Service in the Control Panel.