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 IBM MQ Support » Multi-instance failover

Post new topic  Reply to topic
 Multi-instance failover « View previous topic :: View next topic » 
Author Message
wmbwmq
PostPosted: Tue Oct 06, 2015 8:34 am    Post subject: Multi-instance failover Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Oct 06, 2015 8:42 am    Post subject: Re: Multi-instance failover Reply with quote

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
View user's profile Send private message
wmbwmq
PostPosted: Tue Oct 06, 2015 1:05 pm    Post subject: Reply with quote

Acolyte

Joined: 18 Jul 2011
Posts: 66

Thanks Vitor.
Back to top
View user's profile Send private message
samsansam
PostPosted: Thu Oct 08, 2015 7:47 pm    Post subject: Reply with quote

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
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 » General IBM MQ Support » Multi-instance 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.