SYS-CON MEDIA Authors: Roberto Medrano, Dmitriy Stepanov, Gilad Parann-Nissany, Srinivasan Sundara Rajan, Sean Houghton

Related Topics: .NET, Virtualization, Search, Silverlight, Web 2.0, Cloud Expo

.NET: Blog Post

Best Practices for Virtualizing Microsoft Exchange in Private Clouds

Resource-intensive scale-out nature of heavy duty workload requires special planning

In my Private Cloud talks with IT Pros, how best to virtualize Microsoft Exchange workloads, regardless of underlying hypervisor, has been a recurring hot topic area of discussion.  At Microsoft Tech Ed 2012, Jeff Mealiffe, Senior Program Manager on the Exchange team and responsible for Exchange virtualization guidance, delivered a great session on "Best Practices for Virtualizing Microsoft Exchange Server 2010".  This is a great resource to study when planning virtualized Exchange deployments! Below, I've included the following items to help you get started with virtualizing Exchange:

  • The recorded session video
  • A link to the downloadable slide deck
  • An indexed recap of my session notes
  • Links to additional tools and resources that I've personally found helpful

I'm definitely looking forward to building my next virtualized deployment of Exchange 2010 on Windows Server 2012 RTM when it releases on Sept 4th!  The increased VM resource densities in Hyper-V v3 of up to 64 virtual processors and 1TB RAM per virtual machine will be a big boost to virtualizing mission critical heavy-duty workloads like Exchange mailbox server roles and multi-role servers.

Download a copy of the session slide deck.

Session Notes with Video Index

  • Supported Exchange Virtualization Scenarios [ 4:00 ]
    • Exchange 2010 SP1 or later
    • Hyper-V or any hypervisor in the Server Virtualization Validation Program (SVVP) - link provided below.
  • Items Not Supported when Virtualizing Exchange [ 7:00 ]
    • Hypervisor snapshots
    • Differencing / Delta disks
    • CPU oversubscription in a ratio > 2:1
    • Applications running on the parent / root partition
    • VSS backups of VMs from root
    • NAS storage of virtual disk files
  • JetStress Support in Virtualized Environments [ 12:10 ]
    • Supported in VMs on Microsoft Windows Server 2008 R2 or later
    • Supported in VMs on Microsoft Hyper-V Server 2008 R2 or later
    • Supported in VMs on VMware ESX 4.1 or later
    • More Info - http://bit.ly/HP8G0f
  • Big Problems to Avoid for Production Exchange VMs [ 17:53 ]
    • Dynamic Memory / Memory Overcommit  [ 18:00 ]
    • VM Snapshots [ 31:57 ]
    • CPU Oversubscription [ 35:05 ]
  • Overview of Best Practices [ 38:05 ]
    • Hypervisor adds CPU overhead - 10-12% in our Exchange 2010 tests [ 39:22 ]
    • Size for physical and provide those resources to each VM [ 40:31 ]
    • Exchange is architected for scale-out scenarios, avoid "all eggs in one basket" [ 40:48 ]
  • Resource Sizing [ 43:16 ]
    • Start with physical sizing process - use calculator (listed below)
    • Account for virtualization overhead (10-12%)
    • Determine VM placement to account for HA
    • Size root servers, storage and network infrastructure
  • Guest VM sizing [ 47:18 ]
    • Size Mailbox role first - other role sizes factored from Mailbox server requirements
    • Considerations for use of Multi-role servers - Mailbox, Hub and CAS roles on single VM
  • Unified Messaging Sizing [ 49:08 ]
    • Min 4 Virtual Processors (VP)
    • VM with 4VP & 16GB memory can handle 40 concurrent calls with Voice Mail Preview (65 calls without)
  • Storage Decisions [ 52:47 ]
    • Exchange storage separate from Guest OS virtual disk physical storage
    • Must be fixed virtual disk, SCSI pass-through (RDM) or iSCSI (terminated at host or guest)
    • SCSI pass-through (RDM) recommended to host queues, DBs and logfile streams unless using Hyper-V Live Migration where CSV is recommended
    • Must be block-level storage - NAS volumes not supported
  • Virtual Processors [ 56:04 ]
    • Prefer smaller number of multi-core VMs vs many single-core VMs
    • Don't assume that a hyperthreaded (SMT) CPU is a full CPU core
  • Private Cloud [ 57:08 ]
    • Good model for providing virtual infrastructure resources to Exchange, but be careful with "dynamic" cloud capabilities
    • Be prepared to apply different resource management policies to Exchange VMs
  • Host-based Failover Clustering [ 59:41 ]
    • Not an "Exchange Aware" HA Solution - Does not provide HA in the event of storage failure / data corruption
    • If using, combine with DAG when possible to provide maximum HA - Admin can re-balance DAG after failover to redistribute
  • VM Live Migration and Exchange [ 01:04:50 ]
    • DAG does not need to be dynamically re-balanced
    • Use CSV rather than pass-through LUNS for all Mailbox VM storage
    • Consider relaxing cluster heartbeat timeouts (5 seconds = default, 30 seconds = max recommended)
    • Size network appropriately for Live Migration
  • VM Placement [ 01:08:26 ]
    • Don't co-locate DAG database copies on same physical hosts
    • Distribute VMs running same roles to different physical hosts
    • If not using multi-role VM's, consider isolating mailbox and hub role VMs on separate physical hosts if possible

Additional Tools and Resources

Build Your Lab! Build Your Lab! Download Windows Server 2012
Build Your Lab in the Cloud! Don’t Have a Lab? Build Your Lab in the Cloud with Windows Azure Virtual Machines
Join our "Early Experts" study group! Want to Get Certified? Join our Windows Server 2012 "Early Experts" Study Group
Like IT Pros ROCK! Do IT Pros ROCK? Please VOTE for us!

More Stories By Keith Mayer

Keith Mayer is a Technical Evangelist at Microsoft focused on Windows Infrastructure, Data Center Virtualization, Systems Management and Private Cloud. Keith has over 17 years of experience as a technical leader of complex IT projects, in diverse roles, such as Network Engineer, IT Manager, Technical Instructor and Consultant. He has consulted and trained thousands of IT professionals worldwide on the design and implementation of enterprise technology solutions.

Keith is currently certified on several Microsoft technologies, including System Center, Hyper-V, Windows, Windows Server, SharePoint and Exchange. He also holds other industry certifications from IBM, Cisco, Citrix, HP, CheckPoint, CompTIA and Interwoven.

Keith is the author of the IT Pros ROCK! Blog on Microsoft TechNet, voted as one of the Top 50 "Must Read" IT Blogs.

Keith also manages the Windows Server 2012 "Early Experts" Challenge - a FREE online study group for IT Pros interested in studying and preparing for certification on Windows Server 2012. Join us and become the next "Early Expert"!

Latest Stories
"There is a natural synchronization between the business models, the IoT is there to support ,” explained Brendan O'Brien, Co-founder and Chief Architect of Aria Systems, in this SYS-CON.tv interview at the 15th International Cloud Expo®, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
The term culture has had a polarizing effect among DevOps supporters. Some propose that culture change is critical for success with DevOps, but are remiss to define culture. Some talk about a DevOps culture but then reference activities that could lead to culture change and there are those that talk about culture change as a set of behaviors that need to be adopted by those in IT. There is no question that businesses successful in adopting a DevOps mindset have seen departmental culture change, ...
The Internet of Things promises to transform businesses (and lives), but navigating the business and technical path to success can be difficult to understand. In his session at @ThingsExpo, Sean Lorenz, Technical Product Manager for Xively at LogMeIn, demonstrated how to approach creating broadly successful connected customer solutions using real world business transformation studies including New England BioLabs and more.
The security devil is always in the details of the attack: the ones you've endured, the ones you prepare yourself to fend off, and the ones that, you fear, will catch you completely unaware and defenseless. The Internet of Things (IoT) is nothing if not an endless proliferation of details. It's the vision of a world in which continuous Internet connectivity and addressability is embedded into a growing range of human artifacts, into the natural world, and even into our smartphones, appliances, a...
SYS-CON Media announced that Centrify, a provider of unified identity management across cloud, mobile and data center environments that delivers single sign-on (SSO) for users and a simplified identity infrastructure for IT, has launched an ad campaign on Cloud Computing Journal. The ads focus on security: how an organization can successfully control privilege for all of the organization’s identities to mitigate identity-related risk without slowing down the business, and how Centrify provides ...
"Matrix is an ambitious open standard and implementation that's set up to break down the fragmentation problems that exist in IP messaging and VoIP communication," explained John Woolf, Technical Evangelist at Matrix, in this SYS-CON.tv interview at @ThingsExpo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today Isomorphic Software, the global leader in high-end, web-based business applications, will exhibit at SYS-CON's DevOps Summit 2015 New York, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. Isomorphic Software is the global leader in high-end, web-based business applications. We develop, market, and support the SmartClient & Smart GWT HTML5/Ajax platform, combining the productivity and performance of traditional desktop software ...
DevOps Summit 2015 New York, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that it is now accepting Keynote Proposals. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to wait for long development cycles that produce software that is obsolete...
The 3rd International @ThingsExpo, co-located with the 16th International Cloud Expo – to be held June 9-11, 2015, at the Javits Center in New York City, NY – is now accepting Hackathon proposals. Hackathon sponsorship benefits include general brand exposure and increasing engagement with the developer ecosystem. At Cloud Expo 2014 Silicon Valley, IBM held the Bluemix Developer Playground on November 5 and ElasticBox held the DevOps Hackathon on November 6. Both events took place on the expo fl...
We are reaching the end of the beginning with WebRTC, and real systems using this technology have begun to appear. One challenge that faces every WebRTC deployment (in some form or another) is identity management. For example, if you have an existing service – possibly built on a variety of different PaaS/SaaS offerings – and you want to add real-time communications you are faced with a challenge relating to user management, authentication, authorization, and validation. Service providers will w...
There's Big Data, then there's really Big Data from the Internet of Things. IoT is evolving to include many data possibilities like new types of event, log and network data. The volumes are enormous, generating tens of billions of logs per day, which raise data challenges. Early IoT deployments are relying heavily on both the cloud and managed service providers to navigate these challenges. In her session at Big Data Expo®, Hannah Smalltree, Director at Treasure Data, discussed how IoT, Big D...
The Internet of Things is tied together with a thin strand that is known as time. Coincidentally, at the core of nearly all data analytics is a timestamp. When working with time series data there are a few core principles that everyone should consider, especially across datasets where time is the common boundary. In his session at Internet of @ThingsExpo, Jim Scott, Director of Enterprise Strategy & Architecture at MapR Technologies, discussed single-value, geo-spatial, and log time series dat...
The Internet of Things will put IT to its ultimate test by creating infinite new opportunities to digitize products and services, generate and analyze new data to improve customer satisfaction, and discover new ways to gain a competitive advantage across nearly every industry. In order to help corporate business units to capitalize on the rapidly evolving IoT opportunities, IT must stand up to a new set of challenges. In his session at @ThingsExpo, Jeff Kaplan, Managing Director of THINKstrateg...
Fundamentally, SDN is still mostly about network plumbing. While plumbing may be useful to tinker with, what you can do with your plumbing is far more intriguing. A rigid interpretation of SDN confines it to Layers 2 and 3, and that's reasonable. But SDN opens opportunities for novel constructions in Layers 4 to 7 that solve real operational problems in data centers. "Data center," in fact, might become anachronistic - data is everywhere, constantly on the move, seemingly always overflowing. Net...
DevOps Summit 2015 New York, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that it is now accepting Keynote Proposals. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to wait for long development cycles that produce software that is obsolete...