Starting and restarting DataStax agents
Commands for starting and restarting DataStax agents for each type of installation.
Procedure
-
To start the DataStax agent:
- Installer-Services or package installations
$ sudo service datastax-agent start
Note: The DataStax agent starts automatically. - Installer-No Services or tarball installations
$ install_location/bin/datastax-agent
##Use -f to start in the foreground. - Net
command:
C:\> net start DataStax_OpsCenter_Agent
- Services menu:
- From Start, select Control Panel > System and Security > Administrative Tools.
- Select Services.
- Select DataStax OpsCenter Agent and right-click to stop the service.
- Net
command:
- Installer-Services or package installations
-
To restart the DataStax agent:
- Installer-Services or package installations
$ sudo service datastax-agent restart
- Installer-No Services or tarball installations
- Find the DataStax agent Java process ID (PID), kill the process
using its PID
number:
$ ps -ef | grep datastax-agent $ sudo kill <pid>
- Start the
agent:
$ install_location/bin/datastax-agent
##Use -f to start in the foreground.
- Find the DataStax agent Java process ID (PID), kill the process
using its PID
number:
-
- Net
command:
C:\> net start|stop DataStax_OpsCenter_Agent
- Services menu:
- From Start, select Control Panel > System and Security > Administrative Tools.
- Select Services.
- Select DataStax OpsCenter Agent and right-click to start/stop the service.
- Net
command:
- Installer-Services or package installations