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 » General IBM MQ Support » load balancing request from an external QMGR

Post new topic  Reply to topic
 load balancing request from an external QMGR « View previous topic :: View next topic » 
Author Message
JosephGramig
PostPosted: Fri Jul 22, 2011 12:55 pm    Post subject: load balancing request from an external QMGR Reply with quote

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
View user's profile Send private message AIM Address
bruce2359
PostPosted: Fri Jul 22, 2011 1:11 pm    Post subject: Re: load balancing request from an external QMGR Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Fri Jul 22, 2011 1:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Sat Jul 23, 2011 3:19 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Sat Jul 23, 2011 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
JosephGramig
PostPosted: Mon Jul 25, 2011 10:10 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » load balancing request from an external QMGR
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.