[Linux][MQ 9.2.0 Jul 2020]

Configuring HA groups for DR/HA RDQMs

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

The procedure is the same 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 you can also specify the IP addresses used for DR replication by the HA group you are defining, and the IP addresses used for DR replication by the nodes in the other HA group of the DR pair. (If you do not specify the DR replication IP addresses in the rdqm.ini file, you can specify them in the command line when you create a DR/HA RDQM.)

If you are configuring an existing HA group, you 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 you 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 you are defining, for example:
Node:
  Name=Node1
  HA_Replication=192.168.0.1
  DR_Replication=192.168.1.1
Node:
  Name=Node2
  HA_Replication=192.168.0.2
  DR_Replication=192.168.1.2
Node:
  Name=Node3
  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
The following diagram illustrates this configuration:
shows the DR/HA configuration

If you 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.