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.
Tarball installation
To start OpsCenter, enter one of the following commands from the <install_location>:
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.
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.
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.
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.
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):
ps -ef | grep opscenter-agent kill <pid>
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.