Recreating the HA group on the new HA2 appliance

Follow these steps to recreate the HA group on the new HA2 appliance.

About this task

After following the procedure to this point, your queue managers are currently located on the new HA1 appliance. You now use HA commands to recreate the HA group and replicate each queue manager to the new HA2 appliance.

Procedure

  1. On the new HA2 appliance, complete the following steps:
    1. Enter MQ administration mode by typing mqcli on the command line.
    2. Issue the prepareha command:
      prepareha -s secret_key -a IP_address
      Where secret_key specifies a string that is used to generate a short-lived password and IP_address specifies the IP address of the HA group primary interface on the other appliance in the group.
  2. On the HA1 appliance, complete the following steps:
    1. Enter MQ administration mode by typing mqcli on the command line.
    2. Issue the crthagrp command from the mqcli command line to recreate the HA group:
      crthagrp -s secret_key -r
      The HA group is recreated. The HA queue managers continue to run on the HA1 appliance while you restore the HA group.
  3. Validate the recreated HA group:
    1. Check the output of the crthagrp command and ensure that all the HA queue managers were successfully recreated on the new appliance. (If any of the HA queue managers also had DR configured you should also see messages about DR.)
    2. Check the status of each of the queue managers on the HA1 appliance and on the replacement HA2 appliance. You should see the HA status as Normal (repeat the status check if you see the status synchronization in progress).
    3. If you created a test queue manager as part of your preparation, try failing it over. Also try creating a new HA queue manager.