Resolving an HA queue manager left in an indeterminate state
If a power failure occurs when adding a queue manager to a high availability (HA) group, it can leave the queue manager in an indeterminate state.
HA commands can take some time to run. A power failure, or similar disruption, occurring when you are adding an existing queue manager to an HA group can leave the queue manager in an indeterminate state where it is running on neither appliance in the HA pair.
You can resolve this situation by using one of the following methods (the 'local' appliance is the one where you issued the commands that were interrupted).
First, recover the HA status of the queue manager from both appliances by using the
status
QMName command.
- If the queue manager on the local appliance is in a non-HA state and the remote appliance is in
a HA state, then complete the following steps:
- On the remote appliance, enter the following
command:
dltmqm QMName
- On the local appliance, enter the following
command:
sethagrp -i QMName
- On the remote appliance, enter the following
command:
- If the queue manager on the local appliance is in an indeterminate HA state and the remote
appliance is in an HA state, then complete the following steps:
- On the remote appliance, enter the following
command:
You might need to repeat this command several times.dltmqm QMName
- On the local appliance, enter the following
command:
sethagrp -e QMName
- On the remote appliance, enter the following
command: