You can add an existing queue manager to a high availability (HA) group by using the
sethagrp command on the command line.
Before you begin
Before you can add an existing queue manager to a group, the queue manager must be
stopped.
Procedure
-
Enter the IBM® MQ administration mode by
entering the following command:
-
Enter the following command to stop the queue manager:
-
Enter the following command to add an existing queue manager to the HA group:
sethagrp -i QMname
Where
QMname is the name of the existing queue manager. You must check that a
queue manager with that name does not already exist on the other appliance. The queue manager
is added to the group and is started.
- Optional:
Exit the IBM MQ administration mode by
entering the following command:
Example
The following example shows the existing queue manager QM1
being added
to the HA group:
sethagrp -i QM1