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 » help needed - Workload balancing

Post new topic  Reply to topic
 help needed - Workload balancing « View previous topic :: View next topic » 
Author Message
vandi
PostPosted: Wed Mar 04, 2009 10:02 am    Post subject: help needed - Workload balancing Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Mar 04, 2009 10:17 am    Post subject: Re: help needed - Workload balancing Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Mar 04, 2009 10:26 am    Post subject: Reply with quote

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
View user's profile Send private message
vandi
PostPosted: Wed Mar 04, 2009 10:32 am    Post subject: Re: help needed - Workload balancing Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Mar 04, 2009 10:58 am    Post subject: Re: help needed - Workload balancing Reply with quote

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
View user's profile Send private message
vandi
PostPosted: Wed Mar 04, 2009 11:03 am    Post subject: Re: help needed - Workload balancing Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Mar 04, 2009 3:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
vandi
PostPosted: Wed Mar 04, 2009 3:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
vandi
PostPosted: Wed Mar 04, 2009 5:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Thu Mar 12, 2009 7:38 pm    Post subject: Re: help needed - Workload balancing Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » help needed - Workload balancing
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.