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 » General Discussion » how to set up affinity to a particular cluster q instance?

Post new topic  Reply to topic
 how to set up affinity to a particular cluster q instance? « View previous topic :: View next topic » 
Author Message
j1
PostPosted: Mon Jan 24, 2011 2:03 pm    Post subject: how to set up affinity to a particular cluster q instance? Reply with quote

Centurion

Joined: 23 Jun 2003
Posts: 139

Hi,

In a cluster with multiple instances of a Queue, how do I set up affinity so that all messages go to one instance of the queue rather than round-robin. Is it via some form of tweaking the cluster workload exit or setting channel priority? did some browsing around but cant find the definitive answer. Is there more than one way of doing this?

appreciate the assistance
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jan 24, 2011 3:03 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Examine the various cluster-related settings for queues and channels, specifically have a look at the cluster workload management algorithm (consider where you might find that explained).
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jan 24, 2011 3:48 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There are multiple ways of doing this.

The most straightforward way is to use MQOO_BIND_ON_OPEN.
Back to top
View user's profile Send private message
j1
PostPosted: Mon Jan 24, 2011 4:56 pm    Post subject: Reply with quote

Centurion

Joined: 23 Jun 2003
Posts: 139

gotcha, thanks
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jan 24, 2011 7:35 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Do you mean that you want all messages to go to a specific instance of the queue on a specific qmgr? Or that all messages should go to one instance of the queue, and you don't care which qmgr that hosts the queue?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jan 25, 2011 5:27 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

You may like to review this article on CLWPRTY/NETPRTY:

https://www-304.ibm.com/support/docview.wss?uid=swg21234112
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » how to set up affinity to a particular cluster q instance?
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.