rdqmdr (manage DR RDQM instances)

Change a primary disaster recovery replicated data queue manager (DR RDQM) to a secondary instance, or change a secondary instance to a primary.


Purpose

Use the rdqmdr command to control whether an instance of a DR RDQM has the primary or secondary role.

We can also use rdqmdr on the node where you created a primary DR RDQM to retrieve the command that we need to create the secondary instance on the recovery node.

We must be root or a user in the mqm group with sudo privileges to use this command.


Syntax

rdqmdr -m qmname -s-p-d


Parameters

    -m qmname
    Specify the name of the DR RDQM that we are issuing the command for.

    -s
    Specify -s to make a DR RDQM that is currently in the primary role into the secondary.

    -p
    Specify -p to make a DR RDQM that is currently in the secondary role into the primary. This command fails if the primary instance of the queue manager is still running and the DR replication link is still functioning.

    -d
    Specify -d to return the crtmqm command required to create a secondary instance of the specified DR RDQM.

Parent topic: IBM MQ control commands reference