Modify configuration files for OpsCenter
Configure capabilities by manually modifying the opscenterd.conf, cluster_name.conf, and address.yaml configuration files.
The OpsCenter console is the most convenient way to configure basic OpsCenter connection settings for authentication and encryption.
- opscenterd.conf
-
Configures properties of the OpsCenter daemon.
The location of the
opscenterd.conffile depends on the type of installation:-
Package installations:
/etc/opscenter/opscenterd.conf -
Tarball installations:
INSTALL_DIRECTORY/conf/opscenterd.conf
-
- cluster_name.conf
-
Configures properties for each cluster monitored by OpsCenter. OpsCenter creates the
cluster_name.conffile named the same as the cluster when a cluster is added to OpsCenter.The location of the
cluster_name.conffile depends on the type of installation:-
Package installations:
/etc/opscenter/clusters/cluster_name.conf -
Tarball installations:
INSTALL_DIRECTORY/conf/clusters/cluster_name.conf
You can set most of the DataStax Agent configuration options in the
[agent_config]section of thecluster_name.conffile. The options in the[agent_config]section must match the corresponding configuration option name inaddress.yaml. Setting DataStax Agent options through the cluster configuration file sets the corresponding property inaddress.yamlon every node. Some properties or some cases might require setting these properties directly inaddress.yamlon applicable DataStax Agents. Setting DataStax Agent configuration options that require a list entry (value1,value2,value3 and so forth) is not supported incluster_name.conf. -
- address.yaml
-
Configures the properties for the DataStax Agent. Setting options in
address.yamlmust be done for every node. You can set most of these properties in the[agent_config]section ofcluster_name.confon the opscenterd machine and the properties propagate automatically to all DataStax Agents.The location of the
address.yamlfile depends on the type of installation:-
Package installations:
/var/lib/datastax-agent/conf/address.yaml -
Tarball installations:
INSTALL_DIRECTORY/conf/address.yaml
-
- logback.xml
-
Configures the logging properties for the OpsCenter daemon. This includes HTTP request logging, cluster logging, and security logging.
The location of the
logback.xmlfile depends on the type of installation:-
Package installations:
/etc/opscenter/logback.xml -
Tarball installations:
INSTALL_DIRECTORY/conf/logback.xml
-
Precedence for OpsCenter configuration files
Settings in address.yaml take precedence over settings in cluster_name.conf.
Therefore, settings in address.yaml override settings in cluster_name.conf, which in turn override default configuration settings.
Changes to configuration options
You can preserve configuration changes when upgrading OpsCenter. For more information, see Upgrade DSE OpsCenter.