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 » Clustering » question on clusters - queue manager - connection

Post new topic  Reply to topic
 question on clusters - queue manager - connection « View previous topic :: View next topic » 
Author Message
integrated
PostPosted: Mon Oct 26, 2009 10:33 am    Post subject: question on clusters - queue manager - connection Reply with quote

Newbie

Joined: 15 Oct 2009
Posts: 6

I am new to MQ clustering concepts.

Setup :

I have 2 queue managers QMgr1 (box1) and QMgr2 (box2). Both are part of cluster(full repos each) and have same replica of queues on each one of them. I have applications running on box1 connecting to Qmgr1 and applications running on box2 connecting to Qmgr2.

I have below questions

1) When Qmg1 goes down on box1, applications connecting to Qmgr1 will not function?. Does clustering has any advantage from HighAvail perspective here ?

2)Apps on box1 connectes to QMgr1 and puts/gets messages from Q's. Does cluster do load balancing at this point of time by put/gets from same Q's that are on Qmgr2-box2 ?

Is clustering in MQ only for loadbalancing and not high avail on qmanagers ?
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Mon Oct 26, 2009 10:56 am    Post subject: Re: question on clusters - queue manager - connection Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

integrated wrote:
I am new to MQ clustering concepts.

Setup :

I have 2 queue managers QMgr1 (box1) and QMgr2 (box2). Both are part of cluster(full repos each) and have same replica of queues on each one of them. I have applications running on box1 connecting to Qmgr1 and applications running on box2 connecting to Qmgr2.

I have below questions

1) When Qmg1 goes down on box1, applications connecting to Qmgr1 will not function?. Does clustering has any advantage from HighAvail perspective here ?

Yes. When the qmgr goes down, the connection will be lost between the app and MQ. MQ cluster wont help when the connecting QMgr goes down.

integrated wrote:

2)Apps on box1 connectes to QMgr1 and puts/gets messages from Q's. Does cluster do load balancing at this point of time by put/gets from same Q's that are on Qmgr2-box2 ?

If you configure the queues on QMgr1 & QMgr2 in cluster, then YES..the msgs will load balance between the same queues defined on QMgr1 & QMgr2.

integrated wrote:

Is clustering in MQ only for loadbalancing and not high avail on qmanagers ?

MQ clustering will be used for load balancing and failover. For HA, you need to go with hardware clustering like HACMP/ Veritas etc.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Oct 26, 2009 12:55 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
MQ clustering will be used for load balancing and failover.

... with this failover qualification: messages that exist in queues on the failed qmgr will be stranded there until the qmgr once again comes to life.

HA is different from failover. MQ clustering is different from hardware clustering.
_________________
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: Mon Oct 26, 2009 1:42 pm    Post subject: Re: question on clusters - queue manager - connection Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Sam Uppu wrote:
...If you configure the queues on QMgr1 & QMgr2 in cluster, then YES..the msgs will load balance between the same queues defined on QMgr1 & QMgr2...


More accurately, it will do so if the CLWLUSEQ attributes are set correctly...
_________________
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
Vitor
PostPosted: Mon Oct 26, 2009 4:59 pm    Post subject: Re: question on clusters - queue manager - connection Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

integrated wrote:
Is clustering in MQ only for loadbalancing and not high avail on qmanagers ?


Yes.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Oct 26, 2009 5:38 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Terms like high-availability, clustering and load-balancing, have a variety of meanings - some of which overlap or are confused with other vendor definitions.

From an application perspective, having multiple instances of the same queue (and the same consuming application) provides for (limited) application high-availability (of the consuming application). This will likely not satisfy a requirement for a never-ending qmgr image (as z/OS does in Parallel Sysplex).

WMQ Clusters allow for load-balancing, whether or not high-availability is a requirement.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » question on clusters - queue manager - connection
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.