Configuring the primary data center nodes

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.xmlfile and deploying the Cassandra database.

  1. Update the prconfig.xml file with the following configuration:
    <!-- 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"/>
    where:
    • 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.
    For more information, see Changing node settings by modifying the prconfig.xml file
  2. Start the application server.
  3. Enable the Decision Data Store service by adding primary data center nodes as part of that service.
What to do next: Verify the status of the Decision Data Store service. For more information, see Monitoring decision management services