Upgrading DataStax Agents

Upgrade the DataStax Agents on each node in the managed clusters after restarting the upgraded OpsCenter daemon.

Upgrade the DataStax Agents on each node in the managed clusters after restarting the upgraded OpsCenter daemon.

For more information, see Installing DataStax Agents.

Upgrading DataStax Agents automatically from the OpsCenter interface

If DataStax Agents require upgrading, use the OpsCenter interface to automatically upgrade them.

Important: All nodes in the cluster must use the same SSH keys when automatically upgrading the DataStax Agents. If nodes use different SSH keys, either normalize the SSH keys across all nodes, or manually install the DataStax Agents.

In OpsCenter versions 6.1 and later, the OpsCenter and agent compatibility awareness feature notifies you of any potential features that might not operate on older agent versions.

  1. In the OpsCenter interface, click cluster_name > Nodes, and then click the Agents tab.

    A message displays indicating the number of DataStax Agents running an earlier version that might have incompatibilities with OpsCenter 6.7.5.

  2. In the DataStax Agents Status View of the OpsCenter interface, click Upgrade all agents.

    The Set Up Agents window appears.

  3. Choose whether to Install or start agents automatically or Install agents manually.

Upgrading DataStax Agents manually from tarballs

If upgrading the DataStax Agents manually with tarballs:
  1. Copy the new agent.tar.gz file to all nodes in the cluster:
    scp agent.tar.gz node_name
  2. Extract the tarball:
    tar -xvf agent.tar.gz
  3. Copy the following files in the tarball from the old DataStax Agent tarball directories to the new ones:
    scp -r old_tarball_directory/conf/* new_tarball_directory/conf/*
    scp -r old_tarball_directory/ssl/* new_tarball_directory/ssl/*