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 » Failovering and load balancing at the same time.

Post new topic  Reply to topic
 Failovering and load balancing at the same time. « View previous topic :: View next topic » 
Author Message
jfweemaes
PostPosted: Fri Oct 07, 2005 12:43 pm    Post subject: Failovering and load balancing at the same time. Reply with quote

Newbie

Joined: 06 Oct 2005
Posts: 6
Location: Montreal

Hello,

Is this possible to get a complete solution of failovering and load balancing at the same time within a MQ 5.3 2-units cluster environment?

I mean, is there a way to setup a MQ workload management algorithm to perform that type of solution ?

Thanks!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
EddieA
PostPosted: Fri Oct 07, 2005 1:34 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
failovering and load balancing

Fail over requires some form of HA, depending on your platform

Load balancing uses MQ Clustering.

They are not the same thing. And one cannot do the work of the other.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
hopsala
PostPosted: Fri Oct 07, 2005 4:44 pm    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

As EddieA said, you cannot construct the complete scheme without some kind of hardware-failover solution (MSCS, HACMP etc); if you use MQ Clusters only, when one of them drops the other will indeed take over all traffic, but all messages that were retained in the QM that's down, will wait in queues and not be serviced.

To implement a full scale failover+workload solution do the following - create two QMs on two shared drives called QM1 & QM2, so that your setup will look like this:
Machine A: QM1 up, QM2 down
Machine B: QM1 down, QM2 Up
Both QMs should be members of the same MQ cluster, with two instances of the same cluster queue.

In case machine A crashes (or shutdown for maintenance) you failover QM1 to machine B, and vice versa; the MQ cluster will keep everything flowing automatically to the availble QMs so that failover will little affect your buisness processes.
Note that if either QM crashes, while it's down you still can't get the retained messages in it's queues, but the idea is that it is fairly easy to failover it to the other machine; if the QM itself is botched, then traffic flows on, but you'll have to fix the qm to get to these messages.

Of course there are a few technicalities to sort out (hamvmqm, virtual ip, how to set up a shared drive etc) but search this site and read the manuals will kick you off to a good start.
Back to top
View user's profile Send private message
Anirud
PostPosted: Mon Oct 10, 2005 8:29 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

hopsala, did you mean to say 2 qmgrs with same name in the same cluster? or, I might have misread your solution...
Back to top
View user's profile Send private message Visit poster's website
hopsala
PostPosted: Mon Oct 10, 2005 9:01 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

Anirud wrote:
hopsala, did you mean to say 2 qmgrs with same name in the same cluster? or, I might have misread your solution...

You are probably referring to:
hopsala wrote:
Machine A: QM1 up, QM2 down
Machine B: QM1 down, QM2 Up
Both QMs should be members of the same MQ cluster, with two instances of the same cluster queue.

Note that I said *Both QMs*, meaning there are only two QMs in the entire scenario. When I say "Machine A: QM1 up" I mean it's the same QM1 as in "Machine B: QM1 down" - by "down" I meant "a QM that is down since it is currently up on the other machine".

Apologies for the incoherency, hope that clears it up...
Back to top
View user's profile Send private message
Anirud
PostPosted: Mon Oct 10, 2005 9:49 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

hopsala,
no worries. maybe it was me. I didn't understand what you meant.
Thanks for clarifying.

Regards,
Anirud.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Failovering and load balancing at the same time.
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.