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 » Circular vs Linear logging debate

Post new topic  Reply to topic
 Circular vs Linear logging debate « View previous topic :: View next topic » 
Author Message
George Carey
PostPosted: Fri Sep 12, 2008 12:24 pm    Post subject: Circular vs Linear logging debate Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

Does this best practices paragraph from IBM dated July 16 2008 finally put a nail in the coffin of linear vs circular logging debate ???

http://www.ibm.com/developerworks/websphere/library/techarticles/0807_hsieh/0807_hsieh.html?S_TACT=105AGX54&S_CMP=B0724&ca=dnw-929

The top 15 WebSphere MQ best practices
...

Use the appropriate logging mechanism

A common misconception in the MQ community is that linear logging is more appropriate for production-level systems. In addition to the circular logging benefits, linear logging only incrementally provides object-recovery abilities, and it comes with the cost of regular maintenance to prevent file systems from filling. If the MS03 SupportPac is set up to run regularly, a copy of objects can be replayed from those scripts, minimizing the need for linear logging. Circular-logging queue managers require less maintenance and have less risk of crashing due to using up disk space.


GTC
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
jeevan
PostPosted: Fri Sep 12, 2008 1:55 pm    Post subject: Re: Circular vs Linear logging debate Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

George Carey wrote:
Does this best practices paragraph from IBM dated July 16 2008 finally put a nail in the coffin of linear vs circular logging debate ???

http://www.ibm.com/developerworks/websphere/library/techarticles/0807_hsieh/0807_hsieh.html?S_TACT=105AGX54&S_CMP=B0724&ca=dnw-929

The top 15 WebSphere MQ best practices
...

Use the appropriate logging mechanism

A common misconception in the MQ community is that linear logging is more appropriate for production-level systems. In addition to the circular logging benefits, linear logging only incrementally provides object-recovery abilities, and it comes with the cost of regular maintenance to prevent file systems from filling. If the MS03 SupportPac is set up to run regularly, a copy of objects can be replayed from those scripts, minimizing the need for linear logging. Circular-logging queue managers require less maintenance and have less risk of crashing due to using up disk space.


GTC


Although, principally, Linear provides the ability to recover the
"damaged" objects, but the question is how often do we have this situation? Also, with the availability of saveqmgr, we can keep a copy of latest definition, and thus recreating a fresh new mq objects and setup does not take more than a few minitues should such incident occurs.

Tthough we can set up a mechanism to make linear logging cleanup automatic, still it does not add any value. However, there is obvious performance impact.The support pack : MP7E talks about this.

MP7E: WebSphere MQ for Windows V5.3 -
Circular and Linear Logging

However, I would love to hear from Gurus


Last edited by jeevan on Fri Sep 12, 2008 2:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Sep 12, 2008 1:57 pm    Post subject: Reply with quote

Grand High Poobah

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

george carey wrote:
it comes with the cost of regular maintenance to prevent file systems from filling.

As we all know this too can be automated. (crontab etc...)
As your production boxes are monitored I would have expected that you got alerts if despite your automated jobs your file system threatened to blow up....

I am sorry to say but for some of us media recovery is a must, and adding a little disk space cheaper than having to enable producer app logging so as to be able to resend messages
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
George Carey
PostPosted: Fri Sep 12, 2008 2:10 pm    Post subject: contact admin raid Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

If a little extra disk is not a problem I would guess the price for a SAN or contact admin raid shelf or two from the likes of Network Appliance corp would be a must hardware solution to media issues and forget about your automation scripts. Of course that would move the admin skill set from MQ to NetApp filer admins.
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
bower5932
PostPosted: Fri Sep 12, 2008 2:17 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

From the listserver....I wasn't sure whether to put the poster's name:
Quote:

Geeze, I hope not! This article has it's good points but is only a
summary. For example, this particular paragraph fails to mention the
cases where linear logging is absolutely required. As such it only hints
at the much greater complexity underlying this issue. The only "debate"
about linear vs. circular is what the default should be in the absence of
any defining business requirements. However business requirements for
speed or reliability usually dictate what the implementation should be.
Unfortunately, this article does not provide any insight as to how one
might make that decision or what the cost/benefit analysis would include.
Someone without knowledge of all the factors involved must rely on the
author's opinion of what is generally "best" and go with the
one-size-fits-all solution.

The article also promotes at least one anti-pattern in the naming of
cluster queues as TO.<QMGR> which works well only where clusters do not
overlap. Even if you do not consider this an anti-pattern, it is
certainly not the "best" practice (despite it being used in the IBM
manuals to illustrate cluster construction).

In the one-step-forward-two-steps-back category, the article says to
*consider* locking down administrative access on *production* systems.
Please do not interpret this as a statement that IBM's official position
is that locking down admin access is optional on any system. I'm happy
the authors thought to include something on security but appalled at the
message that was sent. Again, this section only hints at the underlying
complexity and gets some of the information wrong. If someone followed
the security "Best Practices" from this article to the letter, their
systems would still be wide open to anonymous administrative access yet
there is no hint of this and no link to find more information.

The best practice that is missing is that no checklist can adequately
substitute for deep skills and the ability to synthesize new solutions to
unique problems. To some extent "Best Practice" documents tend to inhibit
the development of such deep skills. Some are better than others but this
effect is especially true with documents that do not hint at underlying
complexity, guide the reader to additional reading or provide decision
criteria between alternatives.

My article "Embracing cultural change in the WebSphere MQ community" (
http://is.gd/2hOY ) was written in part as a response to the Top 15
article. Over and over again I go to assignments where a customer has
followed somebody's "Best" practice document to the letter and found
themselves in deep trouble. Once these things get started, it is
especially hard to change them. If someone comes up with a better "best"
practice, it has to compete against all the instances of the older "best"
practice out there. Many times the least-best "best" practice wins out
simply due to inertia. Especially if the established "best" practice is
easy to implement and grossly oversimplifies a complex issue such as
choosing the right logging configuration or securing the messaging
network.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
fjb_saper
PostPosted: Fri Sep 12, 2008 2:19 pm    Post subject: Re: contact admin raid Reply with quote

Grand High Poobah

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

George Carey wrote:
If a little extra disk is not a problem I would guess the price for a SAN or contact admin raid shelf or two from the likes of Network Appliance corp would be a must hardware solution to media issues and forget about your automation scripts. Of course that would move the admin skill set from MQ to NetApp filer admins.

And guess who is on the spot and responsible for fixing the blow up? The MQAdmin! The NetApp filer admins will argue => Not my problem!!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Michael Dag
PostPosted: Fri Sep 12, 2008 3:05 pm    Post subject: Reply with quote

Jedi Knight

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

my 2 cents...

Queues still get damaged and recovery of a damaged Queue is no fun... and isn't about the definitions (aka MS03 backup), it's about the data that was often still in it!
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jeevan
PostPosted: Fri Sep 12, 2008 3:07 pm    Post subject: Re: contact admin raid Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

fjb_saper wrote:
George Carey wrote:
If a little extra disk is not a problem I would guess the price for a SAN or contact admin raid shelf or two from the likes of Network Appliance corp would be a must hardware solution to media issues and forget about your automation scripts. Of course that would move the admin skill set from MQ to NetApp filer admins.

And guess who is on the spot and responsible for fixing the blow up? The MQAdmin! The NetApp filer admins will argue => Not my problem!!


Is it just a matter of a few more disk space or performance also comes into picture? who is responsible is one thing but what is good is another question. Question what is better from the point of business not from how easy is it for MQ admin.
Back to top
View user's profile Send private message
George Carey
PostPosted: Fri Sep 12, 2008 3:15 pm    Post subject: Scope of Field Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

...
Quote:
My article "Embracing cultural change in the WebSphere MQ community" (
http://is.gd/2hOY )


Excellent article T-rob ... not sure if you have a degree in I/T or Sociology(perhaps both). I would only add to his concerns over cultural obdurance and resistance to change of the 'commonly held view' in this case for 'Best Practices for MQ', would be the additional concern for cultural myopism ... or not looking outside the (MQ only) box for new solutions/paradigms.

http://www.ibm.com/developerworks/websphere/techjournal/0809_mismes/0809_mismes.html
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
George Carey
PostPosted: Fri Sep 12, 2008 3:24 pm    Post subject: Scope of Field Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

... dup error ... oops what logging should I have been using ??l
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
PeterPotkay
PostPosted: Fri Sep 12, 2008 4:03 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

http://www.ibm.com/developerworks/websphere/library/techarticles/0712_dunn/0712_dunn.html

Here's another nail:
Quote:
If you need to be able to forward recover queue data following a failure or recover from media failure of the device containing the log you must use linear logging if you are dependent on WebSphere MQ to provide this level of protection for you. An alternative strategy is to use disk mirroring to mirror the log device. This is often a facility provided by a SAN. In this case you could use circular logging.

_________________
Peter Potkay
Keep Calm and MQ On
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 » Circular vs Linear logging debate
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.