![[Kubernetes]](ngkube.gif)
![[IBM MQ Advanced]](ngadv.gif)
NativeHAInstance stanza of the qm.ini file
The NativeHAInstance stanza specifies how the three nodes in a Native HA
configuration can communicate with each other.
There are three NativeHAInstance stanzas, one for each queue manager instance in
the Native HA group (including the local instance). They have 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 theNativeHAInstance 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)