dspdrsecondary

Outputs a command that can be used to recreate a disaster recovery (DR) secondary instance.

Purpose

When you initially create a DR configuration, you use the crtdrprimary command to specify that an existing queue manager on the live IBM® MQ Appliance is the primary queue manager. On successful completion, the crtdrprimary command outputs the crtdrsecondary command that you must run on the recovery appliance to configure the queue manager on there. If you need to recreate the secondary instance, for example, after replacing your recovery appliance, you can run the dspdrsecondary command on the main appliance to output the crtdrsecondary command again.

Syntax

Read syntax diagramSkip visual syntax diagram dspdrsecondary -mQMName

Parameters

-m QMName
Specifies the queue manager that you are recreating the secondary instance of.

Usage Notes

  • On successful completion, the command outputs the crtdrsecondary command that you must run on the recovery appliance to configure the queue manager on there.
  • You can also run the command on HA/DR configurations.

Examples

The following example shows the command for recreating the secondary instance of queue manager QM1. The command is run on the appliance named alice2, where the primary instance of the QM1 is running:
dspdrsecondary -m QM1
Upon successful completion, the command returns the following information:
Execute the following command on appliance charlie2: 
crtdrsecondary -m QM1 -s 57344 -l alice2 -i 192.168.120.94 -p 9001