Transferring queue managers from the HA2 appliance to the new HA1 appliance

Follow this procedure to transfer the HA queue managers running on appliance HA2 to appliance HA1 in preparation for replacing the HA2 appliance.

About this task

If you have followed the procedure to this point, you have a high availability pair comprising a new HA1 appliance and the original HA2 appliance. Queue managers are currently running on the HA2 appliance.

You now take steps to make the queue manager fail over to appliance HA1.

Procedure

  1. On appliance HA1, complete the following steps:
    1. Enter MQ administration mode by typing mqcli on the command line.
    2. Make the appliance the preferred appliance for the queue manager:
      sethapreferred queue_manager_name
      
    3. Repeat these steps for each queue manager.
  2. Prepare to shut down the HA2 appliance by completing the following steps:
    1. Back up the appliance configuration, see Secure backup.
    2. Take a note of the Ethernet settings (this information is contained in the configuration backup file).
    3. Use the dsphalink command to check whether the configuration is using the default eth21 for the replication. Make a note if a custom link is used.
    4. Take a note of the appliance name (this information is contained in the configuration backup file).
    5. Optionally, create a test HA queue manager that can be used for initial testing after the replacement appliance is set up in the HA group.
  3. Power down appliance HA2 and disconnect all the cables.