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 » Multi-instance QM fail-over - Loss of non-persistent msg

Post new topic  Reply to topic
 Multi-instance QM fail-over - Loss of non-persistent msg « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Fri Apr 24, 2015 11:50 am    Post subject: Multi-instance QM fail-over - Loss of non-persistent msg Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Hello,

it seems non-persistent messages on a queue will be lost after a fail-over of multi-instance qmgr. Is this the designed behavior?

Given all messages are stored in the shared FS, I wonder why non-persistent messages can be lost without a qmgr restart.

any insight would be appreciated.
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Apr 24, 2015 12:04 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Non persistent messages can be lost simply by restarting a queue manager.

Non persistent messages can be lost under a large set of different scenarios.

You can read about NPMCLASS.
Back to top
View user's profile Send private message
markt
PostPosted: Sat Apr 25, 2015 6:05 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 504

what on earth makes you think that
Quote:
all messages are stored in the shared FS,
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Apr 25, 2015 8:24 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

If you cannot afford to loose a message, it (the message) should be persistent. It is the responsibility of the sender to set the persistence of the message...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pcelari
PostPosted: Mon Apr 27, 2015 6:32 am    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

markt wrote:
what on earth makes you think that
Quote:
all messages are stored in the shared FS,


Granted, I made a thinking error.

The messages could well be in memory at the time of the fail-over. Wonder if there is way to force the messages be written to the FS. Generally, I prefer to avoid using persistent messages.

thanks a lot,
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Apr 27, 2015 6:32 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

This thread contains all the answers you need.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Apr 27, 2015 6:43 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Yes there is a way to force the message to the FS - make the message persistent.

Incidentally if you are using modern SAN storage - then you can change the TripleWrite to SingleWrite, which makes it faster.

There are other ways to improve persistent message throughput - such as increasing the number of log buffer pages.

Either you want to protect against system failure or you don't. If you do and you are concerned about performance - there are various ways to tune it.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.


Last edited by zpat on Mon Apr 27, 2015 11:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon Apr 27, 2015 1:34 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

pcelari wrote:
I made a thinking error.

Well, there you have it (the root of your problem).

Non-persistent should ONLY EVER be used for messages that CAN be lost. The answer is really that simple.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Multi-instance QM fail-over - Loss of non-persistent msg
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.