Author |
Message
|
sunny_30 |
Posted: Fri Sep 05, 2014 11:46 am Post subject: WAS SIbus load balance to remote MQ QMs |
|
|
 Master
Joined: 03 Oct 2005 Posts: 258
|
Is it possible to configure SIbus to load balance messages to 2 or more remote MQ QMs ? i.e route messages to available QMs only, if multiple available, load balance them.
Its something similar to the localQM WMB runs on, if it participates in same MQ cluster as remote QMs, it always make sure the messages PUT by Broker flows round-robin to available remote QMs.
From what I read SIbus asynchronously "queues" up messages for later pick up by MQ but may not "avoid" the offline QMs. SIbus seems to have a WLM strategy similar to internal MQ clustering. So, not sure how that can help here. Problem is if WAS apps connect as MQclient to dual MQ-HA QMs, there doesnt seem to be an efficient way to provide continuous availability during QM downtimes. CCDT is one option but it requires the application is coded to reconnect a failed connection picked from the pool. Also with CCDT there is a problem with rebalancing of healthy connections. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Sep 06, 2014 5:03 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you thought about connecting WAS to a multi-instance qmgr?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sunny_30 |
Posted: Sat Sep 06, 2014 5:31 am Post subject: |
|
|
 Master
Joined: 03 Oct 2005 Posts: 258
|
Yes QMs are already configured to be HA |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Sep 06, 2014 10:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sunny_30 wrote: |
Yes QMs are already configured to be HA |
So what happens if your Multi-Instance qmgr is part of an MQ cluster?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sunny_30 |
Posted: Sat Sep 06, 2014 11:49 am Post subject: |
|
|
 Master
Joined: 03 Oct 2005 Posts: 258
|
How can the client app not fail if the Qm connected to is part of mqcluster and is down in the midst of failing over ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Sep 06, 2014 2:57 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sunny_30 wrote: |
How can the client app not fail if the Qm connected to is part of mqcluster and is down in the midst of failing over ? |
First you need to set the connection List specific attribute see the documentation or red book for WAS for the exact setup. It allows you to set the right attributes for the MI qmgr you are connecting to...
Second you need to look at the re-connection attributes to set on the connection factory.
Once you got all that working, magic happens behind the scene!
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|