Set up the server and client using the command line on Linux
We can use the command line to create the objects that we need to use to verify a client installation on Linux . On the server you create a queue manager, a local queue, a listener, and a server-connection channel. We must also apply security rules to allow the client to connect and make use of the queue defined. On the client you create a client-connection channel. After setting up the server and client, we can then use the sample programs to complete the verification procedure.
Before starting
Before starting this task, review the information in Verify a client installation on Linux.
This task explains how to use the command line to set up the server and client so that we can verify your client installation.
If you prefer to use IBM MQ Explorer, see Set up the server and client using IBM MQ Explorer on Linux.
Procedure
- Set up the server by following the instructions in Set up the server using the command line on Linux.
- Set up the client by following instructions in Connect to a queue manager, using the MQSERVER environment variable on Linux.
What to do next
Test the communications between client and server by following the instructions in Testing communication between a client and a server on Linux.
- Set up the server using the command line on Linux
Follow these instructions to create a queue manager, queue, and channel on the server. We can then use these objects to verify the installation. - Connect to a queue manager, using the MQSERVER environment variable on Linux
When an IBM MQ application is run on the IBM MQ MQI client, it requires the name of the MQI channel, the communication type, and the address of the server to be used. Provide these parameters by defining the MQSERVER environment variable.
Parent topic: Verify a client installation on Linux