Manually deploy DataStax Agents from a tarball
It is preferable to install DataStax Agents automatically. However, when automatic DataStax Agent installation is unsuccessful, manually install them.
This procedure uses a tarball to manually install DataStax Agents on nodes running DataStax Enterprise clusters. Use this procedure if your DataStax Enterprise (DSE) instance was also installed with a tarball. Otherwise, choose one of the following procedure types that does match:
Prerequisites
-
The 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).
The location of the address.yaml
file depends on the type of installation:
-
Package installations:
/var/lib/datastax-agent/conf/address.yaml
-
Tarball installations:
install_location/conf/address.yaml
The location of the opscenterd.conf
file depends on the type of installation:
-
Package installations:
/etc/opscenter/opscenterd.conf
-
Tarball installations:
install_location/conf/opscenterd.conf
Procedure
End User License Agreement (EULA). By downloading this DataStax product, you agree to the terms of the EULA. |
In a terminal:
-
Download the DataStax agent tarball and extract it:
curl -L http://downloads.datastax.com/enterprise/datastax-agent-version_number.tar.gz | tar xz
-
Change into the agent directory:
cd datastax-agent-version_number
-
In
address.yaml
setstomp_interface
to the IP address that OpsCenter is using. You might have to create the address.yaml file.echo "stomp_interface: reachable_opscenterd_ip" >> ./conf/address.yaml
-
If SSL communication is enabled in
opscenterd.conf
, use SSL in address.yaml:echo "use_ssl: 1" >> ./conf/address.yaml
-
Start the agent:
bin/datastax-agent
Use the
-f
flag to run in the foreground.