Bootstrap FreeKB - IBM MQ - Resolve "Queue Manager Running elsewhere"
IBM MQ - Resolve "Queue Manager Running elsewhere"

Updated:   |  IBM MQ articles

Let's say the dspmq (display queue managers) command returns the following, where the status of a queue manager is Running elsewhere. In this example, the queue manager named MANAGER01 has a status of "running elsewhere" on server1.

[mqm@server1 ~]$ dspmq
QMNAME(MANAGER01)       STATUS(Running elsewhere)

 

This suggests that the queue manager is running on some other system. In this example, the queue manager named MANAGER01 is running on server2.

[mqm@server2 ~]$ dspmq
QMNAME(MANAGER01)       STATUS(Running)

 

This usually means that you want the queue manager to be "Running" on one of the servers and to be "Running as standby" on the other server. To allow a secondardy queue manager to be "Running as standby", both queue managers needs to be started using the strmqm (start queue manager) command with the -x (clustered) flag. If the queue manager is currently "Running" on one of the servers, and was not started with the -x flag, the queue manager will first need to be stopped using the endmqm command

[mqm@server1 ~] endmqm MANAGER01
[mqm@server2 ~] endmqm MANAGER01

 

And then strmqm (start queue manager) command with the -x (clustered) flag.

[mqm@server1 ~] strmqm -x MANAGER01
[mqm@server2 ~] strmqm -x MANAGER01

 

Now the status of the queue manager should be "Running" on the server the queue manager was started on.

[mqm@server1 ~]$ dspmq
QMNAME(MANAGER01)       STATUS(Running)

 

And should be "Running as standby" on the second server the queue manager was started on.

[mqm@server2 ~]$ dspmq
QMNAME(MANAGER01)       STATUS(Running as standby)



Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter ae80c2 in the box below so that we can be sure you are a human.