7.3. Common XDCR Properties

Documentation

VoltDB Home » Documentation » VoltDB Kubernetes Administrator's Guide

7.3. Common XDCR Properties

No matter what approach you choose for establishing the network mesh, you must first configure the clusters as members of the XDCR quorum the same way you do on bare metal. That is, you must assign:

  • A unique DR ID for each cluster between 0 and 127

  • The cluster role (XDCR)

  • At least one node from the other cluster as the point of connection for the Network Discovery phase

On traditional servers these properties are defined in an XML configuration file. On Kubernetes, you specify the configuration using YAML properties. The following table shows two equivalent XDCR configurations in the different formats.

XML Configuration FileYAML Configuration File
<dr id="1" role="xdcr" >
   <connection 
      source="brooklyn.mycorp.lan" />
</dr>
cluster:
  config:
    deployment:
      dr:
        id: 1
        role: xdcr
        connection:
          enabled: true
          source: \
  "brooklyn-voltdb-cluster-dr:5555"