Author |
Message
|
Jhap |
Posted: Thu Feb 18, 2010 1:38 am Post subject: Help ! Lost non-persistent messages |
|
|
Novice
Joined: 18 Feb 2010 Posts: 18
|
Hello
I restarted queue manager and lost lot of non-persistent messages. After that we recovery /var/mqm/qmgrs/qmgrname/queues/qname from tape and got file named q back. But I can not see any messages on queue. OS is AIX and MQ ver is 6.0.2.4.
So is there any way to get those messages back in queue ???
Last edited by Jhap on Thu Feb 18, 2010 7:02 am; edited 1 time in total |
|
Back to top |
|
 |
Gaya3 |
Posted: Thu Feb 18, 2010 2:59 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
its unpersistent [non-persistent] messages right....once you restart your qmgr...its obvious that it will be flushed out.
then how do you state that q back file contains the non-persistent messages.
Admins: Please move this thread to MQ Section  _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Last edited by Gaya3 on Thu Feb 18, 2010 3:02 am; edited 1 time in total |
|
Back to top |
|
 |
dgolding |
Posted: Thu Feb 18, 2010 2:59 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Did you shutdown normally (endmqm)? My understanding was that even non-persistent messages would get written to disk at MQ6 at above - so long as it didn't crash.
As to how you get it back - replay all the messages (redo all the transactions) - as with a database a backup composed of a single-snapshot is useless - the non-persistent messages might not even be on disk
Why are using non-persistent messages anyway? This class of message says I'm not important and if I get lost nobody cares - which doesn't seem to be the case here.
Good luck, I think you'll need it! |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 18, 2010 3:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If you want to keep messages after a qmgr shutdown or crash you NEED to make those messages persistent.
That is of course you need to ask the producer of those messages to make them persistent.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Jhap |
Posted: Thu Feb 18, 2010 3:57 am Post subject: |
|
|
Novice
Joined: 18 Feb 2010 Posts: 18
|
shutdown was normally endmqm -i
I have adviced customer to move messages from nonpersistent to persistent after one year ago... Guess what,,,,messages are now persistent  |
|
Back to top |
|
 |
Gaya3 |
Posted: Thu Feb 18, 2010 4:01 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Design Fault  _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Feb 18, 2010 4:59 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 18, 2010 5:05 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Jhap wrote: |
shutdown was normally endmqm -i |
Pedantically that's not a normal shutdown, that's an immediate shutdown.
But if the site wants non-persistent messages to survive shutdown, why bother to enforce fail on quiecsing?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Feb 19, 2010 12:36 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
|
Back to top |
|
 |
|