|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Use MQSET to change queue's parameters |
« View previous topic :: View next topic » |
Author |
Message
|
roberto.antonio |
Posted: Thu Apr 29, 2010 6:22 am Post subject: Use MQSET to change queue's parameters |
|
|
Newbie
Joined: 11 Feb 2008 Posts: 3
|
Hi guys.
I've got a question about MQ Cluster. I appreciate if can anybody help me.
I've got a MQ cluster with 3 QMs, QMA, QMB and QMC. There is a queue "queue1" which it is defined on QMA and QMB as a cluster, and the application will put the messages on QMC.
On QMA the queue will have PUT(ENABLE) and on QMB the queue will have PUT(DISABLE) to be standby. So every time the application put message on QMC, the message goes to QMA
But now with an application running on QMA I have to switch the parameters fo the "queue1" PUT(DISABLE) on QMA, and PUT(ENABLE) on QMB.
In this case can I make this change from inside the application using MQSET ?
I'm thinking to use an alias on QMB as cluster direction to "queue1".
My question is: If do I this the will reflect on the "queue1" on QMA ?
Thanks a lot |
|
Back to top |
|
 |
Vitor |
Posted: Thu Apr 29, 2010 6:36 am Post subject: Re: Use MQSET to change queue's parameters |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
roberto.antonio wrote: |
In this case can I make this change from inside the application using MQSET ? |
Even if this worked, the application would need administrative access to both queue managers.
You'd be better off IMHO writing a little script that was under your control and did this "failover" by issuing runmqsc commands to QMA & QMB.
Of course, if you need to failover because QMA has crashed there's no means by which you can put disable the queue.
(I'll avoid the usual "don't use WMQ cluster for failover because messages get stuck" part) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|