Viewing the status of Native HA queue managers for custom-built containers
For custom-built containers, you can view the status of the Native HA instances by using the dspmq command.
About this task
You can use the dspmq command to view the operational status of a queue manager instance on a node. The information returned depends on whether the instance is active or a replica. The information supplied by the active instance is definitive, information from replica nodes might be out of date.
You can perform the following actions:
- View whether the queue manager instance on the current node is active or a replica.
- View the Native HA operational status of the instance on the current node.
- View the operational status of all three instances in a Native HA configuration.
The following status fields are used to report Native HA configuration status:
- ROLE
- Specifies the current role of the instance and is one of
Active,Replica, orUnknown. - INSTANCE
- The name provided for this instance of the queue manager when it was created using the -lr option of the crtmqm command.
- INSYNC
- Indicates whether the instance is able to take over as the active instance if required.
- QUORUM
- Reports the quorum status in the form number_of_instances_in-sync/number_of_instances_configured.
- REPLADDR
- The replication address of the queue manager instance.
- CONNACTV
- Indicates whether the node is connected to the active instance.
- BACKLOG
- Indicates the number of KB that the instance is behind.
- CONNINST
- Indicates whether the named instance is connected to this instance.
- ALTDATE
- Indicates the date on which this information was last updated (blank if it has never been updated).
- ALTTIME
- Indicates the time at which this information was last updated (blank if it has never been updated).