Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study...

33
Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation: MTC – Silicon Valley Manjnath Ajjampur Lead Datacenter Strategist, Northern California Microsoft Corporation DBI318

Transcript of Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study...

Page 1: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case StudyRoss Mistry Principal Enterprise ArchitectMicrosoft Corporation: MTC – Silicon Valley

Manjnath AjjampurLead Datacenter Strategist, Northern CaliforniaMicrosoft Corporation

DBI318

Page 2: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

RossMistry @RossMistry

http://RossMistry.com

Principal Enterprise Architect, Author and former SQL Server MVP

Microsoft Technology Centers – Silicon Valley

Page 3: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Manjnath Ajjampur @InADatacenter

Lead Datacenter Strategist, Northern CaliforniaMicrosoft Corporation

Page 4: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Agenda

IntroductionPrivate Cloud OverviewPlanningDesignOptimization

Page 5: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Part 1

Private Cloud Overview

Page 6: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Pooled Resources Self-Service

Usage-basedElastic

Microsoft Private Cloud Defined“A private cloud is a new model for IT delivery. It turns a datacenter’s infrastructure resources into a single compute “cloud” and enables the key benefits of cloud computing:

Page 7: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Agility Economics Innovation

Cloud Drivers

Page 8: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Part 2

Private Cloud Customer Planning

Page 9: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Existing Environment

Hundreds of Instances of SQL Server running on physical servers

OS memory range: 4GB-48GBApproximately 2000 DatabasesMajority of the servers were running Windows Server 2008 or Windows Server 2008 R2Leveraging some System Center within other groups2U rack mounted servers – underutilizedSAN based storageSeparation of duties - DBA and Server Platform Engineering

10%

30%

15%

45% SQL Server 2000SQL Server 2005SQL Server 2008SQL Server 2008 R2

Page 10: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Customer Goals and Requirements

Business drivenVirtualize Tier 2 and 3 data platform environments. Increase manageability by standardizing on single data platform and OS.Reduce TCO and increase hardware utilization.Implement self service capabilities .Dynamically support projected growth of 30% per year.Allow DBA and Server teams to be proactive and focus on strategy.Adhere to green initiatives.

Technology drivenPool key resources (compute, storage and networking) into logical units.Dynamically provision and scale database applications.Provide high availability and disaster recovery for mission critical databases.

Page 11: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Planning – Resource Pooling

Used the MAP Toolkit to identify SQL Server sprawl.Leveraged the data from MAP for Private Cloud capacity planningUsed the Upgrade Advisor to analyze SQL Server instances and identify upgrade blockersCaptured the following performance metrics

ProcessorMemory Disk Space and I/OTempDB usage

MAP Toolkit

Upgrade advisor

Page 12: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Key Findings from MAP & Metrics Collected

Systems were running with <10% CPU utilization on 4 to 8 core machinesMemory Usage per instance was approximately 2 to 64 GB Total storage required was approximately 5 TBIOPs ranged from 30 -10,000

Page 13: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Reviewing a Sample MAP Report

Page 14: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Part 3

Private Cloud Customer Design Decisions

Page 15: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Design Decisions - Overall

Virtualize Tier 2 and 3 databases - 100 Instances on Hyper-VStandardize on SQL Server 2008 R2 on Windows Server 2008 R2 SP1Private Could based on Windows Server 2008 R2 (Server Core) and Systems Center 2012Database Migration for existing workloads6 Nodes in Hyper-V ClusterHA at a VM level, not instance level1 SQL Server instance per VMManagement infrastructure not part of this clusterSegregation between Hyper-V platform owners and DBAs

Page 16: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Design Decisions - Processor

Total cores required –300 – this will be based on how many instances we go afterCurrent utilization – <10% of the CPU on an 8 core machine.Rationalization

2 socket servers with 8 cores per socketConservative 8:1 overcommit ratio of vCPU:CPU provided by Hyper-V100 instances with 1 core dedicated to each will require 100 cores

Best PracticesSelecting the maximum number of cores per processor available and choosing the fastest clock speed available.

Page 17: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Design Decisions - Memory

Assuming a 4GB per VM average, and a no oversubscription, that is ~130GB per node. Each node has 384 GB RAMDynamic Memory Utilized for all workloadsBest Practices

recommended to purchase the maximum amount of RAMRespect NUMA architecture

Page 18: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Design Decisions - Storage

Use Pass-through disks for maximum performanceUse Storage Classification to adhere to business SLAOS will boot from SAN8GB Fibre ChannelBest Practices

Each storage OEM has their own design recommendations for Hyper-V optimizationRespect SQL server LUN best practice

Page 19: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Design Decisions - Network

Follow Hyper-V best practice1 network for Management traffic1 network for Live Migration1 network for Cluster interconnect1-5 networks for SQL Server VM traffic

SQL Server VM traffic is over highly available and redundant NICs (802.3 ad)Hardware based QOS

Page 20: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Part 4

Optimizing SQL Server in a Private Cloud

Page 21: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

High Availability and Disaster Recovery

1 SQL Server instance per VMHA at the VM level using Live MigrationDR via SAN replication

Page 22: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Alternatives

SQL Server High Availability

Page 23: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

SQL Server HA Alternatives in Private CloudLive Migration

No Loss of ServiceAvailability with Lower ComplexityEasier Management with VMMManage Loads on VMs Across

Physical Machines 1 2

VM

Shared Storage

iSCSI, SAS, Fiber

Host cluste

r

LiveMigratio

n

Page 24: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

SQL Server HA Alternatives in Private CloudGuest ClusteringCreate failover cluster in

Hyper-V environment

Cluster service runs inside Hyper-V guest

Application Mobility: Enable patching of guest OS without downtime

Support mixed clustering (host and guest)

Shared StorageiSCSI

Guest Cluster

Guest Cluster

1 2

Redundant Paths to storage

Page 25: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

SQL Server HA Alternatives in Private CloudAvailability GroupsGuest Clustering

not RequiredAchieve HA and DRNo 3rd Party Solutions

Required 1 2

VMs

2

A A

AA

Page 26: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Self-Service

3 x SQL Server Service Templates for ProvisioningSmall – 1 vCPU, 4GB RAM, 100 GB, >1000 IOPS Medium – 2 VPs, 8 GB RAM, 200 GB, >1000 IOPS Large – 4 VPs, 16 GB RAM, 400 GB, >5000 IOPS

Page 27: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

SQL Server Service Templates

Page 29: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Resources

Connect. Share. Discuss.

http://northamerica.msteched.com

Learning

Microsoft Certification & Training Resources

www.microsoft.com/learning

TechNet

Resources for IT Professionals

http://microsoft.com/technet

Resources for Developers

http://microsoft.com/msdn

Page 30: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

Complete an evaluation on CommNet and enter to win!

Page 31: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

MS Tag

Scan the Tagto evaluate thissession now onmyTechEd Mobile

Page 32: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation:

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

Page 33: Designing a Private Cloud Infrastructure for Microsoft SQL Server: Financial Services Case Study Ross Mistry Principal Enterprise Architect Microsoft Corporation: