|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Load Balancing |
« View previous topic :: View next topic » |
Author |
Message
|
ADV |
Posted: Fri Jun 20, 2008 7:38 am Post subject: MQ Load Balancing |
|
|
Apprentice
Joined: 24 Apr 2007 Posts: 44 Location: Boston, MA
|
I have two MQ servers: S1 & S2, has queue managers QM1 & QM2 on each server. Same queue Q1 on both QM1 & QM2. I am planning to create a cluster; two physical server S1 & S2 as members.
For WAS (Websphere Application Server) configuration, QCF (queue connection factory) has the Host name, Queue Manager Name & Queue name. What would be the Host name & QM name on QCF for MQ cluster?
Also, who will control to load balance the message? Means, who has a physical control to resolve to Server S1 or S2? |
|
Back to top |
|
 |
exerk |
Posted: Fri Jun 20, 2008 8:35 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
I do hope that QM1 and QM2 are symbolic names and that you haven't got the same actual queue manager names on each server - if you have, trying to cluster them is a really bad idea...
As for WAS, the host name would be whichever server hosts the queue manager to which your WAS instance will connect; your queue manager name will be the one that you choose to connect your WAS instance to. You cannot connect your WAS instance to the 'cluster', i.e. using the cluster name for a queue manager name (as far as I am aware).
That's my WAS knowledge exhausted, but I'm sure an expert will be along in a moment...  _________________ 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 |
|
 |
vinbud117 |
Posted: Sat Jun 21, 2008 9:49 am Post subject: |
|
|
Acolyte
Joined: 22 Jul 2005 Posts: 61
|
exerk is right...
if on version 5.3, You need to have a total of 3 QMs in teh cluster, QM1, QM2 & QM3. QM3 will be the QM to which the application connects. Don't define any cluster queue on QM3. Define cluster queues on QM1 and QM2. So two cluster instances will be visible in QM3. So the messages will be put in the round robin fashion & thus the load balancing.
In version 6.0, you can connect to either QM1 or QM2 and set CLWLUSEQ attribute to "ANY". That will serve the purpose of load balancing. |
|
Back to top |
|
 |
recallsunny |
Posted: Mon Jul 07, 2008 12:52 pm Post subject: Re: MQ Load Balancing |
|
|
 Disciple
Joined: 15 Jun 2005 Posts: 163 Location: Massachusetts
|
|
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
|
|
|
|