Set up the sender server

 

In order to verify a server-to-server installation first set up a sender server. From a shell window, follow these steps to set up the sender server.

  1. Log in as a user in the mqm group.

  2. Create a default queue manager called saturn.queue.manager with the following command:
    crtmqm -q saturn.queue.manager
    Messages tell you that the queue manager has been created, and that the default WebSphere MQ objects have been created.

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

  4. Start MQSC commands by typing:
     runmqsc
    A message tells you that an MQSC session has started. MQSC had no command prompt.

  5. Define a local queue called TRANSMIT1.QUEUE (to be used as a transmission queue) by entering the following command:
    define qlocal (transmit1.queue) usage (xmitq)
    A message tells you when the queue has been created.

  6. Define a local definition of the remote queue with the following command:
    define qremote (local.def.of.remote.queue) rname (orange.queue) 
    rqmname ('venus.queue.manager') xmitq (transmit1.queue)
    The name specified by the rname parameter must be the same as the name of the queue to which you are sending the message (ORANGE.QUEUE on the receiver workstation).

  7. Define a sender channel with the following command:
    define channel (first.channel) chltype (sdr) 
    conname ('con-name(port)') xmitq (transmit1.queue) trptype (tcp)
    The value con-name is the TCP address of the receiver workstation, and port is the port number, port 1414 is the default port number.

  8. End MQSC by typing:
    end
    Some messages are displayed, followed by the prompt.

You have now defined the following objects:

Now to set up the receiver server so that we can verify your server-to-server installation, see Set up the receiver server.

 

Parent topic:

Verifying a server-to-server installation


hq10450_