Manually deploy DataStax Agents from RPM

It is preferable to install DataStax Agents automatically. However, when automatic DataStax Agent installation is unsuccessful, manually install them.

This procedure uses a Yum package to manually install DataStax Agents on Linux nodes running DataStax Enterprise clusters. Use this procedure if your DataStax Enterprise (DSE) instance was also installed with a Yum 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 DataStax Enterprise cluster is up and running.

  • OpsCenter is installed and configured.

  • JMX connectivity is enabled on each node in the cluster.

opscenterd.conf

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

address.yaml

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

End User License Agreement (EULA). By downloading this DataStax product, you agree to the terms of the EULA.

In a terminal:

  1. Add the DataStax Yum repository in the /etc/yum.repos.d/datastax.repo file.

    [opscenter]
    name = DataStax Repository
    baseurl = https://rpm.datastax.com/enterprise
    enabled = 1
    gpgcheck = 0

    Set gpgcheck=1 to perform a GPG signature check.

  2. If you have enabled signature verification (gpgcheck=1), import the repository key:

    sudo rpm --import http://rpm.datastax.com/rpm/repo_key
  3. Install the DataStax agent:

    sudo yum install datastax-agent

    If you are using an earlier version of OpsCenter, add the supported version to the command:

    sudo yum install datastax-agent-6.8.version-1
  4. 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
  5. If SSL communication is enabled in opscenterd.conf, use SSL in address.yaml:

    echo "use_ssl: 1" | sudo tee -a /var/lib/datastax-agent/conf/address.yaml
  6. Start the DataStax agent:

    sudo service datastax-agent start

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com