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.
  • To restart the DataStax agent:
    • Package installations:
      $ sudo service datastax-agent restart
    • Tarball installations:
      1. Find the DataStax agent Java process ID (PID), kill the process using its PID number:
        $ ps -ef | grep datastax-agent
        $ sudo kill <pid>
      2. Start the agent:
        $ install_location/bin/datastax-agent ##Use -f to start in the foreground.