Verifying the IBM MQ 9.1 installation
After installing IBM® MQ 9.1, use IBM MQ Explorer to verify that the queue managers and queues have successfully migrated from the earlier release then verify that you can use the sample application.
About this task
When you have checked that the migrated queue manager, sampleQM, is visible in the Navigator view of IBM MQ Explorer, verify that you can put a message to and get a message from the migrated queue, then check that you can still run the sample application.
Procedure
-
If IBM MQ Explorer is not running, start it now.
Click Start > All Programs > IBM MQ > IBM MQ Explorer.
-
Verify that your queue managers have been successfully migrated to IBM MQ 9.1:
- In the Navigator view, expand the Queue Managers folder.
- Check that you can see the queue manager sampleQM in the Queue Managers folder.
- Expand queue manager sampleQM, click the Queues folder, and check that you can see queue Q1 in the Content view.
-
If queue manager sampleQM is not already started, start it now.
- In the Navigator view, expand the queue managers node.
- Right-click queue manager sampleQM, then click Start.
-
Verify that you can put a message to queue Q1.
- In the Navigator view, expand the Queue Managers folder.
- Expand queue manager sampleQM, then click the Queues folder.
-
In the Content view, right-click queue Q1, then click Put Test
Message.
The Put test message dialog opens.
-
In the Message data field, type some text, for example Hello
queue!, then click Put message.
The Message data field is cleared and the message is put on the queue.
-
Click Close.
In the Content view, notice that the Current queue depth value of the queue is now 1. If the Current queue depth column is not visible, you might need to scroll to the right of the Content view.
-
Verify that you can get the message from queue Q1.
- In the Navigator view, expand the Queue Managers folder,
- Expand queue manager sampleQM then click the Queues folder.
-
In the Content view, right-click queue Q1, then click Browse
Messages.
The Message browser opens to show the list of the messages that are currently on the queue.
-
Double-click the last message to open the properties dialog.
On the Data page of the properties dialog, the Message data field displays the content of the message in human-readable form.
-
Verify that you can run the sample application.
-
Double-click the runresponder.cmd file.
In the command prompt window, labeled Responder window, the responder client starts then waits for a message.
> Connection factory located in JNDI.> Destination located in JNDI.> Creating connection to QueueManager.> Created connection. > Waiting for message.
-
Double-click the runrequester.cmd file.
In the Requester window, observe the requester messages. In the Responder window, observe the updated responder messages; the message it received (from the requester client) and the reply message that it sent.
In the command prompt window, labeled Requester window, the requester client shows the connection status, the message it sent, then the reply message that it received from the responder client:> Connection factory located in JNDI.> Destination located in JNDI.> Creating connection to QueueManager.> Connection created. > Sending stock request for 'BakedBeans'> Sent Message ID=ID:414d5120514d5f4c33344c3238482020c3cd094d20002b02 > Received Message ID=ID:414d5120514d5f4c33344c3238482020c3cd094d20002902 for 'B akedBeans - 15 tins in stock' > Closing connection to QueueManager.> Closed Connection. -------------------------------------------------------- In this window, observe the messages sent through IBM MQ: - The request message sent - The reply message received ----- When ready, press any key to close this window Press any key to continue . . .
In the Responder window, observe the updated responder messages; the message it received (from the requester client) and the reply message that it sent:> Connection factory located in JNDI.> Destination located in JNDI.> Creating connection to QueueManager.> Created connection. > Waiting for message. > Received Message ID=ID:414d5120514d5f4c33344c3238482020c3cd094d20002b02 for 'B akedBeans' > Sending Reply Message 'BakedBeans - 15 tins in stock'> Sent Message ID=ID:414d5120514d5f4c33344c3238482020c3cd094d20002902 > Closing connection to QueueManager.> Closed connection. -------------------------------------------------------- In this window, observe the updated responder messages - The request message received (from the requester) - The reply message sent ----- When ready, press any key to close this window Press any key to continue . . .
The messages shown in the two command windows verify that the requester and responder clients of the sample application can communicate with each other through IBM MQ.
-
Double-click the runresponder.cmd file.
Results
You have successfully migrated to IBM MQ 9.1.
What to do next
For more information about migrating and upgrading see Maintaining and migrating.