SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
DAOS Technical Overview
     for NELOTUS

       9/15/2009




           1
Patrick Mancuso
 Senior Software Engineer
Domino Server Development

patrick_mancuso@us.ibm.com




            2
Collin Murray
     Program Director
Domino Product Management

   murrayc@us.ibm.com




            3
Agenda
●
    Storage Savings & Messaging Economics
●
    What is DAOS?
●
    How DAOS Works
●
    DAOS Deployment
●
    DAOS Backup and Restore




                           4
Industry Leading Messaging Economics
●
    Lotus Domino addresses key components of TCO
●
    Storage can be a significant piece of IT spend
●
    Recent IBM/Lotus storage savings initiatives
    ■
        Design Compression
    ■
        Document Compression
    ■
        View Index savings
    ■
        Attachment Compression
    ■
        Attachment De-Duplification (DAOS)




                                 5
Storage Savings
●
    40 – 60% storage savings
●
    Reduced administrative costs
●
    Reduced network traffic


●
    IBM saves $$ millions yearly – compression alone!

     "Upgrading to Lotus Domino 8.5 provided an immediate ROI and
     significant cost savings. Implementing DAOS resulted in storage savings
     of 77%, avoiding the need to purchase additional hardware for storage
     and the administrative costs associated with installation, etc."

     - Chief Hobbs, Forest Park Police Department


                                       6
Why DAOS?
●
    Continues storage saving capabilities


●
    Addresses customer concerns:
    ■
        How can I reduce mail file and application size?
    ■
        How can I reduce redundant storage?
    ■
        How can I reduce I/O usage to improve
        performance?
    ■
        How can I reduce storage associated costs?
         ●
             e.g.: disks, backup, administration

                                 7
What is DAOS?
●
    DAOS = Domino Attachment and Object Service
●
    Attachment data stored externally in NLO (Notes Large
    Object) files
●
    Reference to NLO stored in NSF
●
    Multiple documents in multiple NSF files on same
    server can reference same NLO
●
    DAOS shares NO code with SCOS
●
    Transparent - works with all client versions
●
    Available on 8.5+ server only

                              8
What is DAOS?
●
    -->NOT LIMITED TO MAIL<--
●
    Reduces size of NSF files in data directory
●
    Segregates static and dynamic data
●
    Reduces backup footprint
●
    Lower traffic to DAOS repository allows cheaper
    storage alternatives
●
    Reduces I/O, especially on multiple-recipient deliveries
●
    Oh, and...reduces overall storage footprint


                               9
How DAOS Works
●
    NLO Files
    ■
        The filename represents a checksum of the contents
    ■
        Same filename...same contents...regardless of metadata
    ■
        Domino compression and encryption done BEFORE checksum
    ■
        DAOS encryption done AFTER checksum using server key
●
    NLO Storage
    ■
        NLO files stored in numbered subdirectories
    ■
        Files balanced based on max per directory (40K default)
    ■
        NLO file never modified after creation - except to delete it


                                    10
How DAOS Works
●
    Write Operation
    ■
        Attachment data written to temp file (xxxP.NLO)
    ■
        File renamed to checksum name on write completion
    ■
        Entry added to daoscat.nsf with refcount=1
    ■
        Ticket written to NSF




                                  11
How DAOS Works
●
    Write Operation – duplicate
    ■
        Same process for spooling and computing checksum
    ■
        When checksum known, daoscat.nsf searched for existing entry
    ■
        Refcount incremented, temp file deleted
    ■
        Ticket written to NSF




                                  12
How DAOS Works
●
    Read Operation
    ■
        Ticket opened at server
    ■
        DAOS Base Path + Hint + name = NLO name
    ■
        If file not at hint location, daoscat.nsf consulted
    ■
        Contents of NLO file returned to client
    ■
        Client sees no difference in operation




                                     13
How DAOS Works
●
    Document Deletion
    ■
        Ticket read
    ■
        daoscat.nsf entry retrieved, refcount decremented
    ■
        If resulting refcount=0, start deferred deletion clock
●
    NSF Deletion
    ■
        NSF scanned for list of tickets
    ■
        NSF deleted
    ■
        List of tickets processed in background




                                    14
How DAOS Works
●
    Pruning Unreferenced NLO Files
    ■
        Prune done nightly at 2am
    ■
        Scans daoscat.nsf for NLO entries
    ■
        Deletes NLO files with 0 references older than deletion interval
    ■
        Default interval is 30 days




                                      15
How DAOS Works
●
    Quotas and sizing
    ■
        Logical size = NSF size + size of all attachments in DAOS
    ■
        Physical size = NSF size
    ■
        Quota enforcement based on logical size
    ■
        DB properties box displays logical size
    ■
        Domino Administrator files view shows sizes
    ■
        User/script/API view of DB size shows no indication of DAOS




                                    16
How DAOS Works
●
    daoscat.nsf
    ■
        Index of NLO files and reference counts
    ■
        Index of NSF files using DAOS
    ■
        No views
    ■
        Rebuilt from scratch by resync
    ■
        Do NOT back up or restore




                                    17
How DAOS Works
●
    daos.cfg
    ■
        Contains counts of files in each subdir of DAOS repository
    ■
        Created from scratch on startup if missing
    ■
        Do NOT back up or restore




                                    18
How DAOS Works
●
    Replication with non-DAOS copy
    ■
        Notes client, pre-8.5 server, non-DAOS 8.5x server replica
    ■
        Attachment data sent with document contents
    ■
        Client sees no difference




                                    19
How DAOS Works
●
    Synchronization
    ■
        daoscat.nsf maintains master counts
    ■
        Each NSF header contains count and timestamp
    ■
        'Needs Resync' if any discrepancy is detected
         ●
             NSF deleted
         ●
             Reference to NLO with 0 refcount
         ●
             Reference by NSF not listed in daoscat.nsf
         ●
             Difference in daoscat.nsf info and NSF header info
    ■
        NR only affects prune operations
    ■
        Run resync to get back to 'Synchronized' state
    ■
        Resync usually not immediately necessary
                                      20
How DAOS Works
●
    New 8.51 Features
    ■
        Smart Replication
         ●
             If destination server already has NLO, reference sent instead
    ■
        Smart Reply
         ●
             Reply With Attachments – won't re-send attachment content
    ■
        Smart features work for ANY source (including non-DAOS)
         ●
             Destination must be 8.51 DAOS enabled
         ●
             Source must be 8.51 (client or server) w/ODS 51




                                      21
DAOS Deployment
●
    Roll out 8.5 server
     ■
         Upgrade to 8.5 Administrator Client
     ■
         Upgrade Domino Directory design to 8.5 – hub first
     ■   Convert to ODS 51 CREATE_R85_DATABASES=1
     ■
         Enable data + design compression
     ■
         Enable LZ1 attachment compression
     ■
         Enable transaction logging
     ■
         Establish stable environment




                                      22
DAOS Deployment
●
    Location for DAOS directory
     ■   Logical Volume suggested to allow for expansion
     ■   Less I/O intensive than data directory
     ■   Opportunity for cheaper storage solution
●
    Minimum participation size
     ■   DAOS Estimator can help with overall & minimum participation size
     ■   8.50 Default value too small, suggest 64000 instead (8.51 default)
●
    Deferred Deletion Interval
     ■   Coordinate with backup interval
●
    Encryption of NLO files – in addition to normal encryption
     ■   DAOS encryption on by default, disable with DAOS_ENCRYPTION=0

                                       23
DAOS Deployment
●
    Update backup/restore procedures
●
    Disable A/V Scans for NLO files
●
    Enable mail.box for DAOS
●
    Enable mailfiles for DAOS
    ■   compact -c -daos ON somefile.nsf
●
    Verify operation in Domino Administrator
    ■
        Files view




                                24
DAOS Deployment
●
    Some Actual Results – YOURS WILL VARY




                          25
DAOS Deployment
●
    Best DAOS Candidates:
    ■
        Lots of Attachments
    ■
        Lots of Duplication
    ■
        Located on same server




                                 26
DAOS Backup
●
    8.5x contains no changes to B/R API
    ■
        Existing utilities will work
    ■
        Only procedural changes need to be made
         ●
             Back up NSF files first
         ●
             Back up NLO files second
         ●
             Do NOT back up daoscat.nsf, daos.cfg
    ■
        NLO files treated as flat files
    ■
        Interval should be less than Deferred Deletion Interval
    ■
        Encrypted NLO files can NOT be restored to other servers



                                        27
DAOS Backup
●
    NLO files can be backed up incrementally
     ■
         Not modified after initial creation
     ■
         Significant savings in backup processing
     ■
         Backup volume savings tracks closely to NSF footprint
●
    NSF files are smaller
     ■
         Less NSF data to back up




                                      28
DAOS Restore
●
    Restore NSF file
●
    Check for missing NLO files as needed
    ■
        Console: “tell daosmgr listnlo missing somefile.nsf”
    ■
        Only needed if restore is outside Deferred Delete Interval
●
    Resync DAOS catalog
    ■
        Required on any restore operation
●
    NLO files are encrypted with server key by default
    ■
        Encrypted NLO files not portable between servers



                                   29
Q&A
●
    Additional resources
    ■
        DAOS Wiki
         ●
             http://www-10.lotus.com/ldd/dominowiki.nsf/archive?
             openview&title=DAOS&type=cat&cat=null&tag=DAOS
    ■
        DAOS Backup and Restore
         ●
             http://www-10.lotus.com/ldd/dominowiki.nsf/dx/daos-
             backup-and-restore
    ■
        DAOS Estimator
         ●
             http://www.ibm.com/support/docview.wss?
             rs=463&uid=swg24021920




                                     30
© IBM Corporation 2009. All Rights Reserved.

The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information
contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and
strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or
any other materials. Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or
licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software.
References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/
or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a
commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any
activities undertaken by you will result in any specific sales, revenue growth or other results.

Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will
experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage
configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.

All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental
costs and performance characteristics may vary by customer.

IBM, the IBM logo, Lotus, Lotus Notes, Notes, Domino, Quickr, Sametime, WebSphere, UC2, PartnerWorld and Lotusphere are trademarks of International Business Machines
Corporation in the United States, other countries, or both. Unyte is a trademark of WebDialogs, Inc., in the United States, other countries, or both.

UNIX is a registered trademark of The Open Group in the United States and other countries.
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.




                                                                                        31

Más contenido relacionado

La actualidad más candente

MongoDB at eBay
MongoDB at eBayMongoDB at eBay
MongoDB at eBay
MongoDB
 

La actualidad más candente (19)

Implementing Domain Name
Implementing Domain NameImplementing Domain Name
Implementing Domain Name
 
Dustin Black - Red Hat Storage Server Administration Deep Dive
Dustin Black - Red Hat Storage Server Administration Deep DiveDustin Black - Red Hat Storage Server Administration Deep Dive
Dustin Black - Red Hat Storage Server Administration Deep Dive
 
8 technical-dns-workshop-day4
8 technical-dns-workshop-day48 technical-dns-workshop-day4
8 technical-dns-workshop-day4
 
EVCache: Lowering Costs for a Low Latency Cache with RocksDB
EVCache: Lowering Costs for a Low Latency Cache with RocksDBEVCache: Lowering Costs for a Low Latency Cache with RocksDB
EVCache: Lowering Costs for a Low Latency Cache with RocksDB
 
RocksDB storage engine for MySQL and MongoDB
RocksDB storage engine for MySQL and MongoDBRocksDB storage engine for MySQL and MongoDB
RocksDB storage engine for MySQL and MongoDB
 
Vijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresVijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-features
 
The Hive Think Tank: Rocking the Database World with RocksDB
The Hive Think Tank: Rocking the Database World with RocksDBThe Hive Think Tank: Rocking the Database World with RocksDB
The Hive Think Tank: Rocking the Database World with RocksDB
 
Introduction to Hadoop Administration
Introduction to Hadoop AdministrationIntroduction to Hadoop Administration
Introduction to Hadoop Administration
 
7 technical-dns-workshop-day3
7 technical-dns-workshop-day37 technical-dns-workshop-day3
7 technical-dns-workshop-day3
 
Towards Application Driven Storage
Towards Application Driven StorageTowards Application Driven Storage
Towards Application Driven Storage
 
RocksDB meetup
RocksDB meetupRocksDB meetup
RocksDB meetup
 
Vancouver bug enterprise storage and zfs
Vancouver bug   enterprise storage and zfsVancouver bug   enterprise storage and zfs
Vancouver bug enterprise storage and zfs
 
Sizing your Content Databases: Understanding the Limits
Sizing your Content Databases: Understanding the LimitsSizing your Content Databases: Understanding the Limits
Sizing your Content Databases: Understanding the Limits
 
White Paper: Still All on One Server: Perforce at Scale
White Paper: Still All on One Server: Perforce at ScaleWhite Paper: Still All on One Server: Perforce at Scale
White Paper: Still All on One Server: Perforce at Scale
 
MyRocks Deep Dive
MyRocks Deep DiveMyRocks Deep Dive
MyRocks Deep Dive
 
2 technical-dns-workshop-day1
2 technical-dns-workshop-day12 technical-dns-workshop-day1
2 technical-dns-workshop-day1
 
Ceph and RocksDB
Ceph and RocksDBCeph and RocksDB
Ceph and RocksDB
 
MongoDB at eBay
MongoDB at eBayMongoDB at eBay
MongoDB at eBay
 
LBNL Node Health Check Update
LBNL Node Health Check UpdateLBNL Node Health Check Update
LBNL Node Health Check Update
 

Similar a Daos Technical Overview Ne Lotus

InnoDB architecture and performance optimization (Пётр Зайцев)
InnoDB architecture and performance optimization (Пётр Зайцев)InnoDB architecture and performance optimization (Пётр Зайцев)
InnoDB architecture and performance optimization (Пётр Зайцев)
Ontico
 
Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1
sprdd
 
Some thoughts on apache spark & shark
Some thoughts on apache spark & sharkSome thoughts on apache spark & shark
Some thoughts on apache spark & shark
Viet-Trung TRAN
 
A Day in the Life of a Druid Implementor and Druid's Roadmap
A Day in the Life of a Druid Implementor and Druid's RoadmapA Day in the Life of a Druid Implementor and Druid's Roadmap
A Day in the Life of a Druid Implementor and Druid's Roadmap
Itai Yaffe
 

Similar a Daos Technical Overview Ne Lotus (20)

InnoDB architecture and performance optimization (Пётр Зайцев)
InnoDB architecture and performance optimization (Пётр Зайцев)InnoDB architecture and performance optimization (Пётр Зайцев)
InnoDB architecture and performance optimization (Пётр Зайцев)
 
MongoDB: Advantages of an Open Source NoSQL Database
MongoDB: Advantages of an Open Source NoSQL DatabaseMongoDB: Advantages of an Open Source NoSQL Database
MongoDB: Advantages of an Open Source NoSQL Database
 
Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1
 
SolrCloud in Public Cloud: Scaling Compute Independently from Storage - Ilan ...
SolrCloud in Public Cloud: Scaling Compute Independently from Storage - Ilan ...SolrCloud in Public Cloud: Scaling Compute Independently from Storage - Ilan ...
SolrCloud in Public Cloud: Scaling Compute Independently from Storage - Ilan ...
 
Some thoughts on apache spark & shark
Some thoughts on apache spark & sharkSome thoughts on apache spark & shark
Some thoughts on apache spark & shark
 
#dd12 Performance Boost for your IBM Lotus Notes Client
#dd12  Performance Boost for your IBM Lotus Notes Client#dd12  Performance Boost for your IBM Lotus Notes Client
#dd12 Performance Boost for your IBM Lotus Notes Client
 
Spark Meetup at Uber
Spark Meetup at UberSpark Meetup at Uber
Spark Meetup at Uber
 
A Day in the Life of a Druid Implementor and Druid's Roadmap
A Day in the Life of a Druid Implementor and Druid's RoadmapA Day in the Life of a Druid Implementor and Druid's Roadmap
A Day in the Life of a Druid Implementor and Druid's Roadmap
 
Introduction to Hadoop Administration
Introduction to Hadoop AdministrationIntroduction to Hadoop Administration
Introduction to Hadoop Administration
 
Introduction to Hadoop Administration
Introduction to Hadoop AdministrationIntroduction to Hadoop Administration
Introduction to Hadoop Administration
 
#DNUG45 - IBM Notes and Domino Performance Boost - Reloaded
 #DNUG45 - IBM Notes and Domino Performance Boost - Reloaded #DNUG45 - IBM Notes and Domino Performance Boost - Reloaded
#DNUG45 - IBM Notes and Domino Performance Boost - Reloaded
 
Object Compaction in Cloud for High Yield
Object Compaction in Cloud for High YieldObject Compaction in Cloud for High Yield
Object Compaction in Cloud for High Yield
 
CephFS in Jewel: Stable at Last
CephFS in Jewel: Stable at LastCephFS in Jewel: Stable at Last
CephFS in Jewel: Stable at Last
 
Hadoop 3 @ Hadoop Summit San Jose 2017
Hadoop 3 @ Hadoop Summit San Jose 2017Hadoop 3 @ Hadoop Summit San Jose 2017
Hadoop 3 @ Hadoop Summit San Jose 2017
 
Apache Hadoop 3.0 Community Update
Apache Hadoop 3.0 Community UpdateApache Hadoop 3.0 Community Update
Apache Hadoop 3.0 Community Update
 
Redis acc 2015_eng
Redis acc 2015_engRedis acc 2015_eng
Redis acc 2015_eng
 
MyRocks introduction and production deployment
MyRocks introduction and production deploymentMyRocks introduction and production deployment
MyRocks introduction and production deployment
 
Introduction to NoSQL and MongoDB
Introduction to NoSQL and MongoDBIntroduction to NoSQL and MongoDB
Introduction to NoSQL and MongoDB
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout Session
 
Scaling DNS
Scaling DNSScaling DNS
Scaling DNS
 

Más de Strongback Consulting

IBM Innovate 2013: Making Rational HATS a Strategic Investment
IBM Innovate 2013: Making Rational HATS a Strategic InvestmentIBM Innovate 2013: Making Rational HATS a Strategic Investment
IBM Innovate 2013: Making Rational HATS a Strategic Investment
Strongback Consulting
 
IBM Innovate 2011- What every System i Developer Needs to Know
IBM Innovate 2011- What every System i Developer Needs to KnowIBM Innovate 2011- What every System i Developer Needs to Know
IBM Innovate 2011- What every System i Developer Needs to Know
Strongback Consulting
 

Más de Strongback Consulting (20)

IBM Collaborative Lifecycle Management Solution for DevOps v6
IBM Collaborative Lifecycle Management Solution for DevOps v6IBM Collaborative Lifecycle Management Solution for DevOps v6
IBM Collaborative Lifecycle Management Solution for DevOps v6
 
Tips for Developing and Testing IBM HATS Applications
Tips for Developing and Testing IBM HATS ApplicationsTips for Developing and Testing IBM HATS Applications
Tips for Developing and Testing IBM HATS Applications
 
Patterns and Antipatterns for Adopting IBM DevOps Tools
Patterns and Antipatterns for Adopting IBM DevOps ToolsPatterns and Antipatterns for Adopting IBM DevOps Tools
Patterns and Antipatterns for Adopting IBM DevOps Tools
 
How Arcad Skipper pack works for the IBM i
How Arcad Skipper pack works for the IBM iHow Arcad Skipper pack works for the IBM i
How Arcad Skipper pack works for the IBM i
 
Being Smart about C/C++ Development on AIX and Linux
Being Smart about C/C++ Development on AIX and Linux Being Smart about C/C++ Development on AIX and Linux
Being Smart about C/C++ Development on AIX and Linux
 
Making Rational HATS a Strategic Investment
Making Rational HATS a Strategic InvestmentMaking Rational HATS a Strategic Investment
Making Rational HATS a Strategic Investment
 
How to become a Rational Developer for IBM i Power User
How to become a Rational Developer for IBM i Power UserHow to become a Rational Developer for IBM i Power User
How to become a Rational Developer for IBM i Power User
 
Software Archaeology and Code Refactoring with Rational Developer for System ...
Software Archaeology and Code Refactoring with Rational Developer for System ...Software Archaeology and Code Refactoring with Rational Developer for System ...
Software Archaeology and Code Refactoring with Rational Developer for System ...
 
Software Archaeology with RDz and RAA
Software Archaeology with RDz and RAASoftware Archaeology with RDz and RAA
Software Archaeology with RDz and RAA
 
IBM Rational HATS Overview 2013
IBM Rational HATS Overview 2013IBM Rational HATS Overview 2013
IBM Rational HATS Overview 2013
 
Teaching old dogs new tricks with Rational Developer for System i
Teaching old dogs new tricks with Rational Developer for System iTeaching old dogs new tricks with Rational Developer for System i
Teaching old dogs new tricks with Rational Developer for System i
 
IBM Innovate 2013: Making Rational HATS a Strategic Investment
IBM Innovate 2013: Making Rational HATS a Strategic InvestmentIBM Innovate 2013: Making Rational HATS a Strategic Investment
IBM Innovate 2013: Making Rational HATS a Strategic Investment
 
Linux 101
Linux 101Linux 101
Linux 101
 
How a tactical HATS solution became a strategic asset - A Customer Story
How a tactical HATS solution became a strategic asset - A Customer StoryHow a tactical HATS solution became a strategic asset - A Customer Story
How a tactical HATS solution became a strategic asset - A Customer Story
 
Rational collaborative-lifecycle-management-2012
Rational collaborative-lifecycle-management-2012Rational collaborative-lifecycle-management-2012
Rational collaborative-lifecycle-management-2012
 
Build Smarter User Interfaces for Legacy Applications with IBM Rational Host ...
Build Smarter User Interfaces for Legacy Applications with IBM Rational Host ...Build Smarter User Interfaces for Legacy Applications with IBM Rational Host ...
Build Smarter User Interfaces for Legacy Applications with IBM Rational Host ...
 
Collaborative Quality Management
Collaborative Quality ManagementCollaborative Quality Management
Collaborative Quality Management
 
Rational HATS and HIS v8 Overview
Rational HATS and HIS v8 OverviewRational HATS and HIS v8 Overview
Rational HATS and HIS v8 Overview
 
Collaborative Lifecycle Managmenent - an Introduction
Collaborative Lifecycle Managmenent - an IntroductionCollaborative Lifecycle Managmenent - an Introduction
Collaborative Lifecycle Managmenent - an Introduction
 
IBM Innovate 2011- What every System i Developer Needs to Know
IBM Innovate 2011- What every System i Developer Needs to KnowIBM Innovate 2011- What every System i Developer Needs to Know
IBM Innovate 2011- What every System i Developer Needs to Know
 

Último

Último (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 

Daos Technical Overview Ne Lotus

  • 1. DAOS Technical Overview for NELOTUS 9/15/2009 1
  • 2. Patrick Mancuso Senior Software Engineer Domino Server Development patrick_mancuso@us.ibm.com 2
  • 3. Collin Murray Program Director Domino Product Management murrayc@us.ibm.com 3
  • 4. Agenda ● Storage Savings & Messaging Economics ● What is DAOS? ● How DAOS Works ● DAOS Deployment ● DAOS Backup and Restore 4
  • 5. Industry Leading Messaging Economics ● Lotus Domino addresses key components of TCO ● Storage can be a significant piece of IT spend ● Recent IBM/Lotus storage savings initiatives ■ Design Compression ■ Document Compression ■ View Index savings ■ Attachment Compression ■ Attachment De-Duplification (DAOS) 5
  • 6. Storage Savings ● 40 – 60% storage savings ● Reduced administrative costs ● Reduced network traffic ● IBM saves $$ millions yearly – compression alone! "Upgrading to Lotus Domino 8.5 provided an immediate ROI and significant cost savings. Implementing DAOS resulted in storage savings of 77%, avoiding the need to purchase additional hardware for storage and the administrative costs associated with installation, etc." - Chief Hobbs, Forest Park Police Department 6
  • 7. Why DAOS? ● Continues storage saving capabilities ● Addresses customer concerns: ■ How can I reduce mail file and application size? ■ How can I reduce redundant storage? ■ How can I reduce I/O usage to improve performance? ■ How can I reduce storage associated costs? ● e.g.: disks, backup, administration 7
  • 8. What is DAOS? ● DAOS = Domino Attachment and Object Service ● Attachment data stored externally in NLO (Notes Large Object) files ● Reference to NLO stored in NSF ● Multiple documents in multiple NSF files on same server can reference same NLO ● DAOS shares NO code with SCOS ● Transparent - works with all client versions ● Available on 8.5+ server only 8
  • 9. What is DAOS? ● -->NOT LIMITED TO MAIL<-- ● Reduces size of NSF files in data directory ● Segregates static and dynamic data ● Reduces backup footprint ● Lower traffic to DAOS repository allows cheaper storage alternatives ● Reduces I/O, especially on multiple-recipient deliveries ● Oh, and...reduces overall storage footprint 9
  • 10. How DAOS Works ● NLO Files ■ The filename represents a checksum of the contents ■ Same filename...same contents...regardless of metadata ■ Domino compression and encryption done BEFORE checksum ■ DAOS encryption done AFTER checksum using server key ● NLO Storage ■ NLO files stored in numbered subdirectories ■ Files balanced based on max per directory (40K default) ■ NLO file never modified after creation - except to delete it 10
  • 11. How DAOS Works ● Write Operation ■ Attachment data written to temp file (xxxP.NLO) ■ File renamed to checksum name on write completion ■ Entry added to daoscat.nsf with refcount=1 ■ Ticket written to NSF 11
  • 12. How DAOS Works ● Write Operation – duplicate ■ Same process for spooling and computing checksum ■ When checksum known, daoscat.nsf searched for existing entry ■ Refcount incremented, temp file deleted ■ Ticket written to NSF 12
  • 13. How DAOS Works ● Read Operation ■ Ticket opened at server ■ DAOS Base Path + Hint + name = NLO name ■ If file not at hint location, daoscat.nsf consulted ■ Contents of NLO file returned to client ■ Client sees no difference in operation 13
  • 14. How DAOS Works ● Document Deletion ■ Ticket read ■ daoscat.nsf entry retrieved, refcount decremented ■ If resulting refcount=0, start deferred deletion clock ● NSF Deletion ■ NSF scanned for list of tickets ■ NSF deleted ■ List of tickets processed in background 14
  • 15. How DAOS Works ● Pruning Unreferenced NLO Files ■ Prune done nightly at 2am ■ Scans daoscat.nsf for NLO entries ■ Deletes NLO files with 0 references older than deletion interval ■ Default interval is 30 days 15
  • 16. How DAOS Works ● Quotas and sizing ■ Logical size = NSF size + size of all attachments in DAOS ■ Physical size = NSF size ■ Quota enforcement based on logical size ■ DB properties box displays logical size ■ Domino Administrator files view shows sizes ■ User/script/API view of DB size shows no indication of DAOS 16
  • 17. How DAOS Works ● daoscat.nsf ■ Index of NLO files and reference counts ■ Index of NSF files using DAOS ■ No views ■ Rebuilt from scratch by resync ■ Do NOT back up or restore 17
  • 18. How DAOS Works ● daos.cfg ■ Contains counts of files in each subdir of DAOS repository ■ Created from scratch on startup if missing ■ Do NOT back up or restore 18
  • 19. How DAOS Works ● Replication with non-DAOS copy ■ Notes client, pre-8.5 server, non-DAOS 8.5x server replica ■ Attachment data sent with document contents ■ Client sees no difference 19
  • 20. How DAOS Works ● Synchronization ■ daoscat.nsf maintains master counts ■ Each NSF header contains count and timestamp ■ 'Needs Resync' if any discrepancy is detected ● NSF deleted ● Reference to NLO with 0 refcount ● Reference by NSF not listed in daoscat.nsf ● Difference in daoscat.nsf info and NSF header info ■ NR only affects prune operations ■ Run resync to get back to 'Synchronized' state ■ Resync usually not immediately necessary 20
  • 21. How DAOS Works ● New 8.51 Features ■ Smart Replication ● If destination server already has NLO, reference sent instead ■ Smart Reply ● Reply With Attachments – won't re-send attachment content ■ Smart features work for ANY source (including non-DAOS) ● Destination must be 8.51 DAOS enabled ● Source must be 8.51 (client or server) w/ODS 51 21
  • 22. DAOS Deployment ● Roll out 8.5 server ■ Upgrade to 8.5 Administrator Client ■ Upgrade Domino Directory design to 8.5 – hub first ■ Convert to ODS 51 CREATE_R85_DATABASES=1 ■ Enable data + design compression ■ Enable LZ1 attachment compression ■ Enable transaction logging ■ Establish stable environment 22
  • 23. DAOS Deployment ● Location for DAOS directory ■ Logical Volume suggested to allow for expansion ■ Less I/O intensive than data directory ■ Opportunity for cheaper storage solution ● Minimum participation size ■ DAOS Estimator can help with overall & minimum participation size ■ 8.50 Default value too small, suggest 64000 instead (8.51 default) ● Deferred Deletion Interval ■ Coordinate with backup interval ● Encryption of NLO files – in addition to normal encryption ■ DAOS encryption on by default, disable with DAOS_ENCRYPTION=0 23
  • 24. DAOS Deployment ● Update backup/restore procedures ● Disable A/V Scans for NLO files ● Enable mail.box for DAOS ● Enable mailfiles for DAOS ■ compact -c -daos ON somefile.nsf ● Verify operation in Domino Administrator ■ Files view 24
  • 25. DAOS Deployment ● Some Actual Results – YOURS WILL VARY 25
  • 26. DAOS Deployment ● Best DAOS Candidates: ■ Lots of Attachments ■ Lots of Duplication ■ Located on same server 26
  • 27. DAOS Backup ● 8.5x contains no changes to B/R API ■ Existing utilities will work ■ Only procedural changes need to be made ● Back up NSF files first ● Back up NLO files second ● Do NOT back up daoscat.nsf, daos.cfg ■ NLO files treated as flat files ■ Interval should be less than Deferred Deletion Interval ■ Encrypted NLO files can NOT be restored to other servers 27
  • 28. DAOS Backup ● NLO files can be backed up incrementally ■ Not modified after initial creation ■ Significant savings in backup processing ■ Backup volume savings tracks closely to NSF footprint ● NSF files are smaller ■ Less NSF data to back up 28
  • 29. DAOS Restore ● Restore NSF file ● Check for missing NLO files as needed ■ Console: “tell daosmgr listnlo missing somefile.nsf” ■ Only needed if restore is outside Deferred Delete Interval ● Resync DAOS catalog ■ Required on any restore operation ● NLO files are encrypted with server key by default ■ Encrypted NLO files not portable between servers 29
  • 30. Q&A ● Additional resources ■ DAOS Wiki ● http://www-10.lotus.com/ldd/dominowiki.nsf/archive? openview&title=DAOS&type=cat&cat=null&tag=DAOS ■ DAOS Backup and Restore ● http://www-10.lotus.com/ldd/dominowiki.nsf/dx/daos- backup-and-restore ■ DAOS Estimator ● http://www.ibm.com/support/docview.wss? rs=463&uid=swg24021920 30
  • 31. © IBM Corporation 2009. All Rights Reserved. The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/ or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results. Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here. All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer. IBM, the IBM logo, Lotus, Lotus Notes, Notes, Domino, Quickr, Sametime, WebSphere, UC2, PartnerWorld and Lotusphere are trademarks of International Business Machines Corporation in the United States, other countries, or both. Unyte is a trademark of WebDialogs, Inc., in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others. 31