strmqbrk (migrate IBM WebSphere MQ Version 6.0 publish/subscribe broker to later version)

Migrate the persistent state of an IBM MQ publish/subscribe broker to a later version queue manager.


Purpose

Use the strmqbrk command to migrate the state of a IBM WebSphere MQ Version 6.0 publish/subscribe broker to a later version queue manager. If the queue manager has already been migrated, no action is taken.

In IBM WebSphere MQ Version 6.0, strmqbrk started a broker. IBM MQ Version 8.0 publish/subscribe cannot be started in this manner. To enable publish/subscribe for a queue manager, use the ALTER QMGR command.

We can also use the runmqbrk command. This has the same parameters as strmqbrk and exactly the same effect.

Syntax

This syntax diagram applies to UNIX, Linux , and Windows

strmqbrk  -p ParentQMgrNameDefault queue manager -m QMgrName -f QMgrDataDir/psmigr.log -l LogFileName

Optional parameters for UNIX, Linux, and Windows

    -p ParentQMgrName
    Note: This option is deprecated. strmqbrk migrates the parent connection automatically. If you specify the current parent queue manager, a warning message is issued and migration continues. If you specify a different queue manager, a error is issued and migration is not performed.
    -m QMgrName
    The name of the queue manager to be migrated. If we do not specify this parameter, the command is routed to the default queue manager.
    -f
    Force migration. This option specifies that objects created during the migration replace existing objects with the same name. If this option is not specified, if migration would create a duplicate object, a warning is issued, the object is not created, and migration continues.
    -l LogFileName
    Log migration activity to the file specified in LogFileName.

Syntax

This syntax diagram applies to IBM i

STRMQMBRK   -PARENTMQM(ParentQMgrName)  -MQMNAME QMgrName

Optional parameters for IBM i

    -PARENTMQM ParentQMgrName)
    Note: This option is deprecated. If you specify the current parent queue manager, a warning message is issued and migration continues. If you specify a different queue manager, a warning is issued and migration is not performed.
    -MQMNAME QMgrName
    The name of the queue manager to be migrated. If we do not specify this parameter, the command is routed to the default queue manager.