Home > Domino Tips > Administrator > Notes.ini and mail.boxes transaction logging -- a cautionary tale
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SERVER

Notes.ini and mail.boxes transaction logging -- a cautionary tale


Andy Pedisich
03.27.2006
Rating: -4.81- (out of 5)


Lotus Notes and Domino tips, tutorials and how-to articles
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


VIEW MEMBER FEEDACK TO THIS TIP

I had a client a year or so ago who was having a problem with server crashes. We made the support call, and IBM Lotus indicated that the crashes were happening because transaction logging needed to be turned off on the mail.boxes.

We tried that and it worked, but we still had a problem. Occasionally, administrators would blow away mail.boxes and let them be recreated automatically at server startup, but they would forget to turn off transaction logging -- and bingo, the same problem all over again.

We tried disabling transaction logging on the mailbox.ntf template so it would be set the correct way when a new mail.box was created. That would have been great if it worked, but it didn't.

Instead, I attached some code to an agent that I had written for another project. That agent checked all the mail.boxes on all servers on a regular basis for mail waiting. With the new code, it also checked to make sure the mail.boxes weren't transaction logged, and fixed them if they needed to be. Another problem solved with a bit of ingenuity and LotusScript.

Case closed until last week, when I did an ND7 Upgrade seminar for The View in Las Vegas. It was there that a generous attendee pointed me to a Notes.ini parameter that would automatically turn off transaction logging each time a new mail.box was created. It 's actually in the ND7 Administrator's Help database! Here's what the document says:

MailBoxDisableTDNLogging
Syntax:
MailBoxDisableTDNLogging=value
Description: Allows mail.boxes created by server during startup to be created with transaction logging disabled. when set to any non-zero value
Applies to: Servers
Default: 0 (transaction logging is enabled for mail.boxes created at server startup)
UI equivalent: None

Wow! I couldn't wait to get back to the lab to try it.

But I was having some sort of crazy déjà vu about this sit


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Domino
How to turn off the message recall feature in Lotus Notes 8
What is Notes 8.5's DAOS (Domino Attachment and Object Storage) feature?
SaaS and collaboration set the stage at Lotusphere
Top 10 Lotus Notes/Domino administration tips of 2008
How to upgrade to Lotus Notes 8 and retain Lotus Notes 7
Five Domino domain default server settings you should change and why
How DirLint verifies data in Lotus Notes Domino 8 directories
An introduction to Lotus Notes password options and essentials
Tivoli Directory Integrator synchronizes Notes Domino 8 directories
Setting up RSS feeds in Lotus Notes Domino 8

Server
How to move Notes databases off Domino 8 servers and save disk space
Move a Lotus Domino server to a new certifier without a reinstall
Securely connect Lotus Domino servers on different domains
Track and record Lotus Notes user logins to Domino Server
Use SMTP outbound authentication to relay hosts in Lotus Notes Domino 8
Log off idle Lotus Notes users for better Domino Server performance
Copy Lotus Notes databases from the Domino Server console command line
How to perform an in-place upgrade of Lotus Domino server hardware
Daylight Saving Time 2007 -- seven helpful tips for Lotus Notes administrators
FileZilla

IBM Lotus Messaging and Collaboration Servers
Notes.ini tips and tutorials
How to perform an in-place upgrade of Lotus Domino server hardware
Slow Domino server performance and failure on agent managers
Daylight Saving Time 2007 -- seven helpful tips for Lotus Notes administrators
Separating a Lotus Notes network into two Notes Named Networks
Lotusphere 2007 refocuses on users
Pen testing your VPN
Nine steps to less expensive, more reliable backups
Resource reservations don't work after R7 upgrade
Update on Lotus Notes client 6.5.5 calendar delegation problem

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


uation. Hmm… Didn't I try this already when my client was having the problem way back when? I checked the Admin Help files for Notes/Domino 7.0.1, 7.0 and 6.5. Result: All the Admin Help Files said exactly the same thing; put the parameter in and no more transaction logging when a new mail.box is created.

"Then clear the lab and let's see what's on the slab!" I shouted. Actually, I shouted that in my head. No point in scaring the cat that shares an office with me. I then tested the parameter on the three versions of servers I am running in my test environment, -- 6.5.3, 7.0 and 7.0.1. It didn't work on any of them. Notes/Domino transaction logging was still turned on when new mail.boxes were created.

"Dern!" I yelled again, in my head. Maybe I had to use a MUCH different value than 0, perhaps a number or a letter. Still no-go, transaction logging was still enabled.

I wanted to just drop it right there, but then I started to remember what had happened with the client. It all came back to me like the nightmare you have about losing your teeth or being able to swap legs with someone else. You have those nightmares too, don't you?

I had tried this parameter, and I had resorted to the agent when it didn't work!

Frantic, I decided to check my old friend Knowledge Base. And right at the top was an article, and not a recent one either. It was originally from 2004, but it still applied to a bunch of server versions, including Notes/Domino 6.5 and 7.

[IMAGE]

Here's an excerpt of that document:

Problem
A customer would like to disable Transactional Logging on MAILBOX.NTF in the Database Properties, Advanced, "Disable Transactional Logging" box.

This is needed so when a new MAIL.BOX(s) is created, transactional logging will not be "enabled" on the new MAIL.BOX(s).

Excerpt from the Lotus Notes and Domino Release 6.0.3 MR fix list (available at http://www.lotus.com/ldd):

Design

  • SPR# SLIR5NSQGK - Added the ability to disable transaction logging for the mail.box, created by Domino, by setting MailBoxDisableTXNLogging=1 in the Notes.ini

    Supporting Information:

    MailBoxDisableTXNLogging
    Syntax: MailBoxDisableTXNLogging=value
    Description: Allows mail.boxes created by server during startup to be created with transaction logging disabled. when set to any non-zero value
    Applies to: Servers
    Default: 0 (transaction logging is enabled for mail.boxes created at server startup)
    UI equivalent: None

    Please, do me a favor and scroll back up to the top of the page. Do you see a difference between these two parameters?

    Yup, the one at the top -- the one that does not work -- is:

    MailBoxDisableTDNLogging=value

    That's the one in Administration Help in 6.5, 7.0, and 7.0.1.

    The second one is the one from Knowledge Base. It's the one that does work, and it works on Lotus Domino 6.5.3, 7.0, and 7.0.1.

    MailBoxDisableTXNLogging=value

    That is correct. If you want transaction logging to be disabled on newly created mail.boxes, ignore the instructions in Administrator Help. Do yourself a favor and use the one from the Knowledge Base, the one with the X, the one that stands for TransAXtion logs.

    I am now trying desperately to remember something else that will be very helpful at this moment. And that is, how do I reverse the time space continuum to get back the two hours I just used trying to get this thing to work using the incorrect information from Admin Help! Wish me luck.

    About the author: Andy Pedisich is President of Technotics, Inc. He has been working with Lotus Notes and Domino since Release 2. Technotics provides strategic consulting and training on collaborative infrastructure projects for customers throughout the world. You can contact Technotics through their Web site at www.technotics.com.

    MEMBER FEEDBACK TO THIS TIP

    Probably one of my biggest pet peeves with IBM Lotus is the poor quality and inaccuracies of its documentation and Knowledge Base articles. It makes it near impossible to administer a Domino farm with any luck. It seems to me that IBM's support costs would be much lower if it published accurate documentation. I've just opened another PMR to get the MailBoxDisableTDNLogging thing straightened out, as I had it wrong all this time!
    —Mark T.

    ******************************************

    IBM also recommends turning off your Tlogs on log.nsf and clubusy.nsf, as well as the mail.boxes. You should do this with any database that has a high number of read/writes done to them.

    I would also recommend that the "MailBoxDisableTXNLogging=1" be inserted into your Notes.ini files through the server's configuration document. This way, if you rebuild the server for any reason, it will be automatically added back to the Notes.ini files.
    —Neeraj J.

    Do you have comments on this tip? Let us know.

    Related information from SearchDomino.com:

  • Tip: Enabling Domino transaction logging
  • Tip: Prevent your transaction log disk from running out of space
  • 15 tips in 15 minutes: Managing Domino servers

    Please let others know how useful this tip is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our tip contest and you could win a prize.

    Rate this Tip
    To rate tips, you must be a member of SearchDomino.com.
    Register now to start rating these tips. Log in if you are already a member.




    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
    HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts