|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
load balancing request from an external QMGR |
« View previous topic :: View next topic » |
Author |
Message
|
JosephGramig |
Posted: Fri Jul 22, 2011 12:55 pm Post subject: load balancing request from an external QMGR |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Scenario:
An external QMGR (XQMGR) needs to make requests to a back end system. The actual backend QMGRs (BQMGR1/2/3/4) all host the same service which are accessed via a clustered queue.
For internal QMGRs, we let MQ load balance via the MQ cluster.
I was thinking I could use a gateway QMGR (GQMGR) for the XQMGR to put to an alias queue that then points to the BQMGRs cluster queue.
But I get: MQRC_UNKNOWN_ALIAS_BASE_Q
If I change the alias queue to point to a local queue at GQMGR, it works fine.
I know there is a trick to this but just can't remember it. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jul 22, 2011 1:11 pm Post subject: Re: load balancing request from an external QMGR |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
JosephGramig wrote: |
If I change the alias queue to point to a local queue at GQMGR, it works fine.
|
What does the definition look like that fails? What definition does it point to? Please post. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
exerk |
Posted: Fri Jul 22, 2011 1:19 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
You need an 'empty' QREMOTE in your gateway queue manager as an alias. does that jog your memory?  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Jul 23, 2011 3:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
@Joseph
Please post the QREMOTE definition on the external qmgr
Please post the QAlias definition (that is not working) on the gateway qmgr
Please post the QMGR Alias definition on the gateway qmgr
Is your gateway qmgr part of the cluster?
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sat Jul 23, 2011 12:17 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Joseph,
On XQMGR, create a remote queue def where the remote q name is the name of the clustered q on BQMGR1/2/3/4, and the remote QM name is something like MYCLUSTER. DEF_BIND=NOT_FIXED
On GQMGR, define a remote queue to act as a QM cluster alias like this:
Q name = MYCLUSTER
Remote q name = blank
Remote QM name = blank
XMITQ = blank
DEF_BIND = NOT_FIXED
Cluster - No need to cluster this definition for this scenario.
If GQMGR and BQMGR1/2/3/4 are all in the same cluster, the message will arrive at GQMGR, get their destination QM blanked out by the MYCLUSTER QM alias, and then be round robined to the four BQMGR QMs. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
JosephGramig |
Posted: Mon Jul 25, 2011 10:10 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Peter,
Yes. That did work exactly like I want.
Big thx. |
|
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
|
|
|
|