Home > Benefits of virtualizing Lotus Domino servers
Tutorial:
EMAIL THIS

Benefits of virtualizing Lotus Domino servers

16 Apr 2009 | SearchDomino.com

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

Traditionally, Lotus Domino servers have very high resource utilization (disk, network, CPU and memory). Even so, they are great candidates for virtualization. There are three critical points to successfully virtualize Domino servers: Know your workloads, architect your virtual hardware correctly and properly configure Domino servers and virtual host servers. In this tutorial from contributor Eric Siebert, you'll learn everything you need to know to properly virtualize Domino servers.

You may wonder why you would want to virtualize a busy Domino server if it's already using all resources of a physical server at a maximum. The main point of virtualization is running multiple servers on a virtual host to consolidate hardware and not waste resources, which can be common on many servers.

But virtualization offers many benefits beyond simple consolidation, such as protecting from hardware failure , snapshots for easy rollbacks when upgrading, hardware provisioning when you need to add or change hardware and more.

  Know your workloads  

Knowing your workloads means that you should use performance monitoring tools on existing Domino servers to get a glimpse of average and peak utilization of the four main resources -- CPU, memory, disk and network. Measure this utilization for at least a week -- preferably a month -- before virtualizing so that you have enough data to truly understand your resource requirements.

This enables you to ensure that you size your virtual hosts correctly and choose the appropriate hardware. VMware's Capacity Planner tool can be used to assess your current environment and ensure you build your virtual hardware correctly.

  Architect hardware correctly  

A crucial decision when choosing hardware for virtual hosts is choosing a storage subsystem, as Domino is very I/O intensive. Using the wrong type of storage can result in a bottleneck that will reduce server performance.

Fibre Channel storage area networks (SANs) offer the best performance, but iSCSI SANs are also a good choice. If you choose an iSCSI storage solution, it's helpful to use a hardware initiator because it offloads the overhead from your host's CPUs.

Note: Using a network file system (NFS) storage solution is not recommended when virtualizing Domino servers.

You should try to use the fastest RPM hard drives that you can. RPM drives that reach 15,000 will help reduce latency and improve disk operation performance. These will also result in higher I/O operations per second and decreased average seek times. You should also configure RAID groups with as many spindles (drives) as possible. This ensures that disk I/O is balanced across several drives.

If you use local storage for Domino servers, try to get the largest cache possible on your disk controller and use a battery-backed write cache (BBWC). This will provide increased performance and write cache data protection.

When it comes to CPU, ensure that you have enough cores available on your host server to handle a vSMP Domino server virtual machine (VM). If you plan to use a four vCPU VM, your host server should have more than four cores available. Otherwise, the hypervisor's CPU scheduler component will have difficulty finding free cores when trying to schedule the CPU time for the VM. This will result in slow performance.

Plan on at least double the number of cores compared to the greatest amount you will assign to any VM. For example, if you're using a four vCPU VM, make sure you have at least eight cores (i.e. two quad-core CPUs). For a two vCPU VM, you need at least four cores (i.e. two dual-core CPUs).

Domino servers prefer a large amount of memory, so make sure that your hosts have adequate physical RAM available. However, it is possible to over-commit memory on a VMware ESX host. Be certain that you don't run out of physical memory or your VMs will start switching to disk and performance will suffer.

When it comes to network interface cards (NICs), make sure you have enough to ensure that there is adequate bandwidth available for the Domino servers. Domino servers can generate a tremendous amount of network traffic as users and servers replicate with the mail router during email delivery.

You should also try to isolate client traffic on separate NICs from the host server traffic. Be sure that you have enough physical NICs to accommodate this. NICs are fairly inexpensive and you can get up to four on a single physical card, so you don't want to skimp here.

  Configure physical and virtual hardware  

After you've planned the physical hardware, you must make sure that you configure it --- and your virtual hardware -- properly. Here are some tips to do so:

  • When assigning vCPUs to a VM, don't go overboard. Most small to medium Domino workloads will run fine with a single vCPU. Larger Domino workloads work best with two or more vCPUs, as Domino is very multi-threaded. You may have to test configurations to find the number that is right for your hosts.

    You can always add more vCPUs later, if necessary. The fewer vCPUs that a VM has, the easier it is for the hypervisor to schedule CPU time. You should also set CPU reservations for use shares to ensure the Domino server has priority access to host CPUs.

  • When assigning virtual memory to a Domino server VM, make sure to allot enough memory based on its needs. You don't want to starve the VM if it needs more memory. Try not to use too much, as this can be a waste of valuable resources. You'll also want to set memory reservations to guarantee that the VM can access physical host memory and will not swap to disk if host memory is exhausted.
  • When creating vSwitches for Domino server VMs, create separate ones for client traffic and for Domino server traffic. Isolate all replication and mail routing traffic between Domino servers from the client traffic. You should also avoid connecting a single Domino server to both internal and external networks.

    If you want to access Domino servers from the Internet, create a separate vSwitch for external access only and connect your Domino server only to that vSwitch. Users can then use the Domino pass-thru feature to connect to internal Domino servers.

    If you intend to use iNotes, you'll want to do one of two things:

    1. Isolate a Domino server in your data management zone (DMZ) and have it replicate user mail files with internal Domino servers.
    2. Use a reverse proxy server to have users access their mail files on internal Domino servers from the Internet.

  • When configuring virtual disks for your VMs, there isn't a big performance difference between using raw-device mappings (RDMs) and traditional virtual disks on VMFS volumes. I recommend using traditional virtual disks.

    You should also plan to use multiple virtual disks on Domino server VMs that are divided onto multiple physical logical unit numbers (LUNs) or RAID groups. Make sure to put your OS, Domino databases and transaction logs on separate virtual disks.

  • Be sure to align your VM file system and guest disk partitions for maximum throughput and minimum latency. Read VMware documentation to better understand how to do this. The company's article on aligning disk partitions to boost virtual machine performance can also be helpful. You may also want to to boost performance.

ABOUT THE AUTHOR:   
Eric Siebert
Eric Seibert
Eric Siebert is a 25-year IT veteran and former long-time Lotus Notes/Domino administrator who specializes in VMware system administration. He is a guru-status moderator on the VMware community VMTN forums and maintains VMware-land.com, a VI3 information site. He is also the author of the upcoming book VI3 Implementation and Administration, which is due out in June 2009 from Pearson Publishing.


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



RELATED CONTENT
Lotus Domino Server 8
Looking back at IBM Lotus in 2009 and ahead to 2010
Displaying a custom icon view column in Xpages
Build your own Domino multi-server test environment
Setting up a Domino 8.5 XPages example
Four-step application rollout with Notes 8.0.1 Widgets
An introduction to ID Vault in Lotus Notes/Domino 8.5
Ensure maximum performance from virtualized Lotus Domino servers
Build a complete Lotus Domino 8.5 server for $400
Configuring Domino Domain Monitoring (DDM)
How to move Notes databases off Domino 8 servers and save disk space

Lotus Notes Domino Performance
Top 10 Lotus Notes/Domino administration tips of 2009
Domino Mailbag: Notes/Domino clustering
Domino Domain Monitoring hints and gotchas
Using Domino Administrator to manage client settings
Build your own Domino multi-server test environment
How the Agent Profiler tool improves Notes/Domino performance
Configuring Domino Domain Monitoring (DDM)
How to move Notes databases off Domino 8 servers and save disk space
What is Notes 8.5's DAOS (Domino Attachment and Object Storage) feature?
Domino server setting and email policy tricks admins must know

Lotus Domino Server 6
A guided tour of the Lotus Notes Domino blogosphere
How to fix the size limitation on Lotus Notes summary text fields
Routing and replication issues with remote Lotus Domino servers
Cracked users' HTTP passwords still a threat on many Lotus Notes R6 and R7 domains
Using Microsoft Outlook with a Lotus Domino server
Top 10 Notes/Domino administration tips of 2006
Easily find a string in a Lotus Domino server log
Putting a stop to incoming spam on Lotus Notes 6.5
Encryption and privacy in Lotus Notes Domino
Can I use PHP to change tables in MySQL DB running off Domino?

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




Lotus Notes Administration Solutions for Performance, Monitoring, Mailbox Management and Synchronization
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 - 2010, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts