Stopping, starting, and restarting DataStax Agents
About this task
Commands for stopping, starting, and restarting DataStax Agents for each type of installation.
Procedure
-
Stop the DataStax Agent:
-
Package installations:
sudo service datastax-agent stop
-
Tarball installations:
To stop the DataStax Agent, find the DataStax Agent Java process ID (PID) and kill the process using its PID number.
ps -ef | grep datastax-agent
sudo kill pid
-
-
Start the DataStax Agent:
-
Package installations:
sudo service datastax-agent start
The DataStax Agent starts automatically.
-
Tarball installations:
Use the
-f
option to start the Agent in the foreground.install_location/bin/datastax-agent
-
-
Restart the DataStax Agent:
-
Package installations:
sudo service datastax-agent restart
-
Tarball installations:
-
To stop the DataStax Agent, find the DataStax Agent Java process ID (PID) and kill the process using its PID number:
ps -ef | grep datastax-agent
sudo kill pid
-
Start the Agent:
Use the
-f
option to start the Agent in the foreground.install_location/bin/datastax-agent
-
-