Configuring the secondary data center nodes
Version:
Enable communication and data replication between the primary and secondary data centers by updating the prconfig.xml file for each node in the secondary data center, and starting the Decision Data Store service.
-
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="DC2"/> <!-- list one or more IP addresses from DC1 --> <env name="dnode/extra_seeds" value="IP_FROM_DC1.."/>
where:extra_seeds
– Lists other data centers that connect with this data center. This setting ensures clustering and replication across all data centers when Pega Platform creates the internal Cassandra cluster.
-
Enable the Decision Data Store service by adding secondary data center nodes as part of that service.
For more information, see Configuring the Decision Data Store service
- 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.
- Configuring multiple data centers
Ensure the continuity of your online services by adding a secondary Cassandra data center.