Author |
Message
|
HAL9000 |
Posted: Thu May 18, 2006 11:33 am Post subject: How do you provide failover? |
|
|
 Newbie
Joined: 18 May 2006 Posts: 2 Location: Nearing Jupiter
|
I am new to MQ and would like to get some feedback on good strategies for failing over users when QM's go down. My understanding of MQ clustering is that it will load balance, but a given client must connect to a particular QM to gain access to the cluster. If this particular QM goes down, then the client cannot connect to the cluster without being reconfigured. First of all, is this a correct understanding, and if so, what methods do you use to provide failover?
I'm considering the use of a load balancing switch with a virtual IP address facing the client applications, and only "balancing" to the alternate QM if the primary goes down. Has anyone done this successfully?
Thanks in advance! _________________ Seriousness is the only refuge of the shallow.
-Oscar Wilde |
|
Back to top |
|
 |
vennela |
Posted: Thu May 18, 2006 12:08 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
HAL9000 |
Posted: Fri May 19, 2006 6:39 am Post subject: |
|
|
 Newbie
Joined: 18 May 2006 Posts: 2 Location: Nearing Jupiter
|
Thx vennela.
Sounds like channel tables won't work in Java implementations? Does this mean Java as in JMS or Java as in the MQSeries Java API or both?
Thanks in advance. _________________ Seriousness is the only refuge of the shallow.
-Oscar Wilde |
|
Back to top |
|
 |
vennela |
Posted: Fri May 19, 2006 6:47 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
In v6 MQ, channel tables are supported with Java.
I don't tink they work with JMS. With Base Java APIs they should work. |
|
Back to top |
|
 |
wschutz |
Posted: Fri May 19, 2006 6:49 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
You can use channel tables with both JMS and Base classes with V6. (Search the Using Java section of the infocenter for "channel table".) _________________ -wayne |
|
Back to top |
|
 |
vennela |
Posted: Fri May 19, 2006 7:04 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Wayne:
Thanks for the clarification. |
|
Back to top |
|
 |
eosterm |
Posted: Sat Aug 19, 2006 6:32 am Post subject: |
|
|
Novice
Joined: 09 Feb 2006 Posts: 24
|
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Aug 19, 2006 7:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Also, you can apparently load-balance client connections using a network loadbalancer.
And client connections work just fine with virtual IPs - otherwise HA solutions wouldn't work. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|