best practices for virtualizing exchange server 2010

44

Upload: michael-stokes

Post on 03-Jan-2016

49 views

Category:

Documents


0 download

DESCRIPTION

UCC304. Principal Technical Writer. Microsoft Corporation. Best Practices for Virtualizing Exchange Server 2010. Scott Schnoll [email protected]. Agenda. Virtualization Landscape and Updated Support Guidance Why Virtualize Exchange? Best Practices - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Best Practices for Virtualizing Exchange Server 2010
Page 2: Best Practices for Virtualizing Exchange Server 2010

UCC304

Best Practices for Virtualizing Exchange Server 2010

Scott [email protected] Technical WriterMicrosoft Corporation

Page 3: Best Practices for Virtualizing Exchange Server 2010

Agenda

Virtualization Landscape and Updated Support GuidanceWhy Virtualize Exchange?Best Practices

Basic Exchange Server ConsiderationsCapacity, Sizing and PerformanceServer DeploymentHigh Availability & VM MigrationCoexistence With Other Workloads

Tools & Resources

Page 4: Best Practices for Virtualizing Exchange Server 2010

Exchange and Virtualization

Page 5: Best Practices for Virtualizing Exchange Server 2010

Virtualization Landscape Today

Use of virtualization is increasing substantially, resulting in VM proliferation

Licensed Windows

61%Unpaid Windows

11%

Linux 21%

Unix6%

Other1%

Y2005 Y2006 Y2007 Y2008 Y2009 Y2010 Y2011 Y20120

2,000,000

4,000,000

6,000,000

8,000,000

10,000,000

12,000,000

14,000,000

Physical Units Logical Units

Number of physical servers shipments used for virtualization will grow to 1.7M+ in 2012 at a CAGR of 15%

19% of physical server shipments will be used for virtualization, increasing from 11.7% in 2007

IDC Server Virtualization Forecast9.00

8.00

7.00

6.00

5.00

4.00

3.00

2.00

1.00

VM Density

* Data from IDC Server Virtualization Forecast

Page 6: Best Practices for Virtualizing Exchange Server 2010

Virtualization Landscape

* Data from Enterprise Strategy Group research

Ba-sic, 22%

Progressing

, 53%

Ad-vanced, 25%

Percent of current virtualization users, by segment

75% of the market

58% are less than 30% virtualized75% expect to be more than 30% virtualized in 24 months70% of organizations using more than one hypervisor

Page 7: Best Practices for Virtualizing Exchange Server 2010

Why Virtualize ExchangeTake advantage of virtualization capabilities to optimize server utilization

Host in Datacenter VM

Consolidate under-utilized servers into a single virtualized hostsLower costs by reducing space needs and power consumptionRapid provisioning of a mobile infrastructure

1 Exchange 2010CAS & HUB

Exchange 2010 MBX

File & Print Server

2 Exchange 2010 MBX

3 Exchange 2010CAS & HUB

Management Server

NLB

DC 1

DC 2 Database Server

Exchange 2010 UM

DA

G

Page 8: Best Practices for Virtualizing Exchange Server 2010

Exchange 2010 Support Guidance

RTM SP1

Any hypervisor validated under Windows SVVP

All storage used by an Exchange guest must be block level storage

Virtual storage must be fixed size, SCSI pass-through, or iSCSI

Taking virtual snapshots of Exchange guest, not supported

Virtual processor-to-logical processor ration no greater than 2:1

Exchange HA in combination with hypervisor clustering or migration

Unified Messaging role supported

Page 9: Best Practices for Virtualizing Exchange Server 2010

Basic Exchange Server Considerations

Best Practices:

Page 10: Best Practices for Virtualizing Exchange Server 2010

Does Virtualization Make Sense for Exchange?

No single answer for all customersMany reasons to virtualizeIf virtualizing

Understand the goals that lead to virtualization – make sure you get the platform value you designed forUnderstand the trade-offs that come with virtualization – there are costs associated with virtualization, must plan for these costs

Page 11: Best Practices for Virtualizing Exchange Server 2010

Scale Up or Scale Out?

Exchange architected for scale outLarge mailboxes, low cost, DAS, redundant inexpensive servers, etc.

Virtualization typically implies scale up (root hardware)

Avoid “all eggs in one basket”Where possible, scale out Exchange servers across many root servers

Page 12: Best Practices for Virtualizing Exchange Server 2010

General Deployment Reminders

Exchange isn’t virtualization-awareVirtualization isn’t free

Hypervisor adds CPU overhead: ~12% in our tests

Virtualization doesn’t provide resources where they don’t truly exist

Size for required physical resources for each VMMake sure you can deliver those resources

Page 13: Best Practices for Virtualizing Exchange Server 2010

Unsupported Configurations

SnapshotsDifferencing/delta disksProcessor over-subscription of root greater than 2 (virtual CPUs):1 (physical core)Apps running on the rootVSS backup of root for passthrough disks or iSCSI disks connected to initiator in guesthttp://aka.ms/ex2010reqs

Page 14: Best Practices for Virtualizing Exchange Server 2010

Capacity, Sizing and Performance

Best Practices:

Page 15: Best Practices for Virtualizing Exchange Server 2010

Sizing Process Overview

Start with the physical server sizing processCalculator & TechNet guidance

Account for virtualization overheadDetermine VM placement

Account for VM migration if planned

Size root servers, storage, and network infrastructure

Page 16: Best Practices for Virtualizing Exchange Server 2010

Guest Sizing Rules of Thumb

Size Mailbox role firstCPU ratios for other roles based on Mailbox role sizingMailbox role performance is key to user experienceHigh availability design significantly impacts sizing

Don’t over-subscribe/over-allocate resourcesSize based on anticipated peak workload, don’t under provision physical resources

Don’t forget network needs

Page 17: Best Practices for Virtualizing Exchange Server 2010

Root Server Sizing

Root server storage sizing includes space for the OS & required hypervisor components, plus connectivity to storage for guest VMs

Don’t forget about high availability of storage if required (multi-path HBAs or iSCSI NICs, redundant paths, etc.)

Network sizing is critical: number of interfaces and bandwidth

Consider app connectivity, storage networking, heartbeats, CSV, VM migration

Page 18: Best Practices for Virtualizing Exchange Server 2010

Root Server Sizing

CPU sizing should include root needs plus per-guest overhead

Follow hypervisor vendor recommendations

Memory sizing should not assume over-allocationFollow hypervisor vendor recommendationsProvide memory for root plus sum of running VM requirements; root member is larger of either 512MB or per-VM value (summed for running VMs) of 32MB for the first 1GB of virtual RAM + 8MB for each additional GB of virtual RAM

Page 19: Best Practices for Virtualizing Exchange Server 2010

Virtual Processors

Scale up CPU on VMs as much as possibleDon’t deploy 4 x 1 vCPU machines vs. 1 x 4 vCPU machine: take advantage of Exchange scalability

Don’t over-subscribe CPUs unless consolidating with P2V or similar scenarioGenerally assume 1 logical CPU == 1 virtual CPU

Don’t factor in hyperthreading

Page 20: Best Practices for Virtualizing Exchange Server 2010

Server Deployment

Best Practices:

Page 21: Best Practices for Virtualizing Exchange Server 2010

Locating Virtual Machines

VM placement is important for high availabilityDon’t co-locate DAG database copies on physical hostsExchange unaware of VM location relative to other VMsEnsure peak workload can run in standard VM locations

OK to move temporarily for maintenance assuming high availability requirements are met and current workload can be serviced

Page 22: Best Practices for Virtualizing Exchange Server 2010

Storage Decisions

Exchange performance and health highly dependent on availability and performance of storageMany options for presentation of storage to VMs

VHDFCiSCSI, FCoEDAS

Optimize for performance and general design goalsWe recommend looking for options that provide large mailboxes and low cost

Page 23: Best Practices for Virtualizing Exchange Server 2010

Storage Decisions

Exchange storage must be block-levelNetwork attached storage (NAS) volumes not supported

Exchange storage must be fixed VHD, SCSI passthrough or iSCSI

Preference is to use SCSI passthrough to host queues, DBs, and log files

FC/SCSI HBAs must be configured in Root OS with LUNs presented to VMs as passthrough or VHD

Page 24: Best Practices for Virtualizing Exchange Server 2010

Storage Decisions

Exchange storage should be on spindles separate from guest OS VHD physical storageInternet SCSI (iSCSI)

Standard best practices for iSCSI connected storage apply (dedicated NIC, jumbo frames, offload, etc…)iSCSI initiator in the guest is supported but need to account for reduced performance

Page 25: Best Practices for Virtualizing Exchange Server 2010

Exchange VM Deployment

Essentially identical to physical server deployment

Build “starter image” with desired OS, patches, pre-reqs, and Exchange install binaries

Possible to script Exchange setup to fully automate Exchange VM provisioning

Page 26: Best Practices for Virtualizing Exchange Server 2010

High Availability & VM Migration

Best Practices:

Page 27: Best Practices for Virtualizing Exchange Server 2010

High Availability And Disaster Recovery

Exchange High Availability DefinitionAutomatic failover of application services which doesn’t compromise the integrity of application dataSelection of “active” data set occurs within the application automatically

Exchange Disaster Recovery DefinitionManual switchover of application services with high retention of data integritySelection of “active” data set occurs manually outside the application

Page 28: Best Practices for Virtualizing Exchange Server 2010

Exchange 2010 High Availability

Database Availability Group (DAG)A group of up to 16 Exchange Server 2010 Mailbox servers that provide automatic database-level recoveryUses continuous replication and Windows Failover ClusteringCan be extended across multiple datacentersProtection from database, server and network failuresAutomatic failover protection and manual switchover control is provided at the mailbox database levelSupport for lagged copies (point in time copies)

Page 29: Best Practices for Virtualizing Exchange Server 2010

Host Based Failover Clustering

Host Based Failover Clustering HANot an Exchange-aware SolutionOnly protects against server hardware/network failureNo HA in the event of storage failure / data corruptionRequires a shared storage deployment

Page 30: Best Practices for Virtualizing Exchange Server 2010

VM Cluster & Migration Considerations

Minimize outage during migration operationsConsider CSV rather than pass-through LUNs for all Mailbox VM storage

Consider relaxing cluster heartbeat timeoutsCluster nodes considered down after 5 seconds by default

Be aware of additional network interface requirements for VM migration technologies – size network appropriatelyDisable migration technologies that save state and migrate: always migrate live or completely shut down

Page 31: Best Practices for Virtualizing Exchange Server 2010

Supported – Configure for Shutdown

Page 32: Best Practices for Virtualizing Exchange Server 2010

Supported – Live Migration

Page 33: Best Practices for Virtualizing Exchange Server 2010

Not Supported – Quick Migration

Page 34: Best Practices for Virtualizing Exchange Server 2010

Coexistence With Other Workloads

Best Practices:

Page 35: Best Practices for Virtualizing Exchange Server 2010

Private Cloud Considerations

Isolate Exchange within private cloudBe prepared to apply different resource management polices to Exchange VMs vs. other workloads that are less mission criticalUse private cloud as pre-built infrastructure, not dynamic

Based on deployment sizing, understand overall resource requirements and allocate accordingly from pool of cloud resources

Page 36: Best Practices for Virtualizing Exchange Server 2010

Resource Allocation & Balancing

Disable hypervisor-based auto tuning featuresDynamic memoryStorage tuning/rebalancing

Exchange Mailbox role IOPS heavily dependent on ESE cache, dynamic memory can negatively impactSize for calculated resource requirements – no reliance on dynamic tuning should be needed

Page 37: Best Practices for Virtualizing Exchange Server 2010

Tools & Resources

Page 38: Best Practices for Virtualizing Exchange Server 2010

Server Virtualization Validation Program

List of validated 3rd party virtualization solutionsMatrix includes:

VendorProduct & versionOS architectureProcessor architectureMax supported processors & memory

http://www.windowsservercatalog.com/svvp/

Page 39: Best Practices for Virtualizing Exchange Server 2010

Exchange 2010 Solutions (on Hyper-V)

HP configurations HP BladeSystem Matrix and Microsoft Exchange Server 2010: http://bit.ly/jE2yPn Exchange Server 2010: HP LeftHand P4000 SAN for 5,000 users: http://bit.ly/m7z7B4 Exchange Server 2010: StorageWorks EVA8400 using CA-EVA and CLX-EVA for 20,000 users: http://bit.ly/mNAsDO

Dell configurationsDell servers running in single site for 500 users: http://bit.ly/loEl9r Dell M610 servers with Dell Equalogic storage for 9,000 users: http://bit.ly/krUecS Dell R910 servers with EMC CLARiion storage for 20,000 users: http://bit.ly/kWthfD

Unisys configurationsUnisys ES7000 servers for 15,000 users: http://bit.ly/kOBSuo

EMC configurationsEMC unified storage and Cisco unified computing system for 32,000 users: http://bit.ly/9DBfoB

Page 40: Best Practices for Virtualizing Exchange Server 2010

Support Guidelines

TechNet is the single source for Exchange support guidelines: http://technet.microsoft.com/en-us/library/aa996719.aspx

SVVP Support Policy Wizard is a great tool:http://www.windowsservercatalog.com/svvp.aspx?svvppage=svvpwizard.htm

Always confirm SPW results with our TechNet article

Recent Blog on updated support changeshttp://aka.ms/uls2tl

Check back for updatesClarifications published frequently

Page 41: Best Practices for Virtualizing Exchange Server 2010

Resources

Exchange Team Bloghttp://aka.ms/EHLO

Exchange 2010 Documentation Libraryhttp://aka.ms/Ex2010Docs

Page 42: Best Practices for Virtualizing Exchange Server 2010

Feedback

Your feedback is very important! Please complete an evaluation form!

Thank you!

Page 43: Best Practices for Virtualizing Exchange Server 2010

Questions?

UCC304Scott Schnoll

Principal Technical [email protected]://blogs.technet.com/scottschnollTwitter: @schnoll

You can ask me questions at the “Ask the Expert” zone:November 10, 2011 12:30 – 13:30

Page 44: Best Practices for Virtualizing Exchange Server 2010