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
-
An IBMid.
-
If you are an existing IBM customer with an IBMid, you can continue to use your established account.
-
If you don’t have an IBMid, you can create one.
-
If your company uses Enterprise Federation (EF) for authentication with corporate credentials, see the EF documentation.
-
-
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
-
Download the OpsCenter DEB packages from Fix Central:
-
Sign in to Fix Central.
-
In the Product selector field, enter
IBM DataStax OpsCenter. -
Select the version you want to install from the Release list, and then click Continue.
-
On the Identify fixes page, click Continue to use the default Browse for fixes option.
-
Select the fix pack (OpsCenter version) you want to install, and then click Continue.
-
Review the terms and conditions, and then click I agree.
-
-
Click the OpsCenter DEB package link to download the file, for example,
opscenter-6.8.47-deb.zip. -
Extract the DEB files from the zip file:
unzip opscenter-6.8.47-deb.zipYou can use the package signing public key (
deb-signing.pub.key) in the file to set up and verify the DEB packages. -
Set up a local APT repository to host the downloaded OpsCenter Debian package.
For more information, see Setting up a Debian repository.
-
Add a DataStax repository file called
/etc/apt/sources.list.d/datastax.sources.list:echo "deb [trusted=yes] file:REPOSITORY_DIRECTORY_PATH ./" | sudo tee -a /etc/apt/sources.list.d/datastax.sources.listReplace
REPOSITORY_DIRECTORY_PATHwith the path to the repository directory.The
[trusted=yes]option allows APT to use the repository without GPG key verification. -
Install the DataStax agent:
sudo apt-get updatesudo apt-get install datastax-agentIf you are using an earlier version of OpsCenter, add the supported version to the command:
sudo apt-get install datastax-agent=6.8.43 -
In DataStax Agent configuration, set
stomp_interfaceto the IP address that OpsCenter is using. You might have to create theaddress.yamlfile.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