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 » Round Robin - Not Working

Post new topic  Reply to topic Goto page Previous  1, 2
 Round Robin - Not Working « View previous topic :: View next topic » 
Author Message
JD996
PostPosted: Wed Oct 21, 2009 11:11 pm    Post subject: Reply with quote

Newbie

Joined: 20 Oct 2009
Posts: 6

thanks guys, you rock! the qmgr alias worked a treat! round robin is now working sweet as!

Back to top
View user's profile Send private message
jonesn
PostPosted: Thu Jan 21, 2010 2:31 pm    Post subject: Reply with quote

Apprentice

Joined: 09 Jan 2002
Posts: 47

Chaps,

I have the following scenario which is very similar to this post.

We have three queue managers in the cluster QM1, QM2 & QM3. Two queue managers (QM1 & QM2) host a cluster queue called FRED. Both instances of FRED are DEFBIND(NOTFIXED) and when putting to FRED from QM3 the messages are load balanced as you wold expect.

But we need to authenticate on QM3 using OAM so we created a QALIAS on QM3 called TO.FRED. This has a blank cluster and clusnl attributes but DEFBIND(OPEN).

When we put to TO.FRED on QM3 the messages do not load balance. If we change TO.FRED to DEFBIND(NOTFIXED) the messages load balance.

I thought that DEFBIND is ONLY used when cluster or clusnl is set but this suggests a hidden use.

Though we now have a working, load balancing solution I am conerned that I am using a feature that may be fixed in the future.

Does anyone have any comments on this?
_________________
---

Nick Jones
IBM Certified Solutions Expert (WebSphere MQ Integrator)
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Jan 21, 2010 5:31 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Your Queue Alias needs to be Bind Not Fixed. This is documented somewhere in the manuals. Same thing applies to this parm on Remote Q defs.

Think of it this way -this setting is locked in on the MQOPEN call. If you are opening a local cluster queue, or an Alias queue, or a remote queue, that's queue's default value will be used if you don't explicitly set your own value on the MQOPEN or MQPUT1.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jonesn
PostPosted: Fri Jan 22, 2010 1:15 am    Post subject: Reply with quote

Apprentice

Joined: 09 Jan 2002
Posts: 47

So Peter the DEFBIND attribute is used whether the cluster & clusnl attributes are set or not?

Do you think this is a feature or something that was designed into the product?

Thanks
_________________
---

Nick Jones
IBM Certified Solutions Expert (WebSphere MQ Integrator)
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jan 22, 2010 4:54 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

jonesn wrote:
So Peter the DEFBIND attribute is used whether the cluster & clusnl attributes are set or not?

Yes. If you are opening an Alias Q or a Remote Q that resolves to a clustered local queue.


In this link
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzal.doc/fg10990_.htm
it talks about how the Alias Queue's properties are used in favor of the Base Q. You can have 1 Base Q with 5 Alias queues resolving to it, and each of the 5 Aliases can have different settings to get 5 different results. They don't call out the Bind option specifically, but in this context its the same as Def Persistence, Def Priority, Put Enabled, etc.

Your test results seem to confirm that.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » Clustering » Round Robin - Not Working
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.