Create a queue manager for use with MSCS

 


Overview

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 WebSphere MQ Explorer. The advantage of doing using a command prompt is that the queue manager is created stopped and set to manual startup, which is ready for MSCS. (The WebSphere 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

  1. Ensure that you have the environment variable MQS_PREFIX set to refer to a local drive, for example C:\WebSphere 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 WebSphere 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 WebSphere MQ Explorer

  1. Start the WebSphere MQ Explorer from the Start menu, and expand the folders to find the queue managers folder.

  2. Right-click the queue managers folder, select New and complete the dialogs, putting the log path and data path onto a local drive.

  3. When the queue manager has been created and started, right-click it in the queue managers folder and select Stop.

  4. Open the WebSphere MQ Services snap-in administration interface and set the startup attribute of the queue manager to manual. (Using the Console menu you can add the WebSphere MQ Services snap-in to the MMC console you already have open for the WebSphere MQ Explorer snap-in.) For more information see Manual startup.

  5. Proceed to Moving a queue manager to MSCS storage.

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.