Starting and restarting DataStax agents
Commands for starting and restarting DataStax agents for each type of installation.
Procedure
-
To start the DataStax agent:
- Package installations:
$ sudo service datastax-agent start
Note: The DataStax agent starts automatically. - Tarball
installations:
$ install_location/bin/datastax-agent
##Use -f to start in the foreground.
- Package installations:
-
To restart the DataStax agent:
- Package installations:
$ sudo service datastax-agent restart
- 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:
- Package installations: