[Linux]

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.

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

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

Syntax

Read syntax diagramSkip visual syntax diagram rdqmdr -m qmname -s-p-d

Parameters

-m qmname
Specify the name of the DR RDQM that you 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.