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.
- Log in as a user in the mqm group.
- Create a default queue manager called saturn.queue.manager with the following command:
crtmqm -q saturn.queue.managerMessages tell you that the queue manager has been created, and that the default WebSphere MQ objects have been created.- To start the queue manager, type:
strmqmA message tells you when the queue manager has started.- Start MQSC commands by typing:
runmqscA message tells you that an MQSC session has started. MQSC had no command prompt.- 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.- 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).- 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.- End MQSC by typing:
endSome messages are displayed, followed by the command prompt.
You have now defined the following objects:
- A default queue manager called saturn.queue.manager
- A transmission queue called TRANSMIT1.QUEUE
- A local definition of a remote queue called LOCAL.DEF.OF.REMOTE.QUEUE
- A sender channel called FIRST.CHANNEL
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
lq10510_