|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Clustering load balancing |
« View previous topic :: View next topic » |
Author |
Message
|
Bravo |
Posted: Tue Jan 22, 2008 4:41 pm Post subject: Clustering load balancing |
|
|
Centurion
Joined: 03 Oct 2005 Posts: 146
|
We have situation in production and Cluster is configured in the following manner. I'm trying to understand how cluster works,
We have 3 QM's in a cluster QM1, QM2 and BROKERQMGR. All there QM's are on different AIX servers.Application running on QM1 and QM2 puts messages on BROKERQMGR in WMB.CLUSLQ.QUEUE which is clus lq is set to DEFBIND(OPEN).
What will happen when application on QM1 and QM2 try to put 100 messages each at the same time on WMB.CLUSLQ.QUEUE?.
a) If appl is specified as MQOO_BIND_ON_OPEN while MQOPEN?
b) SYSTEM.CLUSTER.TRANSMIT.QUEUE is DEFBIND(OPEN)? _________________ Bravo |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Jan 22, 2008 5:25 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
If the queue's CLWLUSEQ parm is set to ANY, or if its set to QMGR and the QMGR's CLWLUSEQ attribute is ANY, AND the WMB.CLUSLQ.QUEUE is set DEFBIND(OPEN) AND the app chooses to use the q default for DEFBIND, then the 100 messages put by the app connected to QM1 will all go to QM1 or QM2, depending which instance of the queue the workload algorithim chooses, and the 100 messages put by the app connected to QM2 will all go to QM1 or QM2, depending which instance of the queue the workload algorithim chooses.
If the queue's CLWLUSEQ parm is set to LOCAL, or if its set to QMGR and the QMGR's CLWLUSEQ attribute is LOCAL, then it makes no difference what the DEFBIND setting is: the 100 messages put by the app connected to QM1 will all go to WMB.CLUSLQ.QUEUE on QM1 and the 100 messages put by the app connected to QM2 will all go to WMB.CLUSLQ.QUEUE on QM2.
The S.C.T.Q. DEFBIND properties never come into play in either scenario. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jan 22, 2008 5:27 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You forgot "AND the channels are running properly". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Jan 22, 2008 5:35 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
PeterPotkay wrote: |
....depending which instance of the queue the workload algorithim chooses. |
If there are channel problems, then the cluster worload algorithim will choose the local instance of the queue.
 _________________ Peter Potkay
Keep Calm and MQ On |
|
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
|
|
|
|