[IBM Cloud Pak for Integration]

NativeHAInstance stanza of the qm.ini file

For IBM® MQ in containers, the NativeHAInstance stanza specifies how the three nodes in a Native HA configuration can communicate with each other.

Note: This information applies only to container environments. See Configuring Native HA using the IBM MQ Operator or Creating the Native HA group if creating your own containers.

You add three NativeHAInstance stanzas, one for each queue manager instance in the Native HA group (including the local instance). Add the following attributes:

Name
Specify the instance name that you used when you created the queue manager instance.
ReplicationAddress
Specify the hostname, IPv4 dotted decimal or IPv6 hexadecimal format address of the instance. You can specify the address as a hostname, IPv4 dotted decimal, or IPv6 hexadecimal format address. The replication address must be resolvable and routable from each instance in the group. The port number to use for the log replication must be specified in brackets, for example:
ReplicationAddress=host1.example.com(4444)

Example stanza

The following example shows the NativeHAInstance stanza used in the qm.ini file to specify the three nodes of a native HA configuration.
NativeHAInstance:
  Name=node-1
  ReplicationAddress=host1.example.com(4444)
NativeHAInstance:
  Name=node-2
  ReplicationAddress=host2.example.com(4444)
NativeHAInstance:
  Name=node-3
  ReplicationAddress=host3.example.com(4444)