简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM