|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Multi-instance failover |
« View previous topic :: View next topic » |
Author |
Message
|
wmbwmq |
Posted: Tue Oct 06, 2015 8:34 am Post subject: Multi-instance failover |
|
|
 Acolyte
Joined: 18 Jul 2011 Posts: 66
|
Needed some help with the following...
Pass1
Let's say I started a MI QMGR with -x in both servers. QMGR in Server1 is active now. I kill critical MQ processes. Now QMGR is failed over to server2. Server1 QMGR status displays "running elsewhere"
Pass2
Now I got to server2 and kill critical processes. But the QMGR is not failing over to Server1.
Is this an expected behavior? Is there any way I can configure it to failover forever, whenever QMGR goes down (automatic scenario I am talking about) |
|
Back to top |
|
 |
Vitor |
Posted: Tue Oct 06, 2015 8:42 am Post subject: Re: Multi-instance failover |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
wmbwmq wrote: |
Is this an expected behavior? |
Yes. See here:
Quote: |
Multi-instance queue managers are instances of the same queue manager configured on different servers. One instance of the queue manager is defined as the active instance and another instance is defined as the standby instance. If the active instance fails, the multi-instance queue manager restarts automatically on the standby server |
Server 2 (in your example) is the standby of Server 1. It's not bi-directional.
wmbwmq wrote: |
Is there any way I can configure it to failover forever, whenever QMGR goes down (automatic scenario I am talking about) |
You can't do that with a lot of dedicated HA software.
Because most people don't want some external failure to cause the software to fail backwards and forwards endlessly between two servers trying to start. You also don't want the standby instance unilaterally deciding it's going to fail back to the active instance "because it seems to be working now".
If you always want to have at least one queue manager available you need to combine HA with another technology, such as clustering, to provide that kind of availability. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
wmbwmq |
Posted: Tue Oct 06, 2015 1:05 pm Post subject: |
|
|
 Acolyte
Joined: 18 Jul 2011 Posts: 66
|
|
Back to top |
|
 |
samsansam |
Posted: Thu Oct 08, 2015 7:47 pm Post subject: |
|
|
Apprentice
Joined: 19 Mar 2014 Posts: 41
|
if Server 1 showing "running elsewhere" means the QMGR on Server 1 is down and QMGR is active on Server 2. For failover Server 1 must show "Standby" . In my case , I created cronjob to check the status of QMGR , if it is not running or standby , issue strmqm -x xxxxx |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|