Verify a client installation on Windows
We can verify that the IBM MQ MQI client installation completed successfully and that the communication link is working.
About this task
The verification procedure shows how to create a queue manager called queue.manager.1, a local queue called QUEUE1, and a server-connection channel called CHANNEL1 on the server.
It shows how to create the client-connection channel on the IBM MQ MQI client workstation. It then shows how to use the sample programs to put a message onto a queue, and get the message from the queue.
The example does not address any client security issues. See Set up IBM MQ MQI client security for details if we are concerned with IBM MQ MQI client security issues.
The verification procedure assumes that:
- The full IBM MQ server product has been installed on a server.
- The server installation is accessible on your network.
- The IBM MQ MQI client software has been installed on a client system.
- The IBM MQ sample programs have been installed.
- TCP/IP has been configured on the server and client systems. For more information, see Configure connections between the server and client.
Procedure
- Set up the server and client:
- To set up the server and client by using the command line, follow the instructions in Set up the server and client using the command line on Windows.
- To set up the server and client by using IBM MQ Explorer, follow the instructions in Set up the server and client using IBM MQ Explorer on Windows.
- Test the communications between client and server, using the instructions in Testing communication between a client and a server on Windows.
- Set up the server and client using the command line on Windows
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.- Set up the server and client using IBM MQ Explorer on Windows
We can use IBM MQ Explorer to create the objects that we need to use to verify a client installation on Windows. On the server, you create a queue manager, a local queue, a listener and a server-connection channel. On the client system you create a client-connection channel. Then from the command line we use the sample PUT and GET programs to complete the verification procedure.- Testing communication between a client and a server on Windows
On the IBM MQ MQI client workstation, use the amqsputc sample program to put a message on the queue at the server workstation. Use the amqsgetc sample program to get the message from the queue back to the client.Parent topic: Verify an IBM MQ installation on Windows
Related tasks