Manually deploying agents - RPM 

Installs agents on Linux nodes using Yum packages.

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

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

Prerequisites

  • Root or sudo access to the machines where the agents will be installed.
  • The DataStax Enterprise cluster is up and running.
  • OpsCenter is installed and configured.
  • JMX connectivity is enabled on each node in the cluster.

Procedure

In a terminal for both 32- and 64-bit systems:

  1. Add the DataStax Yum repository in the /etc/yum.repos.d/datastax.repo file.
    [opscenter] 
    name = DataStax Repository
    baseurl = https://dsa_email_address:password@rpm.datastax.com/enterprise
    enabled = 1
    gpgcheck = 0

    where dsa_email_address and password are your DataStax Academy account credentials.

  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.
    # yum install datastax-agent
  4. In address.yaml, 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