Author |
Message
|
vandi |
Posted: Wed Mar 04, 2009 10:02 am Post subject: help needed - Workload balancing |
|
|
Acolyte
Joined: 13 Dec 2008 Posts: 67
|
Hi All,
I am facing a strange situation. I have three QM's in Cluster.
QM1 -FR
QM2 -FR
QM3 -PR
I have cluster queue TESTQ on QM2 and QM3.
The application is connected to QM1 and putting messages on TESTQ.
I want the messages to be sent to two QMgrs QM2 and QM3 in round robin fashion.
I have altered the DEFBIND attribute to NOT_FIXED on both of the queues.
When I put messages from QM1, all the messages are landing on TESTQ cluster queue on QM3. No messages are coming on to QM2.
Can you pls let me know , if the setup I made is correct? If so why are the messages not arriving on other cluster queue?
Thanks
vandi |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 04, 2009 10:17 am Post subject: Re: help needed - Workload balancing |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vandi wrote: |
If so why are the messages not arriving on other cluster queue? |
Because the putting application is not using the default binding, and is performing a bind on open.
Or there's a problem with the cluster (e.g. channels not running). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 04, 2009 10:26 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Or the app hasn't been restarted since DEFBIND was altered and hasn't reopened the queue. |
|
Back to top |
|
 |
vandi |
Posted: Wed Mar 04, 2009 10:32 am Post subject: Re: help needed - Workload balancing |
|
|
Acolyte
Joined: 13 Dec 2008 Posts: 67
|
Vitor,
Quote: |
Because the putting application is not using the default binding, and is performing a bind on open. |
I am using RFHUTIL to put messages on to cluster queue with Bind option as NOTFIXED
Quote: |
Or there's a problem with the cluster (e.g. channels not running). |
I checked all the channels, they are running.
I have deleted the cluster Queue on QM3 and created a cluster queue on QM1 and tried to send messages. The messages are arriving as expected.
But when I created cluster queue TESTQ again on QM3, all the messages are landing again on cluster queue on QM3.
Thanks
Vandi
[/quote] |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 04, 2009 10:58 am Post subject: Re: help needed - Workload balancing |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vandi wrote: |
I have deleted the cluster Queue on QM3 and created a cluster queue on QM1 and tried to send messages. The messages are arriving as expected.
But when I created cluster queue TESTQ again on QM3, all the messages are landing again on cluster queue on QM3.
|
Are you saying here that with a clustered queue TESTQ on QM1 & QM2, the messages are balanced, but with a clustered queue on QM2 & QM3 all the messages are delivered to QM3?
What version of WMQ is in use for the 3 queue managers, and what OS? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
vandi |
Posted: Wed Mar 04, 2009 11:03 am Post subject: Re: help needed - Workload balancing |
|
|
Acolyte
Joined: 13 Dec 2008 Posts: 67
|
Quote: |
Are you saying here that with a clustered queue TESTQ on QM1 & QM2, the messages are balanced, but with a clustered queue on QM2 & QM3 all the messages are delivered to QM3? |
Yes.
Quote: |
What version of WMQ is in use for the 3 queue managers, and what OS? |
WINDOWS XP, WMQ 7.0
Thanks
vandi |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Mar 04, 2009 3:05 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Check the cluster attributes for the queue. Working as designed. One of the cluster attributes should be set to [any] for it to work as you think...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
vandi |
Posted: Wed Mar 04, 2009 3:46 pm Post subject: |
|
|
Acolyte
Joined: 13 Dec 2008 Posts: 67
|
Hi,
I checked the cluster attributes and CLWLUSEQ is set to ANY on all the three Queue Managers.
Thanks
Vandi |
|
Back to top |
|
 |
vandi |
Posted: Wed Mar 04, 2009 5:25 pm Post subject: |
|
|
Acolyte
Joined: 13 Dec 2008 Posts: 67
|
Hi All,
I performed refresh on the cluster and everything is working as expeted now.
Thanks for your support.
Thanks
Vandi |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Mar 12, 2009 7:38 pm Post subject: Re: help needed - Workload balancing |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Vitor wrote: |
vandi wrote: |
If so why are the messages not arriving on other cluster queue? |
Because the putting application is not using the default binding, and is performing a bind on open.
Or there's a problem with the cluster (e.g. channels not running). |
mqjeff wrote: |
Or the app hasn't been restarted since DEFBIND was altered and hasn't reopened the queue. |
Or the channel from QM1 to QM2 is very busy, and the cluster algorithm is working as designed* and putting them on the less heavily used channel, from QM1 to QM3.
*Not a good design in my opinion.... _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|