ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Clustering » Use MQSET to change queue's parameters

Post new topic  Reply to topic
 Use MQSET to change queue's parameters « View previous topic :: View next topic » 
Author Message
roberto.antonio
PostPosted: Thu Apr 29, 2010 6:22 am    Post subject: Use MQSET to change queue's parameters Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Apr 29, 2010 6:36 am    Post subject: Re: Use MQSET to change queue's parameters Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Use MQSET to change queue's parameters
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.