Install agents on nodes running Cassandra or DataStax Enterprise
clusters.
Prerequisites
- 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.
- SYSSTAT Utilities (needed for the collection of I/O metrics).
Procedure
-
Download the DataStax agent tarball, expand and unarchive it.
$ curl -L http://downloads.datastax.com/community/datastax-agent-<version-number>.tar.gz | tar xz
-
Change into the agent directory.
$ cd datastax-agent-<version-number>
-
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>" >> ./conf/address.yaml
-
If SSL communication is enabled in
<install_location>/conf/opscenterd.conf,
use SSL in address.yaml.
$ echo "use_ssl: 1" >> ./conf/address.yaml
-
Start the agent.
Use the -f flag to run in the foreground.