Commands to set up multi-instance queue managers

IBM MQ has commands to simplify configuring journal replication, adding new queue manager instances, and configuring queue managers to use independent ASP.

The journal commands to create and manage local and remote journals are,

    ADDMQMJRN
    With this command we can create named local and remote journals for a queue manager instance, and configure whether replication is synchronous or asynchronous, what the synchronous timeout is, and if the remote journal is to be activated immediately.

    CHGMQMJRN
    The command modifies the timeout, status and delivery parameters affecting replica journals.

    RMVMQMJRN
    Removes named remote journals from a queue manager instance.

    WRKMQMJRN
    Lists the status of local and remote journals for a local queue manager instance.

Add and manage additional queue manager instances using the following commands, which modify the mqs.ini file.

    ADDMQMINF
    The command uses information you extracted from the mqs.ini file with DSPMQMINF command to add a new queue manager instance on a different IBM i server.

    RMVMQMINF
    Remove a queue manager instance. Use this command either to remove an instance of an existing queue manager, or to remove the configuration information for a queue manager that has been deleted from a different server.

The CRTMQM command has three parameters to assist configuring a multi-instance queue manager,

    MQMDIRP ( *DFT| directory-prefix)
    Use this parameter to select a mount point that is mapped to queue manager data on networked storage.

    ASP ( *SYSTEM|*ASPDEV| auxiliary-storage-pool-number)
    Specify *SYSTEM, or an auxiliary-storage-pool-number to place the queue manager journal on the system or a basic user ASP. Select the *ASPDEV option, and also set a device name using the ASPDEV parameter, to place the queue manager journal on an independent ASP.

    ASPDEV ( *ASP|device-name)
    Specify a device-name of a primary or secondary independent ASP device. Selecting *ASP has the same result as specifying ASP (*SYSTEM).

Parent topic: Multi-instance queue managers on IBM i