Set up the server workstation

 

In order to verify your installation first perform this task. From a shell window, use these steps to install a queue manager and a queue on the server:

  1. Create a default queue manager called saturn.queue.manager by entering the following command:
    crtmqm -q saturn.queue.manager
    You will see messages telling you that the queue manager has been created, and that the default WebSphere MQ objects have been created.

  2. To start the queue manager, type:
    strmqm
    A message tells you when the queue manager has started.

  3. Enable MQSC commands by typing:
    runmqsc
    A message tells you that an MQSC session has started. MQSC has no command prompt.

  4. Define a local queue called QUEUE1 by entering the following command:
    define qlocal (queue1)
    A message tells you when the queue has been created.

  5. Define a server-connection channel by entering the following command on one line:
    define channel (channel1) chltype (svrconn) trptype (tcp) mcauser ('mqm')
    A message tells you when the channel has been created.

  6. Define a listener by entering the following command:

    If you do not specify the port that the listener should listen on, by omitting the port parameter from the command below, the default of 1414 is used. If you want to specify a port other than 1414, include the port parameter in the command, as shown.

    define listener (listener1) trptype (tcp) control (qmgr) port (port_number)
    Where

    port_number

    is the name of the port the listener should run on. This must be the same as the number used when defining your client-connection channel in Set up the client workstation.

  7. Start the listener by entering the following command:
    start listener (listener1)

  8. Stop MQSC by typing:
    end
    You will see some messages, followed by the command prompt.

You have now defined the following objects on the server:

To continue with the verification process, see Set up the client workstation.

 

Parent topic:

Verifying the client installation


aq10670_