Editing OpsCenter cluster connections for authentication or encryption
Cluster connection settings define how OpsCenter connects to a DSE cluster. Edit the cluster connection settings if authentication or encryption has been enabled on a DSE cluster.
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
cluster_name.conf
The location of the cluster_name.conf file depends on the type of installation:- Package installations: /etc/opscenter/clusters/cluster_name.conf
- Tarball installations: install_location/conf/clusters/cluster_name.conf
Procedure
- Select the cluster to edit from the Cluster menu in OpsCenter Monitoring.
-
Click
. The Edit Cluster Connection Settings dialog appears.Tip: Select other clusters to edit connection settings for from the Cluster list.
- If applicable, change the IP addresses of cluster nodes.
- Optional: If applicable, change the JMX Port and Native Transport Port listen port numbers if you are not using the defaults.
- Optional: If applicable, click JMX is enabled on my cluster to add or edit user credentials (username and passwords) if the JMX port requires authentication.
- Optional: If applicable, click Native transport security is enabled on my cluster to add or edit user credentials (username and password) if the Native Transport port requires authentication.
- Optional:
If applicable to your environment, select DSE security (kerberos) is
enabled on my cluster and complete the fields.
For more information, see Setting up Kerberos and the Kerberos tutorial.
-
If configuring client-to-node settings, select
Client-to-node encryption is enabled on my cluster.
Indicate the following paths for OpsCenter and each agent to use for connecting
directly to the monitored DSE cluster.
When client-to-node encryption is enabled for a cluster using Lifecycle Manager, the
ssl_truststore
andssl_truststore_password
fields are automatically propagated in cluster_name.conf with the corresponding values fromssl_keystore
andssl_keystore_password
for both opscenterd and the agent: LCM propagates thessl_keystore
value intossl_keystore
andssl_truststore
; and thessl_keystore_password
value intossl_keystore_password
andssl_truststore_password
.Note: For information about creating keystores and truststores, see Enabling client-to-node encryption in OpsCenter.-
Enter the OpsCenter Keystore Path, which is the
SSL keystore location for OpsCenter (opscenterd) to use for connecting
to the monitored DSE cluster. The value entered in the UI populates the
[cassandra] ssl_keystore
property in the OpsCenter cluster configuration file (cluster_name.conf). -
Enter the Password for the OpsCenter
Keystore Path. The value entered in the UI populates the
[cassandra] ssl_keystore_password
property in cluster_name.conf. -
Enter the OpsCenter Truststore Path, which is
the SSL truststore location for OpsCenter (opscenterd) to use for
connecting to the monitored DSE cluster. This value should be the same
as OpsCenter Keystore Path if the same file is
used as both the keystore and the truststore (that is, there is not a
separate truststore). The value entered in the UI populates the
[cassandra] ssl_truststore
property in cluster_name.conf. -
Enter the Password for the OpsCenter
Truststore Path. This value should be the same as
password for the OpsCenter Keystore Path if the
same file is used as both the keystore and the truststore (that is,
there is not a separate truststore). The value entered in the UI
populates the
[cassandra] ssl_truststore_password
property in cluster_name.conf. -
Enter the Agent Keystore Path, which is the SSL
keystore location for each agent to use for connecting to the monitored
DSE cluster. The value entered in the UI populates the
[agents] ssl_keystore
property in cluster_name.conf. -
Enter the Password for the Agent
Keystore Path. The value entered in the UI populates the
[agents] ssl_keystore_password
property in cluster_name.conf. -
Enter the Agent Truststore Path, which is the
SSL truststore location for each agent to use for connecting to the
monitored DSE cluster. This value should be the same as password for the
Agent Keystore Path if the same file is used
as both the keystore and the truststore (that is, there is not a
separate truststore).The value entered in the UI populates the
[agents] ssl_truststore
property in (cluster_name.conf). -
Enter the Password for the Agent
Truststore Path. This value should be the same as
password for the Agent Keystore Path if the same
file is used as both the keystore and the truststore (that is, there is
not a separate truststore). The value entered in the UI populates the
[agents] ssl_truststore_password
property in cluster_name.conf.
-
Enter the OpsCenter Keystore Path, which is the
SSL keystore location for OpsCenter (opscenterd) to use for connecting
to the monitored DSE cluster. The value entered in the UI populates the
- Click Save Cluster.