Presentation is loading. Please wait.

Presentation is loading. Please wait.

Exchange Server 2013 Virtualization Best Practices

Similar presentations


Presentation on theme: "Exchange Server 2013 Virtualization Best Practices"— Presentation transcript:

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

2

3 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.

4 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?

5 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

6 Exchange Server Virtualization Support

7 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)

8 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.

9 Related Areas

10 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?

11 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

12 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

13 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

14 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

15 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

16 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

17 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

18 Sizing & Deployment Recommendations

19 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 Note “Server Role Virtualization” and “Hypervisor CPU Adjustment Factor”

20 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)

21 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

22 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

23 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

24 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

25 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

26 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

27 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

28 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.

29 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

30 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)

31 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

32 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

33 Scott Schnoll Blog:

34


Download ppt "Exchange Server 2013 Virtualization Best Practices"

Similar presentations


Ads by Google