Manually deploying agents - Packaged installations

Deploy agents without an SSH connection between the agents and the OpsCenter machine,
or to install the agents as part of your node deployment process.

If you installed OpsCenter on a cluster node using a package, you can deploy agents
on any supported CentOS, Debian, OEL, RHEL, or Ubuntu nodes. After installation, the
agent runs as a service that starts when the machine boots up and restarts
automatically.

Prerequisites

Root or sudo access to the machines where the agents will be
installed.

Your Cassandra or DataStax Enterprise cluster is up and running.

OpsCenter is installed and configured.

JMX connectivity is enabled on each node in the cluster.

If you install from the binary tarball described below, you must install the
SYSSTAT utility (needed for the collection of I/O metrics).

Procedure

On the OpsCenter machine, go to the opscenter
directory:

$ cd /usr/share/opscenter

Copy the agent software to the home directory in your cluster node. For
example:

$ scp agent.tar.gz <user>@<node_IP>:~/

Log in to the node, go to the home directory, and unpack it. For example:

Note: Generally the agent can detect the listener
IP address for the node, which is the IP address displayed for node
by running nodetool ring -h localhost. If needed,
add <node_listen_address> to the above
command.

If you do not have sudo access:

If needed, get the IP address of the OpsCenter host. On the node
containing the OpsCenter:

$ hostname -i

On the node where you are installing the agent, go to the agent
directory:

$ cd agent

Run the setup command and install the agent:

$ bin/setup <opscenter_host>

Note: Generally the agent can detect the listener
IP address for the node, which is the IP address displayed for node
by running nodetool ring -h localhost. If needed,
add <node_listen_address> to the above
command.

Start the OpsCenter agent:

$
<install_location> bin/opscenter-agent (Use
-f to start in the foreground.)