Manually deploy DataStax Agents from Debian
It is preferable to install DataStax Agents automatically. However, when automatic DataStax Agent installation is unsuccessful, manually install them.
This procedure uses APT packages to manually install DataStax Agents on Linux nodes running DataStax Enterprise (DSE) clusters. Use this procedure if your DSE instance was also installed with a Debian package. Otherwise, choose one of the following procedure types that does match:
Prerequisites
-
Root or sudo access to the machines where the DataStax Agents are installed.
-
The DSE cluster is up and running.
-
OpsCenter is installed and configured.
-
JMX connectivity is enabled on each node in the cluster.
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
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
Procedure
In a terminal:
-
Add the DataStax repository to the
/etc/apt/sources.list.d/datastax.sources.listfile (if not already done):echo "deb https://debian.datastax.com/enterprise \ stable main" | \ sudo tee -a /etc/apt/sources.list.d/datastax.sources.list -
Add the DataStax repository key to your Aptitude trusted keys:
curl -L https://debian.datastax.com/debian/repo_key | sudo apt-key add - -
Install the DataStax agent:
sudo apt-get updatesudo apt-get install datastax-agentsudo apt-get install datastax-agent=6.8.VERSIONReplace
VERSIONwith the version you want to install.Example:
sudo apt-get install datastax-agent=6.8.43 -
In DataStax Agent configuration, set stomp_interface to the IP address that OpsCenter is using. You might have to create the address.yaml file.
echo "stomp_interface: reachable_opscenterd_ip" | sudo tee -a /var/lib/datastax-agent/conf/address.yaml -
If SSL communication is enabled in opscenterd.conf, use SSL in the DataStax Agent configuration:
echo "use_ssl: 1" | sudo tee -a /var/lib/datastax-agent/conf/address.yaml -
Start the DataStax agent:
sudo service datastax-agent start