Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Notes and Domino wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category IBM iNotes 9.0 Social Edition - Administering IBM iNotes 9.0 Social Edition - Using IBM Notes 9.0 Social Edition IBM Notes Traveler 9.0 - Administering IBM Notes Traveler 9.0 - Using Lotus Notes 8.5.3 Documentation Lotus Notes Traveler 8.5.3 Administration Documentation Lotus Notes Traveler 8.5.3 Usage Documentation Custom Search Scope...
Search
Community Articles > Lotus Domino > Domino admin > Demystifying the Domino console commands for DAOS
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Susanna Doyle
Contribution Summary:
  • Articles authored: 19
  • Articles edited: 86
  • Comments Posted: 4

Recent articles by this author

Where to find supplementary information on SAML

Configuring IBM Domino for SAML requires substantial setup in products whose documentation is not part of IBM Domino Administrator Help. Several "cookbook" articles on this wiki help the Domino administrator with these tasks.

What's New in IBM Domino 9.0 Social Edition

What's new in IBM Domino 9.0 Social Edition? This topic describes the new features of the IBM® Domino® server and Domino Administrator client in release 9.0 Social Edition. It also describes new Domino Administrator functionality that supports IBM Notes® installation and upgrade, Notes ...

StartupDBName

How to fix search in your Lotus Domino Administrator Help

Have you ever searched for a term in the Lotus Domino Administrator Help database, seen result topics in the list that seemed promising, but when you opened the topics, the term you searched for was not actually in the topics? This is an indication that the Help's fulltext index is no longer ...

Preventing spoke servers from modifying design elements on a hub server

In general, for servers, you enable all the privileges that the selected access level allows. This ensures that the server has access that is as high as users might have and can replicate all user changes. However, to prevent certain changes from replicating without deselecting privileges for ...

Community articleDemystifying the Domino console commands for DAOS

Added by Susanna Doyle | Edited by IBM contributor Susanna Doyle on November 25, 2009 | Version 8
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: DAOS, 8.5, 8.5.x
Demystifying the Domino console commands for DAOS

The Show Directory and Show Stat commands reveal subtleties of DAOS operation, here explained by Gary Rheaume.
_

There are two levels of control for the DAOS feature:
1. The DAOS engine must be enabled globally, at the Domino server level. This is done using the Server configuration document.
2. The DAOS feature can be enabled or disabled for individual Notes databases. This is done using the Advanced tab of the Database properties dialog box, the Notes Administrator client, or the compact utility.

You can think of the server setting as the master switch, and the database properties as a toggle switch for each database.

When a database on our Domino server receives an attachment, the Domino server will use DAOS to store the attachment if....
1. The DAOS feature is enabled at the Domino server level
2. The DAOS option is enabled for the Notes database receiving the attachment.
3. The attachment is larger than the minimum DAOS size setting specified in the Server document.

This is pretty straight forward and easy to follow. To demonstrate this, I will create two mail files, marco.nsf and gary.nsf, on my Domino server.
- tmail\marco.nsf is DAOS enabled
- tmail\gary.nsf is not DAOS enabled.

So, if I use the Domino console commands for my server I see this:

 
sh stat daos.engine.Status

DAOS.Engine.Status = Enabled <<< the DAOS feature is enabled for the server
1 statistics found

and

 
sh dir tmail

DbName Version Log DAOS ---Modified Time

tmail\marco.nsf V8:51 Yes Yes 08/26/2009 07:50:02 AM
tmail\gary.nsf V8:51 Yes No 08/26/2009 08:03:01 AM
Total files: 2

The DAOS property is on for marco.nsf, and off for gary.nsf

To get more detailed DAOS info, I append the -daos option to the show dir command :

 
sh dir tmail -daos

DbName Version Logged ---Modified Time
State Objects Total Bytes ---Last Synchronized---

tmail\marco.nsf V8:51 Yes 08/26/2009 07:50:02 AM Read/Write 0 0
tmail\gary.nsf V8:51 Yes 08/26/2009 08:03:01 AM Not Enabled
Total files: 2

The previous command indicates whether the DAOS property is off or on, but the -daos option shows more specifically that marco.nsf is set to both read and write objects from DAOS

Now, let's add some objects to marco.nsf by sending Marco an email with 3 attachments, and see what the Show Directory command reveals:

 
sh dir tmail\marco.nsf -daos

DbName Version Logged ---Modified Time
State Objects Total Bytes ---Last Synchronized---

tmail\marco.nsf V8:51 Yes 08/26/2009 08:44:48 AM Read/Write 3 805122 08/26/2009 08:44:48 AM
Total files: 1
 


So, we correctly see that marco.nsf has 3 objects stored in DAOS.

Now..... what would happen if for some reason we turned off the DAOS property on marco.nsf ?

 
l compact -daos off tmail\marco.nsf

08/26/2009 08:47:59 AM Informational, DAOS has been disabled for database tmail\marco.nsf.
08/26/2009 08:47:59 AM Informational, to move objects out of DAOS and disable DAOS you need to perform a copy-style compaction with the -daos tag (-C -daos off) on tmail\marco.nsf.
08/26/2009 08:48:01 AM Database compactor process shutdown

 
sh dir tmail\marco.nsf -daos

DbName Version Logged ---Modified Time
State Objects Total Bytes ---Last Synchronized---

tmail\marco.nsf V8:51 Yes 08/26/2009 08:47:59 AM Read Only 3 805122 08/26/2009 08:44:48 AM
Total files: 1

The state changes to Read Only because marco.nsf no longer has the DAOS property set; but because marco.nsf does have existing references into DAOS, it is still connected to DAOS. The Read Only state means "will no longer save objects to DAOS, but will continue to read existing objects from DAOS."

In order to disconnect marco.nsf completely from DAOS, we need to use compact to move the existing objects out of DAOS and insert them back into the Notes database ( in the way that databases with an ODS 48 level do).

 
l compact -c -daos off tmail\marco.nsf

08/26/2009 08:55:25 AM Compacting tmail\marco.nsf (marco), -c tmail\marco.nsf
08/26/2009 08:55:30 AM Recovery Manager: Assigning new DBIID for C:\Lotus\Domino\Azkaban\data\tmail\marco.nsf (need new backup for media recovery).
08/26/2009 08:55:31 AM Database compactor process shutdown

Now, marco.nsf no longer has DAOS references and is fully disconnected from DAOS.

 
sh dir tmail\marco.nsf -daos

DbName Version Logged ---Modified Time
State Objects Total Bytes ---Last Synchronized---

tmail\marco.nsf V8:51 Yes 08/26/2009 08:47:59 AM Not Enabled
Total files: 1


Summary

There are three possible DAOS states for a database:
- Not Enabled not using DAOS
- Read Only not creating any new DAOS objects, but still has references into DAOS
- Read/Write will create any new qualifying objects in DAOS and will read objects from DAOS

  • Edit
  • More Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (2)
collapsed Versions (2)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (8)Nov 25, 2009 3:02:56 PMSusanna Doyle  IBM contributor
6Aug 26, 2009 11:08:35 AMSusanna Doyle  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use