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 Discussion » Help ! Lost non-persistent messages

Post new topic  Reply to topic
 Help ! Lost non-persistent messages « View previous topic :: View next topic » 
Author Message
Jhap
PostPosted: Thu Feb 18, 2010 1:38 am    Post subject: Help ! Lost non-persistent messages Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Thu Feb 18, 2010 2:59 am    Post subject: Reply with quote

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
View user's profile Send private message
dgolding
PostPosted: Thu Feb 18, 2010 2:59 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Thu Feb 18, 2010 3:41 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Jhap
PostPosted: Thu Feb 18, 2010 3:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Thu Feb 18, 2010 4:01 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Design Fault
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Feb 18, 2010 4:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

If you want non-persistent messages to survive a normal queue manager restart you have to set that option specifically...

see http://www.mqseries.net/phpBB2/viewtopic.php?t=13639
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Vitor
PostPosted: Thu Feb 18, 2010 5:05 am    Post subject: Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Fri Feb 19, 2010 12:36 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Jhap wrote:
..I have adviced customer to move messages from nonpersistent to persistent after one year ago...

See this too.... in order to convince them and prove your point.
http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac00420_.htm
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Help ! Lost non-persistent 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.