Configuring the primary data center nodes
This content applies only to On-premises and Client-managed cloud environments
Configure your Cassandra cluster for redundancy, failover, and disaster recovery by creating a multi-data center deployment. First, add nodes to the primary data center by configuring the prconfig.xml file and deploying the Cassandra database.
- Update the prconfig.xml file with the following
configuration:where:
<!-- list all available Cassandra data centers --> <env name="dnode/cassandra_datacenters" value="DC1,DC2"/> <!-- specify current data center --> <env name="dnode/cassandra_datacenter" value="DC1"/>
cassandra_datacenters
– Lists the data center names that you want to use when the internal Cassandra cluster is deployed.cassandra_datacenter
– Specifies the node data center.
- Start the application server.
- Enable the Decision Data Store service by adding primary data center nodes as
part of that service. For more information, see Configuring the Decision Data Store service
Previous topic Configuring multiple data centers Next topic Configuring the secondary data center nodes