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 » WebSphere Message Broker (ACE) Support » Queue Manager Failover

Post new topic  Reply to topic
 Queue Manager Failover « View previous topic :: View next topic » 
Author Message
jboller001
PostPosted: Thu Mar 29, 2007 5:36 am    Post subject: Queue Manager Failover Reply with quote

Apprentice

Joined: 31 May 2006
Posts: 40

I have the following scenario:

1. Client application containing a local queue manager that is not part of a cluster
2. Two message brokers that are MQ clustered
3. A gateway queue manager that allows applications outside of the cluster to communicate with the brokers

The gateway queue manager represents a single point of failure for applications outside of the cluster. If I were to create another gateway queue manager, would the application have to be smart enough to connect to the second gateway if a communication error occurred with the first, or could this somehow be configured in the client's local queue manager?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 29, 2007 6:14 am    Post subject: Re: Queue Manager Failover Reply with quote

Grand High Poobah

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

jboller001 wrote:
If I were to create another gateway queue manager, would the application have to be smart enough to connect to the second gateway if a communication error occurred with the first, or could this somehow be configured in the client's local queue manager?


So the application is not cliented onto the gateway queue manager, but it's own local one? If so, is there a conventional link between the local
queue manager and the gateway?

If the application instead is cliented onto the gateway, you could use a client table (or similar) within the application to client onto a second gateway in the event of failure.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jboller001
PostPosted: Thu Mar 29, 2007 6:30 am    Post subject: Reply with quote

Apprentice

Joined: 31 May 2006
Posts: 40

The client has its own queue manager which connects to the gateway using sender / receiver channels and remote queue definitions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 29, 2007 6:38 am    Post subject: Reply with quote

Grand High Poobah

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

jboller001 wrote:
The client has its own queue manager which connects to the gateway using sender / receiver channels and remote queue definitions.


So what you need is the application's queue manager to connect to one or other of the gateway queue managers in the event of failure? Easiest way is the cluster the gateway queue managers, though that does sound a bit recursive.

Surely the client's queue manager remains a single point of failure, no matter what you do with the gateway? Or am I missing something?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jboller001
PostPosted: Thu Mar 29, 2007 6:56 am    Post subject: Reply with quote

Apprentice

Joined: 31 May 2006
Posts: 40

It's okay for the client's queue manager to be a single point of failure but not the broker's gateway.

The gateway queue managers would be part of the larger broker cluster but I'm not sure how that would help a single client queue manager that would only need to connect to one at a time.

It seems like the only way to do this would be to have exception handling in the client code to resubmit a request to a different remote queue definition in the event of an error. That could be messy with a large number of queues.
Back to top
View user's profile Send private message
jboller001
PostPosted: Thu Mar 29, 2007 7:01 am    Post subject: Reply with quote

Apprentice

Joined: 31 May 2006
Posts: 40

It's okay for the client's queue manager to be a single point of failure but not the broker's gateway.

The gateway queue managers would be part of the larger broker cluster but I'm not sure how that would help a single client queue manager that would only need to connect to one at a time.

It seems like the only way to do this would be to have exception handling in the client code to resubmit a request to a different remote queue definition in the event of an error. That could be messy with a large number of queues.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 29, 2007 7:20 am    Post subject: Reply with quote

Grand High Poobah

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

It sounds like you want two clusters, one containing the gateways, one containing the brokers.

Or your gateway running in an HA solution.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 29, 2007 3:34 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I don't see why you would put the client qmgr outside the cluster.

Another solution is to eliminate the client qmgr, use a network load balancer and client connection channels, and set up two gateway qmgrs that also act as endpoints for the clients.
_________________
I am *not* the model of the modern major general.
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 » WebSphere Message Broker (ACE) Support » Queue Manager Failover
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.