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 Discussion » MQ Clustering

Post new topic  Reply to topic
 MQ Clustering « View previous topic :: View next topic » 
Author Message
rammer
PostPosted: Fri Dec 10, 2004 3:46 am    Post subject: MQ Clustering Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

Hi,

I have been asked the following question.

Is it possible to use MQ Clustering for failover. I realise they are not looking at true hardware failover so they mean hot availabilty.

What is required is the following:

Messages to be sent from one queue manager to one dedicated queue manager. If there is a problem with the end queue manager a alternative is to be used as fast as possibly can for all subsequent message to be processed and any messages stuck on the faulty queue manager will be processed when recovery has taken place.

The application has got to process all or nothing so load balancing via clustering at first was not thought to be the answer but if I was to say "put Disable" the standby processing queue that is part of the cluster and only "put enable" if we hit a problem would that work? Or are there more conventional ways of doing this.

Regards
Rammer
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Dec 10, 2004 4:03 am    Post subject: Re: MQ Clustering Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

rammer wrote:
I have been asked the following question.


So have we.

Many times.

Please look for similar entries in the Clustering forum.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
rammer
PostPosted: Fri Dec 10, 2004 4:22 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

Sorry Jeff

I should have said I have read through the Clustering Posts but can not find anything that explains it to me in my terms (simple)

Im not actually sure if using clustering is the best option for this but instead maybe ask the developers to put some logic in there application as to when the put is done it tries to see if the queue is available, the only problem being we may be going via a hub to get to the destination.

Regards
Rammer
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 10, 2004 5:18 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Simple = NO
MQ clustering enables load balancing
Hardware clustering enables failover.

Enjoy
Back to top
View user's profile Send private message Send e-mail
rammer
PostPosted: Fri Dec 10, 2004 6:06 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

Hi I realise it provides load balancing and not fault tolorence its just that I have been asked if we can provide a solution for a standby queue manager in case of failure at the receiving end. So I was thinking of using clustering but on one of the clustered queue managers actually "put" disabling the destination queue so that all messages are routed to the prefered queue manager. If there is a problem with that queue manager we can start the other clustered Queue on alternative QM by "put" enabling the local queue.

Regards
Rammer
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Dec 10, 2004 6:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If your business is not able or willing to pay for real hardware failover, then the cost of downtime is not sufficiently high to warrant real hardware failover.

If that is the case, then it is not worth putting in *any* kind of failover. You will end up spending time implementing a cluster based system, and maintaining it. This will likely end up being just as expensive as a real hardware failover system.

If you don't know the cost of downtime, I'm sure someone does. Get them to tell you before you do anything.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Dec 10, 2004 10:12 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

rammer wrote:
Hi I realise it provides load balancing and not fault tolorence its just that I have been asked if we can provide a solution for a standby queue manager in case of failure at the receiving end. So I was thinking of using clustering but on one of the clustered queue managers actually "put" disabling the destination queue so that all messages are routed to the prefered queue manager. If there is a problem with that queue manager we can start the other clustered Queue on alternative QM by "put" enabling the local queue.

Regards
Rammer

Just as easy and simpler to have another QM on another server, on and just sitting there. When your primay QM on your Primary server gets stomped on by Godzilla, stop the SNDR channel on the sending QM, change the conname to point to the back server, start the channel, and problem solved (to the degree your company is willing to pay for).

Any stuck persistent messages on the down server are N/A until you get it back up, if you can get it back up.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
rammer
PostPosted: Mon Dec 13, 2004 6:43 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

Hi Peter,

Know I like that idea very simple.

Cheers
Rammer
Back to top
View user's profile Send private message
dgolding
PostPosted: Mon Dec 13, 2004 6:54 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

PeterPotkay wrote:


Any stuck persistent messages on the down server are N/A until you get it back up, if you can get it back up.


You will have exactly the same problem with stuck messages on a clustered queue manager. So, you lose nothing (with regards to providing a failover solution) by going down this route.

Just a minor point, configure two sender channels, one to the primary, and one the secondary, but both channels sharing the same XMITQ. Then all you need do is stop the primary channel and start the secondary. This saves fiddling about changing the conname back and froth - and becomes a real simple procedure you can give to your first-level ops.
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Mon Dec 13, 2004 3:27 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

dgolding wrote:
PeterPotkay wrote:


Any stuck persistent messages on the down server are N/A until you get it back up, if you can get it back up.


You will have exactly the same problem with stuck messages on a clustered queue manager. So, you lose nothing (with regards to providing a failover solution) by going down this route.

Just a minor point, configure two sender channels, one to the primary, and one the secondary, but both channels sharing the same XMITQ. Then all you need do is stop the primary channel and start the secondary. This saves fiddling about changing the conname back and froth - and becomes a real simple procedure you can give to your first-level ops.

If you do that however you will have to specify which channel is supposed to be triggered in the xmitq. And you will have to change this every time you switch between normal and backup qmgr channel.

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQ Clustering
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.