|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problems with workload balancing in WMQ6 |
« View previous topic :: View next topic » |
Author |
Message
|
sorn73 |
Posted: Tue May 08, 2007 11:25 am Post subject: Problems with workload balancing in WMQ6 |
|
|
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 |
|
 |
bruce2359 |
Posted: Tue May 08, 2007 2:58 pm Post subject: |
|
|
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 |
Posted: Wed May 09, 2007 3:08 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed May 09, 2007 3:30 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|