Exchange Server 2013 Virtualization Best Practices

Slides:



Advertisements
Similar presentations
Web RoleWorker Role At runtime each Role will execute on one or more instances A role instance is a set of code, configuration, and local data, deployed.
Advertisements

Keith Burns Microsoft UK Mission Critical Database.
Windows 7 Windows Server 2008 R2 VirtualizationVirtualization Heterogeneous Server Environment Inventory Linux, Unix & VMware Windows 7 & Server 2008.
Get more control & flexibility of the Windows Azure environment Developers IT Pros Easier migration of existing Windows applications to Windows Azure.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session objectives Discuss whether or not virtualization makes sense for Exchange 2013 Describe supportability of virtualization features Explain sizing.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
customer.
Dawie Human Infrastructure Architect Inobits Consulting VIR202.
Level 300 Exchange Server 2010 and Virtualization Scott Schnoll, Microsoft Corporation
Azure.
Won Huh Product Marketing Manager
Microsoft Virtual Academy
Microsoft Azure Deployment Planning Services
Business Continuity & Disaster Recovery
Data Platform and Analytics Foundational Training
Microsoft Virtual Academy
Nested Virtualization: A game changer in Hyper-V and Azure
Implementacija SharePoint 2016 farme pomoću Azure IaaS
Microsoft Virtual Academy
Windows Azure Cloud Visit – Ravindra verma.
Microsoft Ignite /31/ :08 AM
8/6/ :17 AM THR2214 Hybrid Cloud Activated A customer case study optimizing on-premises & Azure performance and cost Mor Cohen-Tal Senior Product.
Design and Implement Cloud Data Platform Solutions
RMS Architecture EMS Partner Bootcamp TechReady 18 9/17/2018
Azure.
Cloud Database Based on SQL Server 2012 Technologies
Business Continuity & Disaster Recovery
Enterprise Modernization
11/11/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
Microsoft Azure P wer Lunch
Microsoft Virtual Academy
MEC /27/2018 8:32 AM © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
11/27/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
TechEd /28/ :51 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Microsoft Virtual Academy
Microsoft Exchange Server Virtualisation: Does It Make Sense?
Virtualisation in Microsoft Exchange Server 2013
Power-up NoSQL with Azure Cosmos DB
Microsoft Virtual Academy
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
1/2/2019 5:18 PM THR3016 Customer stories: Plan and orchestrate large resource deployments on Azure infrastructure Igal Figlin Principal PM Manager – Azure.
Microsoft Virtual Academy
ASP.NET 4 Core Runtime for Web Developers
Building continuously available systems with Hyper-V
Windows Server 2008 Iain McDonald Director of Program Management
Microsoft Virtual Academy
Optimizing SQL Server Performance in a Virtual Environment
Microsoft Virtual Academy
TechEd /24/2019 4:29 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
MDC-B203 Deploying Applications in Microsoft System Center Virtual Machine Manager Using Services John Messec Program Manager Microsoft.
Upgrading Your Private Cloud with Windows Server 2012 R2
Microsoft Virtual Academy
Business Continuity and the Microsoft Cloud
Windows Server 2012 Overview
Migrate VMware VMs using the Microsoft Virtual Machine Converter (MVMC) Microsoft Tools for VMware Integration & Migration Symon Perriman Anupama.
Building global and highly-available services using Windows Azure
Windows Azure Hybrid Architectures and Patterns
Backup your private cloud workloads before it’s too late!
Day 2, Session 2 Connecting System Center to the Public Cloud
Monitor VMware with SC2012 SP1 Operation Manager & Veeam Microsoft Tools for VMware Integration & Migration Symon Perriman Michael Stafford Senior.
Microsoft Virtual Academy
Microsoft Virtual Academy
Microsoft Virtual Academy
Microsoft Virtual Academy
Microsoft Virtual Academy
Microsoft Virtual Academy
Microsoft Virtual Academy
Presentation transcript:

Exchange Server 2013 Virtualization Best Practices Scott Schnoll Senior Content Developer Microsoft Corporation

Tech Ready 15 7/21/2018 Agenda Exchange Server Virtualization Support Related Areas Sizing & Deployment Recommendations © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Quick poll Who has deployed Exchange on physical hardware? Who is using Hyper-V? Who is using VMware? Who is deploying Exchange on IaaS (Azure, AWS, etc.) for devlopment/test/lab? Who is using IaaS for Exchange production?

Should you virtualize Exchange? Pick the simple solution Physical is often the simple solution, but won’t be for every customer We support virtualized Exchange because it absolutely makes sense for a subset of our customers Customers that virtualize Exchange should be able to get something out of virtualizing

Exchange Server Virtualization Support

Supported Hypervisors Exchange roles Storage Host-based clustering All versions of Hyper-V Third-party hypervisors (SVVP) Exchange roles All Exchange 2013 roles supported for virtualization Storage Block-level Same requirements as Exchange 2010, plus option of SMB 3.0 for VHD Host-based clustering All Exchange 2013 roles supported Live Migration Using Jetstress in guests Yes, on supported Windows hypervisors or ESX 4.1 (or newer) http://aka.ms/e2013virt

Not Supported Dynamic memory Hypervisor snapshots Differencing/delta disks Quick Migration or similar technologies Hyper-V Replica Apps on the root Only deploy management, monitoring, AV, etc. Significant processor oversubscription Limited to 2:1, best practice is 1:1 Confusion exists about what we support for migration: We support Live Migration and similar 3rd-party technologies with all Exchange roles We don’t support Quick Migration or any other solution that saves point-in-time state to disk: VM has to remain online during migration.

Related Areas

Another quick poll Who deploys Exchange VMs using NFS-based storage today? Who wants to? Who has had issues with Exchange VMs on NFS-based storage in the past?

History of Exchange and NFS Performance & reliability issues Performance likely less of an issue today Not supported for direct use with Exchange (e.g., physical deployments) Support stance carried forward with virtualization

Exchange and NFS 3 areas of concern Forced Unit Access (FUA)/Write-Through Write Ordering Torn I/O Protection Exchange requires various guarantees from storage to maintain data integrity & system reliability NFS implementations haven’t historically met these guarantees

Exchange and NFS Hypervisor Storage Stack NFS Storage Solution Hypervisor Storage Stack NFS Storage Solution Ethernet Hypervisor Storage Stack Exchange (Physical) Exchange (Virtualized) Hypervisor is responsible for guarantee of storage semantics Hypervisor may/may not mask issues w/underlying storage

Exchange and NFS No plans to change our support stance on NFS Open to taking feedback on desired deployment scenarios Consider this to be a risk if you have deployed w/NFS Determine the best way to manage the risk Consider alternatives to meet shared storage requirements iSCSI, FC, SMB 3.0

Exchange and SMB 3.0 Exchange supports VHDs on SMB 3.0 file shares Specific to VHD storage – no direct access to shares from Exchange Can be shares presented from Windows Server 2012 or other implementations of SMB 3.0 SMB 3.0 provides ability to transparently survive hardware failures that would otherwise impact access Design for HA & failure handling

Infrastructure as a Service (IaaS) IaaS deployments of Exchange are possible Dev/test labs are good candidates Production use generally not recommended Understand supportability of the solution (SVVP?) Disk perf on shared storage Outbound mailflow Azure currently not supported for Exchange production

Host-based backup Be aware of limitations with host-based VM backups Capabilities differ between hypervisors, backup tools, and storage configuration Ensure that the types of backup that you intend to perform are possible, given combination of variables

Sizing & Deployment Recommendations

Processor Sizing Add additional CPU overhead on Exchange VMs ~10% for Hyper-V Follow vendor guidance for 3rd party Always size using Exchange 2013 Server Role Requirements Calculator http://aka.ms/e2013calc Note “Server Role Virtualization” and “Hypervisor CPU Adjustment Factor”

Hyperthreading It’s OK to use hyperthreading on VM hosts, but size for physical processor cores (not virtual) Processors (4 CPU) Physical processor cores (16 cores) Use these for sizing! Logical processor cores (32 logical cores)

Oversubscription Oversubscription can help with hardware consolidation, but it doesn’t provide reliable high-performance Exchange services Proper sizing ensures resources are available CPU constrained Exchange servers will experience reduced throughput: Delivery throughput reduction = queue growth Content indexing throughput reduction = increased IOPS Store ROP processing throughput reduction = RPC latency & end-user pain

Other resource impacts Memory generally not impacted Exchange is not NUMA aware, but will take advantage of OS optimizations Storage should be optimized for IO latency and high availability Take advantage of hypervisor networking flexibility to provide availability and performance In general: size using guidance for physical, apply to virtual

Co-location with other VMs Use reservation options to ensure that Exchange gets the resources it needs Allows other workloads to take advantage of overcommit As a best practice, never overcommit any resources in a way that could impact Exchange VMs

Users per host Avoid extreme scale-up to ensure high availability of Exchange service Modern hypervisors are capable of hosting hundreds of VMs per host Plan for a small number of Exchange 2013 mailbox VMs per-host Use remaining capacity for other workloads

Failure Domains Understanding failure domains is critical for virtualized Exchange design Stuff fails – embrace failure and prepare for it with redundancy and multiple paths to infrastructure Placing multiple mailbox database copies on the same infrastructure lowers availability Placing any dependencies of Exchange on the same infrastructure also lowers availability Active Directory Witness Server

Host Based Failover Clustering Host Based Failover Clustering “High Availability” Automatically failing VMs to an alternate cluster node in the event of a critical hardware issue What you need to be aware of: Not an Exchange Aware Solution Only protects against server hardware/network failure No HA in the event of storage failure / data corruption Requires a shared storage deployment If you are going to deploy this, combine with Exchange DAG when possible

Dynamic Memory, etc. Hyper-V’s Dynamic Memory and VMware’s Ballooning are fantastic for lab environments For production Exchange servers, just don’t do it! Exchange code doesn’t deal well with disappearing memory End result for the mailbox role is cache served from the page file or very small DB cache Use static memory configuration for Exchange VMs

Dynamic Memory Tech Ready 15 7/21/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Mailbox VM Migrations Migration of Mailbox servers can result in cluster heartbeat timeouts Result is eviction of server from cluster (DAG) and failover of active database copies Minimize brownout period Consider carefully adjusting heartbeat timeout settings Import-module FailoverClusters (Get-Cluster).SameSubnetThreshold=5 (Get-Cluster).SameSubnetDelay=1000

Hypervisor Snapshots Hypervisor snapshots make lab testing much easier Resist the temptation to use hypervisor snapshots in production – they aren’t supported! Aspects of the Exchange system do not handle time travel well (log shipping) Use caution with snapshots in the lab (multiple machines need to roll back simultaneously)

Workload Management Exchange 2013 contains a workload management component WLM dynamically adjusts background tasks to ensure that resources are being consumed efficiently WLM monitors resource consumption and makes decisions based on resource availability Inconsistent resource assignment results in bad WLM decisions

Summary Virtualization of Exchange 2013 is supported with few limitations It’s important to understand when to virtualize Exchange – it’s not always the right choice Don’t oversubscribe Exchange uses lots of memory – size properly and don’t rely on hypervisor “magic” Processor resources are critical for Exchange client experience – ensure that Exchange always gets what it needs Not all hypervisor features make sense for Exchange Consider whether similar/same functionality built-in to Exchange may provide better availability or performance

Scott Schnoll scott.schnoll@microsoft.com Twitter: @Schnoll Blog: http://aka.ms/Schnoll