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 » issue creating Multi-Instance Queue Manager

Post new topic  Reply to topic Goto page Previous  1, 2
 issue creating Multi-Instance Queue Manager « View previous topic :: View next topic » 
Author Message
brianb
PostPosted: Tue Jul 24, 2012 3:28 pm    Post subject: MQMI Reply with quote

Voyager

Joined: 12 May 2010
Posts: 85

It would seem strmqm -x was not run on the standby

it should show STATUS(Running as standby)
not running elsewhere
Back to top
View user's profile Send private message
mca
PostPosted: Wed Jul 25, 2012 11:03 am    Post subject: Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 196

Yes, I am using -x option on both.

When i start the Queue Manager on first Linux Machine

mqm:~> strmqm -x QMGR1 (On First Machine)
mqm:~> dspmq
QMNAME(QMGR1) STATUS(Running)

mqm:~> dspmq (On Second Machine)
QMNAME(QMGR1) STATUS(Running elsewhere)

When i start the Queue Manager on second Linux Machine

mqm:~> strmqm -x QMGR1
mqm:~> dspmq
QMNAME(QMGR1) STATUS(Running as standby)

When i stop the Queue Manager on the Active Instance

mqm:~> endmqm QMGR1
mqm:~> dspmq
QMNAME(QMGR1) STATUS(Ended normally)

On Second Instance also the Queue Manager ends instead of going to Running

mqm:~> dspmq
QMNAME(QMGR1) STATUS(Ended normally)
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
mqjeff
PostPosted: Wed Jul 25, 2012 11:08 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mca wrote:
Yes, I am using -x option on both.

When i start the Queue Manager on first Linux Machine

mqm:~> strmqm -x QMGR1 (On First Machine)
mqm:~> dspmq
QMNAME(QMGR1) STATUS(Running)

mqm:~> dspmq (On Second Machine)
QMNAME(QMGR1) STATUS(Running elsewhere)

When i start the Queue Manager on second Linux Machine

mqm:~> strmqm -x QMGR1
mqm:~> dspmq
QMNAME(QMGR1) STATUS(Running as standby)

Good. This is all correct.

mca wrote:
When i stop the Queue Manager on the Active Instance

mqm:~> endmqm QMGR1
mqm:~> dspmq
QMNAME(QMGR1) STATUS(Ended normally)

That's the wrong endmqm command.

mca wrote:
On Second Instance also the Queue Manager ends instead of going to Running

mqm:~> dspmq
QMNAME(QMGR1) STATUS(Ended normally)

Yes, because that's the wrong endmqm command.

endmqm without any switches tells the queue manager to END without prejudice or failover or anything else.

Go back to the docs on endmqm and Multi-Instance queue managers, and issue the correct endmqm command in order to fail over.
Back to top
View user's profile Send private message
mca
PostPosted: Wed Jul 25, 2012 11:24 am    Post subject: [Solved] issue creating Multi-Instance Queue Manager Reply with quote

Disciple

Joined: 09 Mar 2005
Posts: 196

Thank you so much mqjeff.

Yes. I tried endmqm -s QMGR1 on the active instance and it switched to the standby one.

Also i tried shutting down the Linux device where Active instance is running and it also worked.

So, my issue is resolved here.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » issue creating Multi-Instance Queue Manager
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.