Replacing a failed node in a high availability configuration
If one of the nodes in your HA group fails, we can replace it.
About this task
The steps to take to replace a node depend on the scenario:
- If we are replacing the failed node with a node with an identical configuration, we can replace the node without disrupting the HA group.
- If the new node has a different configuration, then we must delete and then rebuild the HA group. We can first back up the queue managers from the node they are running on, then restore them after you have rebuilt the HA group.
Procedure
- If the replacement node is configured to look like the failed node (same hostname, same IP addresses, and so on), then complete the following steps on the new node:
- Create an rdqm.ini file that matches the files on the other nodes, and then run the rdqmadm -c command (see Defining the Pacemaker cluster (HA group)).
- Run the crtmqm -sxs qmanager command to recreate each replicated data queue manager (see Create an HA RDQM).
- If the replacement node has a different configuration to the failed node:
- If required, back up your queue managers (see Backing up and restoring IBM MQ queue manager data).
- Delete the replicated data queue managers from the other nodes in the HA group by using the dltmqm command (see Delete an HA RDQM).
- Unconfigure the Pacemaker cluster by using the rdqmadm -u command (see Delete the Pacemaker cluster (HA group)).
- Reconfigure the Pacemaker cluster, including the information for the new node, by using the rdqmadm -c command (see Defining the Pacemaker cluster (HA group)).
- If necessary (that is, if we do not have SSH access to the other nodes) run the crtmqm -sxs qmanager command to recreate each replicated data queue manager on the other nodes (see Create an HA RDQM).
- Run the crtmqm -sx qmanager command to create the queue managers on the replacement node .
- If required, restore data and configuration to your queue managers (see Backing up and restoring IBM MQ queue manager data).
Parent topic: RDQM high availability