[Windows]

Creating a queue manager for use with MSCS

This procedure ensures that a new queue manager is created in such a way that it is suitable for preparing and placing under MSCS control.

You start by creating the queue manager with all its resources on a local drive, and then migrate the log files and data files to a shared disk. (You can reverse this operation.) Do not attempt to create a queue manager with its resources on a shared drive.

You can create a queue manager for use with MSCS in two ways, either from a command prompt, or in the IBM® MQ Explorer. The advantage of using a command prompt is that the queue manager is created stopped and set to manual startup, which is ready for MSCS. (The IBM MQ Explorer automatically starts a new queue manager and sets it to automatic startup after creation. You have to change this.)

Creating a queue manager from a command prompt

Follow these steps to create a queue manager from a command prompt, for use with MSCS:

  1. Ensure that you have the environment variable MQSPREFIX set to refer to a local drive, for example C:\IBM MQ. If you change this, reboot the machine so that the System account picks up the change. If you do not set the variable, the queue manager is created in the IBM MQ default directory for queue managers.
  2. Create the queue manager using the crtmqm command. For example, to create a queue manager called mscs_test in the default directory, use:
    
    crtmqm mscs_test
    
  3. Proceed to Moving a queue manager to MSCS storage.

Creating a queue manager using the IBM MQ Explorer

Follow these steps to create a queue manager using the IBM MQ Explorer, for use with MSCS:

  1. Start the IBM MQ Explorer from the Start menu.
  2. In the Navigator View, expand the tree nodes to find the Queue Managers tree node.
  3. Right-click the Queue Managers tree node, and selectNew > Queue Manager. The Create Queue Manager panel is displayed.
  4. Complete the dialog (Step 1), then click Next>.
  5. Complete the dialog (Step 2), then click Next>.
  6. Complete the dialog (Step 3), ensuring that Start Queue Manager and Create Server Connection Channel are not selected, then click Next>.
  7. Complete the dialog (Step 4), then click Finish.
  8. Proceed to Moving a queue manager to MSCS storage.