OpsCenter 4.0 User Guide

Manually deploying agents - deb

You can install agents on Linux nodes using APT packages.

Prerequisites

  • Root or sudo access to the machines where the agents will be installed.
  • Your Cassandra or DataStax Enterprise cluster is up and running.
  • OpsCenter is installed and configured.
  • JMX connectivity is enabled on each node in the cluster.

Procedure

  1. Add the DataStax repository to the /etc/apt/sources.list.d/datastax.community.list file (if you have already not done so).
    $ echo "deb http://debian.datastax.com/community stable main" | sudo tee -a /etc/apt/sources.list.d/datastax.community.list
  2. Add the DataStax repository key to your Aptitude trusted keys.
    $ curl -L https://debian.datastax.com/debian/repo_key | sudo apt-key add -
    Note: If you have trouble adding the key, use http instead of https.
  3. Install the DataStax agent.
    $ sudo apt-get update
    $ sudo apt-get install datastax-agent
  4. In address.yaml set stomp_interface to the IP address that OpsCenter is using. (You may have to create the file.)
    $ echo "stomp_interface: <reachable_opscenterd_ip>" | sudo tee -a /var/lib/datastax-agent/conf/address.yaml
  5. Start the DataStax agent.
    $ sudo service datastax-agent start
Show/hide