Author |
Message
|
mikeHT |
Posted: Wed Apr 12, 2006 12:08 pm Post subject: replace a failed MQ queue manager without lost of messages |
|
|
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 |
|
 |
wschutz |
Posted: Wed Apr 12, 2006 2:15 pm Post subject: |
|
|
 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 |
|
 |
mikeHT |
Posted: Thu Apr 13, 2006 6:56 am Post subject: |
|
|
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 |
|
 |
mvic |
Posted: Thu Apr 13, 2006 8:26 am Post subject: Re: replace a failed MQ queue manager without lost of messag |
|
|
 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 |
|
 |
Tibor |
Posted: Thu Apr 13, 2006 1:14 pm Post subject: |
|
|
 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 |
|
 |
mvic |
Posted: Fri Apr 14, 2006 9:20 am Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Fri Apr 14, 2006 9:59 am Post subject: |
|
|
 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 |
|
 |
Tibor |
Posted: Fri Apr 14, 2006 10:22 am Post subject: |
|
|
 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 |
|
 |
|