Configure DataStax agents for multi-instance nodes
Configure DataStax Agents for DSE Multi-Instance (dense) nodes.
Prerequisites
Multi-Instance requirements for DataStax Agents:
-
DSE Multi-Instance requires one agent process running for each DSE instance on a machine.
-
DataStax Agents require a manual tarball agent installation for multi-instance.
-
DataStax Agents require manual configuration in
address.yamlas outlined in this procedure for Multi-Instance.
Procedure
-
Edit the
address.yamlfile. The location of this file depends on the type of installation:-
Package installations:
/var/lib/datastax-agent/conf/address.yaml -
Tarball installations:
INSTALL_DIRECTORY/conf/address.yaml
-
-
Set the following backup options for each agent:
-
tmp_dir
The directory used to temporarily stage files when restoring. The default location is
/var/lib/datastax-agent/tmp. Example:tmp_dir: /var/lib/datastax-agent/tmp/ -
backup_staging_dir
The directory where commitlogs are copied after they are written to disk from DSE. The DataStax Agents monitor this directory and move commitlogs to the configured destinations. After all destinations receive the relevant commit logs, the logs are moved to the
backup_storage_dir. The default location is/var/lib/datastax-agent/commitlogs/. Example:backup_staging_dir: /var/lib/datastax-agent/commitlogs/
-
-
Configure the following option so that the
opscenterd(OpsCenter daemon) can send requests to the agent:-
agent_rpc_interface
The IP that the agent HTTP server listens on. In a multiple region deployment, this is typically a private IP. Default: Matches
rpc_interface(native_transport_interface) fromcassandra.yaml. Example:agent_rpc_interface: 172.10.0.2The
agent_rpc_interfacemust be unique for each agent.
-
-
Configure the
jmx_portoption to connect to a Cassandra instance over JMX. The JMX port must always be configured for DSE Multi-Instance.This parameter sets the port used to connect to local JMX server. The default setting is 7199. This information will be sent by opscenterd for convenience, but can be configured locally as needed. Example:
jmx_port: 7199The JMX port must be unique for each instance of DSE.
-
Depending on the configuration of your environment, configure the following option for connecting to OpsCenter:
-
stomp_interface
Reachable IP address of the opscenterd machine. The connection made will be on
stomp_port. Example:stomp_interface: 127.0.0.1
-