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 » Problems with workload balancing in WMQ6

Post new topic  Reply to topic
 Problems with workload balancing in WMQ6 « View previous topic :: View next topic » 
Author Message
sorn73
PostPosted: Tue May 08, 2007 11:25 am    Post subject: Problems with workload balancing in WMQ6 Reply with quote

Novice

Joined: 24 Mar 2004
Posts: 24
Location: Sweden

Hello.

I am having a problem with workload balancing in WMQ6.0.2.1 on Windows Server 2003 that I am unable to solve.

I have a cluster, let's call it CLUS1, that contains two Full Repositories, MGR1 and MGR2, and two Partial Repos, MGR3 and MGR4. MGR1 and MGR3 are on the same physical node, the others are on separate physical nodes.

I have created a queue that is shared in the cluster CLUS1 from both MGR1 and MGR2, called TEST. DEFBIND is set to NOTFIXED on both instances. I have not changed any workload balancing parameters.

If I send 10 messages from MGR3 to TEST, they are devided up evenly, 5 messages on TEST@MGR1 and 5 on TEST@MGR2. Like a clockwork, never any problem.

However, if I send 10 messages from MGR4 they are NOT deivded up evenly. I get something like 9 on TEST@MGR1 and 1 on TEST@MGR2. If I then try to send another ten messages, I always get 10 on TEST@MGR1 and 0 on TEST@MGR2. If I then do a Refresh Cluster Information and send another 10 messages, it does a little workload balancing, but then it stops again. I've seen 8/2, 9/1 and 10/0. It never starts to balance again until I do another Refresh Cluster Membership.

It's always MGR1 that is selected, never MGR2. If I do a Suspend from cluster on MGR1 and send another 10 messages, they all end up nicely on TEST@MGR2.

As far as I can see, all channels are up and are showing green arrows everywhere. I have no messages in any event-logs that would point to any channel bouncing up and down, that would explain why they were excluded from the cluster.

So, do you have any hints? Is there any way that I could find out how a workload balancing decision was taken for a given message? Are there any other statuses that I could look at that would give me a hint?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue May 08, 2007 2:58 pm    Post subject: Reply with quote

Guest




What problem do you see? Workload balancing is distributing messages as it sees fit, at a given instance in time.

If your applications have affinity to a given qmgr, or some time constraint, then clusters might not be for you/your application.
Back to top
sorn73
PostPosted: Wed May 09, 2007 3:08 am    Post subject: Reply with quote

Novice

Joined: 24 Mar 2004
Posts: 24
Location: Sweden

My problem is that I can't understand why I in two very similar cases, in a controlled environment with no other WMQ traffic, get different workload distribution, in one case even and in one case uneven. I would like some hints on where I can look to determine why one queuemanager is favoured over another. How do I determine where in the cluster workload management algortihm a decision was taken, by looking at the message, parameters in the queuemanager, logs etc.?

What do you mean with "application"? An actual application or my cluster setup? The workload decision is taken by the sending queuemanager, the application I'm using to put a message is not a factor. I've been testing using several test applications from various supportpacs.

The MD0A supportpac shows me how to use workload balancing between two queuemanagers. If I expect a certain distribution of messages among queuemanagers and don't get that, I want to understand why.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 09, 2007 3:30 am    Post subject: Reply with quote

Grand High Poobah

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

You need to look at cluster channel workload balancing as well as queue workload balancing and alias workload balancing...

Enjoy
_________________
MQ & Broker admin
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 » Clustering » Problems with workload balancing in WMQ6
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.