Challa Nagasree
Challa Nagasree

Reputation: 1

How to check the command server status of a remote Queue manager in MQ.Need shell scripting for this

This is for IBM MQ.I am having 2 servers with Different IP address. A,B are the Queue managers present on server 1. c,d are the queue managers present on server2. I need to check the command server status of Queue mangers c,d from server 1.I need the shell scripting for this. Please help me. If you know any commands also please let me know.

Upvotes: 0

Views: 2424

Answers (1)

Morag Hughson
Morag Hughson

Reputation: 7525

If you can run a command on the same server as the queue manager resides, then you can use the command dspmqcsv to show the status of the IBM MQ Command Server.

However, if you are only able to run a command on a remote machine, then you could connect with an MQ client to the queue manager and put a PCF command message on the command server queue and see if you get an answer. If you get an answer then the command server is running, if you don't, it isn't.

Upvotes: 1

Related Questions