32
From Zero to Hero on Hyper-V R2 -Part 1- Lai Yoong Seng MVP : Virtual Machine | www.ms4u.info MVUG

MVUG- From Zero to Hero on Hyper V R2- Part1

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: MVUG- From Zero to Hero on Hyper V R2- Part1

From Zero to Hero on Hyper-V R2-Part 1-

Lai Yoong SengMVP : Virtual Machine | www.ms4u.infoMVUG

Page 2: MVUG- From Zero to Hero on Hyper V R2- Part1

Virtualization Overview

Virtualization Roadmap

Agenda

Microsoft

Windows Server 2008 R2Hyper-V

Hyper V Requirement

Hyper V Edition

Key Capabilities

Page 3: MVUG- From Zero to Hero on Hyper V R2- Part1

Hyper-V

Operating System

Operating System

Operating System

Virtualization Overview

3

Application 1

Application 2

Application 3

VM3

Operating System

Application 1

VM2

Operating System

Application 2

VM1

Operating System

Application 3

Physical Server

Physical Server

Physical Server

Physical Server

Page 4: MVUG- From Zero to Hero on Hyper V R2- Part1

Server Virtualization Roadmap

ServerVirtualization 1970

2007

2009

Virtual PC

March ‘10

2005 Virtual Server 2005 R2 Sp1

2008 Hyper V R2

2009

2007

DATACENTER MANAGEMENT monitor | configure | virtualize | P2V | V2V

DesktopVirtualization

2011Windows Server 2008 R2 SP1 (New)

Page 5: MVUG- From Zero to Hero on Hyper V R2- Part1

5

Type 2 HypervisorType 2 Hypervisor (Host-based Architecture)Runs within an operating systemGuest OS’s run at the third level above hardwareAdditional layer creates performance overheadVirtual Server/PCVMWare GSX server

Page 6: MVUG- From Zero to Hero on Hyper V R2- Part1

6

Type 1 HypervisorType 1 Hypervisor (Bare-Metal Architecture)Runs directly on hardware platform as a Control ProgramGuest OS’s run above hypervisorBenefits

Executes directly with hardwarePerformanceAvailabilitySecurity

Page 7: MVUG- From Zero to Hero on Hyper V R2- Part1

Windows Server VirtualizationArchitecture

OS MS / XenSource Novell

ISV/IHV/OEMWindows Server Virtualization

Parent Partition

Kernel Mode

User Mode

Child Partitions

Applications

Applications

Applications

Windows Hypervisor

Windows Server

2003, 2008

Windows

Kernel VS

C

“Designed for Windows” Server HardwareAMD-V,Intel VT Chipset

Windows Server 2008

Windows Kernel

EmulationVMBus VMBus VMBus

Hypercall Adapter

Xen-enabled Linux Kernel L

inu

x

VS

CsNon-

Hypervisor Aware OS

Virtualization StackWMI

ProviderVM

Service

VM Worke

rProces

s

VSP OS Kernel

Page 8: MVUG- From Zero to Hero on Hyper V R2- Part1

Hyper V Requirements

What are the Requirements?

Windows Server 2008 R2x64 EditionsHardware assisted virtualization

AMD-V or Intel VT

Hardware enabled Data Execution Prevention (DEP)

AMD (NX no execute bit)Intel (XD execute disable)

Hypervisor based virtualization platformWindows Server 2008 x64 Edition technologyStandards based

What is Windows Virtualization?

Page 9: MVUG- From Zero to Hero on Hyper V R2- Part1

BIOS settings

Page 10: MVUG- From Zero to Hero on Hyper V R2- Part1

Intel Processor Verification

Check out :- http://ark.intel.com/VTList.aspx Virtualization identification tool:- http://downloadcenter.intel.com/Detail_Desc.aspx?agr=N&ProductID=1881&DwnldID=7838

Page 11: MVUG- From Zero to Hero on Hyper V R2- Part1

AMD Processor Verification

AMD Opteron Processor

Tool :-http://support.amd.com/us/Pages/dynamicDetails.aspx?ListID=c5cd2c08-1432-4756-aafa-4d9dc646342f&ItemID=177

Page 12: MVUG- From Zero to Hero on Hyper V R2- Part1

Other Identification Tool

SecurableGet it from

http://www.grc.com/files/securable.exe

Page 13: MVUG- From Zero to Hero on Hyper V R2- Part1

Supported Guest Operating System

More detail:- http://www.microsoft.com/windowsserver2008/en/us/hyperv-supported-guest-os.aspx

Page 14: MVUG- From Zero to Hero on Hyper V R2- Part1

What’s Different?

Virtualization Feature Virtual Server 2005 R2 Hyper-V R2

32-bit Virtual Machines Yes Yes

64-bit Virtual Machines No Yes

Multi Processor Virtual Machines No Yes, 4 core VMs

Virtual Machine Memory Support 3.6 GB per VM 64 GB per VM

Managed by System Center Virtual Machine Manager Yes Yes

Support for Microsoft Clustering Services Yes Yes

Host side backup support (VSS) Yes Yes

Scriptable / Extensible Yes, COM Yes, WMI, Powershell

User Interface Web Interface MMC 3.0 Interface

Page 15: MVUG- From Zero to Hero on Hyper V R2- Part1

Hyper-V Server 2008 R2 vs. Windows Server 2008 R2

CapabilitiesMicrosoft

Hyper-V Server 2008

Microsoft Hyper-V Server 2008 R2

Windows Server 2008 R2 EE, DC

(Hyper-V)

Number of Logical processors supported 24 64 64

Number of Sockets (Licensing) Up to 4 Up to 8 Up to 8 = EE | Up to 64 = DC

Memory Up to 32 GB Up to 1 TB Up to 1TB

VM Migration None Quick and Live migration Quick and Live Migration

Number of VM’s per node in a cluster Not applicable 64/384 (VDI workloads) 64 /384(VDI workloads)

Virtualization Rights for

Windows Server 2008 guests

0 0 EE = 4 VMDC = unlimited VM’s

Number of running VM Guests

Up to 192, or as many as physical resources allow

Up to 384 or as many as physical resources allow

Up to 384, or as many as physical resources allow

Page 16: MVUG- From Zero to Hero on Hyper V R2- Part1

Hyper V EditionFeatures Windows Server 2008 R2

StandardWindows Server 2008 R2

EnterpriseWindows Server 2008 R2

DatacenterMicrosoft Hyper-V

Server 2008 R2

x86 Support Guest OS Only Guest OS Only Guest OS Only Guest OS Onlyx64 Support Host and Guest Host and Guest Host and Guest Host and Guest# of VMs—x64 Host

192 (Max) 384 (Max) 384 (Max) 384 (Max)

Host Memory Support32 GB 1 terabyte 1 terabyte 1 terabyte

Host Processor Support4 Sockets (Max) 8 Sockets (Max) 256 Sockets (Max) 64 Cores and

Hyperthreads (Max)Virtual Networks

Unlimited Unlimited Unlimited Unlimited

Guest VM Memory31 GB (Max) 64 GB (Max) 64 GB (Max) 64 GB (Max)

Guest Virtual Processor4 per VM (Max) 4 per VM (Max) 4 per VM (Max) 4 per VM (Max)

Guest Virtual NICs 4 Legacy8 Synthetic

4 Legacy8 Synthetic

4 Legacy8 Synthetic

4 Legacy8 Synthetic

Guest Storage Adapters 2 IDE4 SCSI

2 IDE4 SCSI

2 IDE4 SCSI

2 IDE4 SCSI

Guest Storage Devices 4 IDE256 SCSI

4 IDE256 SCSI

4 IDE256 SCSI

4 IDE256 SCSI

Cluster Support N Y Y YQuick Migration

N Y Y Y

Live Migration N Y Y YIncluded Use Rights 1 Physical

1 VM1 Physical4 VMs

1 PhysicalUnlimited VMs None

Page 17: MVUG- From Zero to Hero on Hyper V R2- Part1

Key Capabilities

17

Page 18: MVUG- From Zero to Hero on Hyper V R2- Part1

Windows Server 2008 R2 Server Core Parking

• Overview– Scheduling virtual machines on a single server for

density as opposed to dispersion– This allows “park/sleep” cores by putting them in

deep C states

BenefitsSignificantly enhances Green IT by being able to reduce power required for CPUs

Page 19: MVUG- From Zero to Hero on Hyper V R2- Part1

Core Parking

Page 20: MVUG- From Zero to Hero on Hyper V R2- Part1

Core Parking

Processor is “parked”

Processor is “parked”

Page 21: MVUG- From Zero to Hero on Hyper V R2- Part1

Second Level Address Translation (SLAT)New Processor Feature Support

• Overview– Uses new processor features to improve performance and

reduce load on Windows Hypervisor• AMD: Nested Page Tables (NPT)• Intel: Extended Page Tables (EPT)

BenefitsImprove memory management performanceReduce in memory copiesMemory usage will decrease from ~5% to 1% of total physical memoryMost improvement with large working sets (TS/SQL)

Page 22: MVUG- From Zero to Hero on Hyper V R2- Part1

Jumbo Frame Support

• Overview– Enables 6x larger payload

per packet– Ethernet frames >1,500

bytes– Ad hoc standard is ~9k

BenefitsImproves throughputReduce CPU utilization of large file transfers

Page 23: MVUG- From Zero to Hero on Hyper V R2- Part1

Live Migration• Overview– Moving a virtual machine from one server to

another without loss of service

BenefitsEnables new scenariosLoad balancing VMs for powerLoad balancing VMs for CPUUpgrade of host hardware and maintenance

Page 24: MVUG- From Zero to Hero on Hyper V R2- Part1

Cluster Shared Volumes

• NEW Cluster Shared Volumes (CSV) in Windows Server 2008 R2

• Overview– CSV provides a single consistent file name space; All

Windows Server 2008 R2 Server servers see the same storage

BenefitsEasy setup; Uses NTFSNo reformatting SANsCreate one big data storeNo more drive letter problemsExisting tools just workHighly recommended for live migration scenarios

Page 25: MVUG- From Zero to Hero on Hyper V R2- Part1

Hot Add/Remove Storage• Overview– Add and remove VHD and pass-through disks to a

running VM without requiring a reboot. • Hot-add/remove disk applies to VHDs and pass-through

disks attached to the virtual SCSI controller

BenefitsEnables storage growth in VMs without downtimeEnables additional datacenter backup scenariosEnables new SQL/Exchange scenarios

Page 26: MVUG- From Zero to Hero on Hyper V R2- Part1

Processor Compatibility Mode• Overview

– Allows live migration across different CPU versions within the same processor family (i.e. Intel-to-Intel and AMD-to-AMD).• Does NOT enable cross platform from Intel to AMD or vice versa.

– Configure compatibility on a per-VM basis.– Abstracts the VM down to the lowest common denominator in

terms of instruction sets available to the VM.

VM NOT in Processor compatibility mode VM in Processor compatibility mode

Physical Processor features: X,Y,Z

VM sees processor features: X,Y,Z

Physical Processor features: X,Y

Physical Processor features: X,Y,Z

Physical Processor features: X,Y

Host A Host B Host BHost A

Migration fails Migration succeeds

VM sees processor features: X,Y

Page 27: MVUG- From Zero to Hero on Hyper V R2- Part1

SecurableCore ParkingHot Add/Remove StorageProcessor Compatibility

ModeJumbo Frame

Demo

Page 28: MVUG- From Zero to Hero on Hyper V R2- Part1

Summary• Describe about Virtualization Overview• Roadmap on Microsoft Virtualization• Requirement, Architecture, Identification• Hyper V Edition• Key Capabilities

Microsoft

Windows Server 2008 R2Hyper-V

Page 29: MVUG- From Zero to Hero on Hyper V R2- Part1

Q&AQuestions & Answers

Page 30: MVUG- From Zero to Hero on Hyper V R2- Part1

ResourcesMVUG (Malaysia Virtualization User Group) – Join us !http://www.facebook.com/group.php?gid=216237734803 @ Search “MVUG” in Facebook

Lai’s Blog –Virtualization & System Center related, etchttp://www.ms4u.info

Virtualization with Hyper V R2http://www.microsoft.com/windowsserver2008/en/us/hyperv-main.aspx

Page 31: MVUG- From Zero to Hero on Hyper V R2- Part1

Related ContentFull on Demo on Settings up High Availability Virtual Machine

Thursday 23 Sept 201011.30 – 12.30 amIT Pro Track @ TechInsight Penang (USM)

Planning and What’s New in Windows Server 2008 R2 SP1 for Virtualization Session

Friday 24 Sept 201011.30 – 12.30 amIT Pro Track @ TechInsight Penang (USM)

Check out :- http://www.techinsights.my/

Page 32: MVUG- From Zero to Hero on Hyper V R2- Part1

What’s next ?

The second part, allows us to focus on installation and configuration.

Stay Tuned !

From Zero to Hero on Hyper-V R2 :- Part 2