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 » replace a failed MQ queue manager without lost of messages

Post new topic  Reply to topic
 replace a failed MQ queue manager without lost of messages « View previous topic :: View next topic » 
Author Message
mikeHT
PostPosted: Wed Apr 12, 2006 12:08 pm    Post subject: replace a failed MQ queue manager without lost of messages Reply with quote

Voyager

Joined: 01 Jul 2005
Posts: 82

Anyone ever had to come up with method/steps to replace a failed MQ queue manager (with circular logs, in windows or UNIX) while leaving any messages and relationships to other queue managers in tact. I thinking more in a situation when the qmgr won't startup, so MS03 (saveqmgr), MO03 (qload, q) won't be applicable. A filesystem restore may not be able to restore the more recent messages put in LOCALQUEUE. Is there a way to decrypt/restore messages of LOCALQUEUE stored as binaries in \Qmgrs\QMGR01\QUEUES\LOCALQUEUE\q (windows file where MQ messages are saved) or qmgrs/QMGR01/queues/LOCALQUEUE/q (UNIX file where MQ messages are saved) for example ? Thank you.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Apr 12, 2006 2:15 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

is this a hypothetical situation, or are you having a real problem? Generally, wouldn't you want to understand why the qmgr fails to start and base your corrective action on that?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
mikeHT
PostPosted: Thu Apr 13, 2006 6:56 am    Post subject: Reply with quote

Voyager

Joined: 01 Jul 2005
Posts: 82

I try to be proactive and plan a way to address a situation which could happen. I need to find out how long a buffer I have to rebuild a new MQ environment (not restoring the MQ messages) in case if Queue manager can't be brought up (HW crash situation & parts not readily available). If qmgr can't be restarted, even if IBM support worked on it for a longtime, is there a way to get back the messages from \Qmgrs\QMGR01\QUEUES\LOCALQUEUE\q or qmgrs/QMGR01/queues/LOCALQUEUE/q? Thank you.
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Apr 13, 2006 8:26 am    Post subject: Re: replace a failed MQ queue manager without lost of messag Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

I think you are suggesting the sort of capability that comes with linear logging. Have you considered using this feature of MQ?

There's a section in the System Administration Guide about system logging and recovery; there's also a redbook, which should be fairly quick to find.
Back to top
View user's profile Send private message
Tibor
PostPosted: Thu Apr 13, 2006 1:14 pm    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

mikeHT,

When you have a q file, you can re-use it for an other qmgr without any decipher - although not supported . Just make a try! stop the qmgr, then copy a q file of an earlier backup / other qmgr into same directory.

mvic,

I know that the liner logging is better, supported and reliable - but everywhere would happen a disaster situation.

Tibor
Back to top
View user's profile Send private message
mvic
PostPosted: Fri Apr 14, 2006 9:20 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Tibor wrote:
When you have a q file, you can re-use it for an other qmgr without any decipher - although not supported

It won't always work, that's why it isn't supported.

Quote:
but everywhere would happen a disaster situation.

Sorry, I don't understand.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Apr 14, 2006 9:59 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

mvic wrote:
Quote:
but everywhere would happen a disaster situation.

Sorry, I don't understand.


I guess even with your linear logs on a separate disk, a disaster is gonna wipe out your data center, so you lose that drive as well as the one with the QM.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Tibor
PostPosted: Fri Apr 14, 2006 10:22 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

mvic wrote:
Sorry, I don't understand.

Sorry for my poor English I don't want to puzzle you

Peter: thank you.
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 » replace a failed MQ queue manager without lost of messages
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.