Configuration files

Configure capabilities by manually modifying the opscenterd.conf, cluster_name.conf, and address.yaml configuration files.

Configure capabilities by manually modifying the opscenterd.conf, cluster_name.conf, and address.yaml configuration files.

Note: The OpsCenter console is the most convenient way to configure basic OpsCenter settings.
  • opscenterd.conf: configures the properties of the OpsCenter daemon.
  • cluster_name.conf: configures properties for each cluster monitored by OpsCenter. OpsCenter creates the cluster_name.conf file named the same as the cluster when you add a cluster to OpsCenter. You can also set most of the agent configuration options in the [agent_config] section of the cluster_name.conf file. The options in the [agent_config] section must match the corresponding configuration option name in address.yaml. Setting agent options through the cluster configuration file sets the corresponding property in address.yaml on every node.
  • address.yaml: configures the properties for the DataStax agent. You can set most of these properties in the [agent_config] section of cluster_name.conf on the opscenterd machine and the properties propagate automatically to all agents.

Precedence for OpsCenter configuration files

In versions of OpsCenter prior to 5.2, the settings in the cluster_name.conf configuration file took precedence over settings in address.yaml. In OpsCenter version 5.2 and going forward, the reverse is true: address.yaml settings take precedence over cluster_name.conf. To summarize, OpsCenter 5.2 configuration files precedence, settings in address.yaml override settings in cluster_name.conf, which in turn override default configuration settings.

cluster_name.conf 

The location of the cluster_name.conf file depends on the type of installation:

  • Installer-Services or package installations: /etc/opscenter/clusters/cluster_name.conf
  • Installer-No Services or tarball installations: install_location/conf/clusters/cluster_name.conf
  • Windows installations: Program Files (x86)\DataStax Community\opscenter\conf\clusters\cluster_name.conf

opscenterd.conf 

The location of the opscenterd.conf file depends on the type of installation:

  • Installer-Services or package installations: /etc/opscenter/opscenterd.conf
  • Installer-No Services or tarball installations: install_location/conf/opscenterd.conf
  • Windows installations: Program Files (x86)\DataStax Community\opscenter\conf\opscenterd.conf

address.yaml 

The location of the address.yaml file depends on the type of installation:

  • Installer-Services or package installations: /var/lib/datastax-agent/conf/address.yaml
  • Installer-No Services or tarball installations: install_location/conf/address.yaml