Starting and restarting DataStax agents

Commands for starting and restarting DataStax agents for each type of installation.

Procedure

  • To start the DataStax agent:
    • Packaged installs: The DataStax agent starts automatically.
    • Tarball installs: $ install_location bin/datastax-agent (Use -f to start in the foreground.)
    • Windows installs: Start the DataStax Agent Service from the Control Panel.
  • To restart the DataStax agent:
    • Packaged installs: $ sudo service datastax-agent restart
    • Tarball installs: Find the DataStax agent Java process ID (PID), kill the process using its PID number, and start the DataStax agent:
      $ ps -ef | grep datastax-agent
      $ sudo kill <pid>

      $ bin/datastax-agent (Use -f to start in the foreground.)

    • Windows installs: Restart the DataStax Agent Service from the Control Panel.