Welcome!

Related Topics: Microsoft Cloud, Containers Expo Blog, Cognitive Computing , Silverlight, Agile Computing, @CloudExpo

Microsoft Cloud: 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
The speed of software changes in growing and large scale rapid-paced DevOps environments presents a challenge for continuous testing. Many organizations struggle to get this right. Practices that work for small scale continuous testing may not be sufficient as the requirements grow. In his session at DevOps Summit, Marc Hornbeek, Sr. Solutions Architect of DevOps continuous test solutions at Spirent Communications, explained the best practices of continuous testing at high scale, which is rele...
Web Real-Time Communication APIs have quickly revolutionized what browsers are capable of. In addition to video and audio streams, we can now bi-directionally send arbitrary data over WebRTC's PeerConnection Data Channels. With the advent of Progressive Web Apps and new hardware APIs such as WebBluetooh and WebUSB, we can finally enable users to stitch together the Internet of Things directly from their browsers while communicating privately and securely in a decentralized way.
Hardware virtualization and cloud computing allowed us to increase resource utilization and increase our flexibility to respond to business demand. Docker Containers are the next quantum leap - Are they?! Databases always represented an additional set of challenges unique to running workloads requiring a maximum of I/O, network, CPU resources combined with data locality.
"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.
"A lot of times people will come to us and have a very diverse set of requirements or very customized need and we'll help them to implement it in a fashion that you can't just buy off of the shelf," explained Nick Rose, CTO of Enzu, in this SYS-CON.tv interview at 18th Cloud Expo, held June 7-9, 2016, at the Javits Center in New York City, NY.
As software becomes more and more complex, we, as software developers, have been splitting up our code into smaller and smaller components. This is also true for the environment in which we run our code: going from bare metal, to VMs to the modern-day Cloud Native world of containers, schedulers and micro services. While we have figured out how to run containerized applications in the cloud using schedulers, we've yet to come up with a good solution to bridge the gap between getting your contain...
Web Real-Time Communication APIs have quickly revolutionized what browsers are capable of. In addition to video and audio streams, we can now bi-directionally send arbitrary data over WebRTC's PeerConnection Data Channels. With the advent of Progressive Web Apps and new hardware APIs such as WebBluetooh and WebUSB, we can finally enable users to stitch together the Internet of Things directly from their browsers while communicating privately and securely in a decentralized way.
"We host and fully manage cloud data services, whether we store, the data, move the data, or run analytics on the data," stated Kamal Shannak, Senior Development Manager, Cloud Data Services, IBM, in this SYS-CON.tv interview at 18th Cloud Expo, held June 7-9, 2016, at the Javits Center in New York City, NY.
Who are you? How do you introduce yourself? Do you use a name, or do you greet a friend by the last four digits of his social security number? Assuming you don’t, why are we content to associate our identity with 10 random digits assigned by our phone company? Identity is an issue that affects everyone, but as individuals we don’t spend a lot of time thinking about it. In his session at @ThingsExpo, Ben Klang, Founder & President of Mojo Lingo, discussed the impact of technology on identity. Sho...
Information technology (IT) advances are transforming the way we innovate in business, thereby disrupting the old guard and their predictable status-quo. It’s creating global market turbulence. Industries are converging, and new opportunities and threats are emerging, like never before. So, how are savvy chief information officers (CIOs) leading this transition? Back in 2015, the IBM Institute for Business Value conducted a market study that included the findings from over 1,800 CIO interviews ...
"Operations is sort of the maturation of cloud utilization and the move to the cloud," explained Steve Anderson, Product Manager for BMC’s Cloud Lifecycle Management, in this SYS-CON.tv interview at 18th Cloud Expo, held June 7-9, 2016, at the Javits Center in New York City, NY.
Due of the rise of Hadoop, many enterprises are now deploying their first small clusters of 10 to 20 servers. At this small scale, the complexity of operating the cluster looks and feels like general data center servers. It is not until the clusters scale, as they inevitably do, when the pain caused by the exponential complexity becomes apparent. We've seen this problem occur time and time again. In his session at Big Data Expo, Greg Bruno, Vice President of Engineering and co-founder of StackIQ...
"I think that everyone recognizes that for IoT to really realize its full potential and value that it is about creating ecosystems and marketplaces and that no single vendor is able to support what is required," explained Esmeralda Swartz, VP, Marketing Enterprise and Cloud at Ericsson, in this SYS-CON.tv interview at @ThingsExpo, held June 7-9, 2016, at the Javits Center in New York City, NY.
The buzz continues for cloud, data analytics and the Internet of Things (IoT) and their collective impact across all industries. But a new conversation is emerging - how do companies use industry disruption and technology enablers to lead in markets undergoing change, uncertainty and ambiguity? Organizations of all sizes need to evolve and transform, often under massive pressure, as industry lines blur and merge and traditional business models are assaulted and turned upside down. In this new da...
"We got started as search consultants. On the services side of the business we have help organizations save time and save money when they hit issues that everyone more or less hits when their data grows," noted Otis Gospodnetić, Founder of Sematext, in this SYS-CON.tv interview at @DevOpsSummit, held June 9-11, 2015, at the Javits Center in New York City.