Configure HA groups for DR/HA RDQMs

We must create an HA group on both your main and recovery sites. If we have an existing HA group on either site, we can create DR/HA RDQMs in that HA group. (Existing RDQMs will continue to operate as before.)

You create an HA group by defining a Pacemaker cluster. The procedure is as described for RDQM high availability, see Defining the Pacemaker cluster (HA group).

When defining a high availability group you specify the IP addresses used for monitoring and replication by each node in the rdqm.ini file. When creating an HA group to support DR/HA RDQMs we can also specify the IP addresses used for DR replication by the HA group we are defining, and the IP addresses used for DR replication by the nodes in the other HA group of the DR pair. (If we do not specify the DR replication IP addresses in the rdqm.ini file, we can specify them in the command line when you create a DR/HA RDQM.)

If we are configuring an existing HA group, we can add DR replication IP addresses to your existing rdqm.ini file. You do not need to run rdqmadm again after updating rdqm.ini, but we must update rdqm.ini before you create any DR/HA RDQMs.

Use the DR_Replication attribute in the Node stanzas to specify the DR replication interfaces on the HA group that we are defining, for example:
Node:
  HA_Replication=192.168.0.1
  DR_Replication=192.168.1.1
Node:
  HA_Replication=192.168.0.2
  DR_Replication=192.168.1.2
Node:
  HA_Replication=192.168.0.3
  DR_Replication=192.168.1.3
Use the DRGroup stanza to specify the DR replication addresses of the remote HA group, for example:
DRGroup:
  Name=DR1
  DR_Replication=192.168.2.1
  DR_Replication=192.168.2.2
  DR_Replication=192.168.2.3

If we do not specify DR replication IP addresses for the nodes in the local HA group in either the rdqm.ini file or on the command line when you create a DR/HA RDQM, then the HA_Replication interfaces defined for each node are used for DR replication. You must specify remote HA group DR replication addresses either in the rdqm.ini file or on the crtmqm command line.

Parent topic: RDQM disaster recovery and high availability