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 » MQ clustering scenario ... pls help. Thanks.

Post new topic  Reply to topic
 MQ clustering scenario ... pls help. Thanks. « View previous topic :: View next topic » 
Author Message
smalavia
PostPosted: Sun Jul 16, 2006 10:13 pm    Post subject: MQ clustering scenario ... pls help. Thanks. Reply with quote

Novice

Joined: 16 Jul 2006
Posts: 12

Dear MQ Gurus....

I am new to MQ and have a question may be very basic. Would greatly appreciate your help on this one.

Here are my application design requirements......

I've got a application (call it MQ_SENDER) that need to put messages on a Q.

This Q is being listened to by two identical applications (MQ_RECEIVER1, MQ_RECEIVER2). Both the MQ_RECEIVERs run on two different machines. The idea being if any of the receiver instance is unavailable, then the other active receiver should be able to pick the message and process it. In case if both the receiver are up and running then still only one receiver should be able to pick the message and process it.

The basic requirement here is a "receiver always available" scenario. The MQ_SENDER should just put the message on a single Q and have the confidence that either of the receivers would have received the msg. Now the point of failure could be anyone....the receiver themselfs or the Q manager installed on either of the two machines.

I guess the answers lies somewhere in the realm of MQ clustering. But I am not exactly sure how.

Any anyone pls suggest, whats the best way to achive this.

Many many thanks in advance and would greatly appreciate any sort of input.

-SM
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Jul 16, 2006 11:52 pm    Post subject: Reply with quote

Grand High Poobah

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

In simple terms:

MQCluster the two receivers and make sure the sender app specifies "MQOO_BIND_NOT_FIXED" when it opens the queue.

In less simple terms, look through (or search) the Clustering manual & the Clustering section of this forum. Your next question will probably be about stranded messages (i.e. messages received by a queue manager but not processed before failure occured) and this has been discussed many times in here, along with a number of useful ways you can vary the above simplistic scenario.

Have fun
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smalavia
PostPosted: Tue Jul 18, 2006 6:41 pm    Post subject: Reply with quote

Novice

Joined: 16 Jul 2006
Posts: 12

thanks vitor! will lookup other threads.

Cheers
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 » MQ clustering scenario ... pls help. Thanks.
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.