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 IBM MQ Support » Load balancing in cluster

Post new topic  Reply to topic
 Load balancing in cluster « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Wed Jul 26, 2006 9:08 am    Post subject: Load balancing in cluster Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

In order to achieve the load balancing in queue manaer cluster, the applicaiton has to open the queue as MQOO_BIND_NOT_FIXED but do we need to setup the parameter DEFBIND to NOTFIXED in the cluster queue definition?

Also does it make any sense to set DEFBIND to NOTFIXED in case of remote queue?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jul 26, 2006 9:55 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

DEFBIND is 'Default Binding'. It's not necessary to set it to BIND_NOT_FIXED.

It's a good idea, though, to make sure that applications don't bind on open if they specify BIND_AS_QDEF.

That way, you know that the only way they can BIND_ON_OPEN is if they explictly specify BIND_ON_OPEN.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Ivans
PostPosted: Wed Jul 26, 2006 12:35 pm    Post subject: Reply with quote

Apprentice

Joined: 03 Jan 2006
Posts: 48
Location: Hursley

jeevan,
Top tip... When it comes to descriptions of object attributes and application programming options, a good place to start is the WMQ infocenter. See http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp

The infocenter has a search function too, and in this case entering something like "MQOO_BIND_NOT_FIXED" should get you going.

Cheers,
Ian
Back to top
View user's profile Send private message
jeevan
PostPosted: Wed Jul 26, 2006 1:55 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I know that. What i am trying to do is, whether I can test load balancing ( sending the message to different queue manager) using amqsput utility. I am not able to do it. So, I am wondering whether I missed something in setting up.

Can the load balancing be tested only with mq app or is there any utility I can use to test this?

thanks a lot
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 26, 2006 2:08 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Read the cluster manual and put on a gateway qmgr. This will demonstrate load balancing.
In V6 you can put to a qmgr where the queue is hosted and still load balance but you MUST change one of the clustered parameters of that queue. By default the behavior is like in V5.3.

On top of this make sure you either set the qmgr to blank on a put1 or (using amqput tool) you use a qmgr alias for the cluster. Otherwise I do not see how you are going to get the desired load balancing effect in V6 without a gateway qmgr.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jeevan
PostPosted: Fri Jul 28, 2006 10:34 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Jeff, MQ Admin,

Thanks you for your valuable input. I am asking this way because I have to step in a project just a week beofore it goes onto production. The client does not have mq expertise. Whoever has done the setup, has not left good documentation. The client is so worried, they dun like to touch anything now. I have to help them if they run into problem in this situation.

One last questions. What about the queue manager setup in queue connection factory in AS ? does it require to leave blank or can have value? I understand it has to leave blank in put call/put1 call in application.

Thank you a lot,
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Jul 28, 2006 1:30 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

jeevan wrote:
The client does not have mq expertise.

So sad
jeevan wrote:
What about the queue manager setup in queue connection factory in AS ? does it require to leave blank or can have value? I understand it has to leave blank in put call/put1 call in application.

Thank you a lot,

You need to specify the QMGR name in the QueueConnectionFactory
On the Queue property, you need to leave it blank.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Load balancing in cluster
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.