Evolution of virtual infrastructure with Hyper-V

28
CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/ Evolution of virtual infrastructure with Hyper-V Juraj Sucik, Slavomir Kubacka Internet Services Group CERN IT

description

Evolution of virtual infrastructure with Hyper-V. Juraj Suci k, Slavomir Kubacka Internet Services Group CERN IT. Let’s continue…. 2006 Microsoft Virtual Server 2005 2008 Hyper–V 2008 SCVMM 2008 2009 Sep Hyper–V 2.0 + SCVMM 2008 R2. Hyper-V Features. Hypervisor feature of WS 2008 - PowerPoint PPT Presentation

Transcript of Evolution of virtual infrastructure with Hyper-V

Page 1: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Evolution of virtual infrastructure with Hyper-V

Juraj Sucik, Slavomir KubackaInternet Services Group

CERN IT

Page 2: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Let’s continue…

2

• 2006 Microsoft Virtual Server 2005

• 2008 Hyper–V

• 2008 SCVMM 2008

• 2009 Sep Hyper–V 2.0 + SCVMM 2008 R2

Page 3: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Hyper-V Features

3

• Hypervisor feature of WS 2008• 32 and 64-bit virtual machines• Up to 4 CPUs per VM• Max 32 GB of memory per VM• Snapshots• Failover clustering• Scriptable interface

Page 4: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

SCVMM 2008 Features

4

• Enterprise management solution • Windows Powershell API• V2V and P2V capabilities• Web portal• Intelligent placement• Library and templates• Delegated management roles• Job history• Support for highly available VM• VM Migration

Page 5: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Hyper-V Infrastructure

5

Page 6: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

System Architecture

6

Microsoft Virtual Machine Manager

Windows Powershell

SOAP Services

Virtual Machine Manager

AdminConsole

CERN Virtual InfrastructureWeb Interface

Backups

OS Maintenance

LAN DB

Application Management

6

Page 7: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

CERN Virtual Infrastructure

7

Page 8: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

CERN Virtual Infrastructure

8

Page 9: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Enhancements

Page 10: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Hyper-V 2.0 Features

• Live migration• Cluster Shared Volume (CSV)

Enables multiple nodes in a cluster to access a single shared LUN

Dynamic I/O redirection• Network optimizations

• TCP/IP Traffic in a VM can be offloaded to a physical NIC on the host computer

• Processor compatibility mode• Allows live migration across different CPU

versions within the same processor family

10

Page 11: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Hyper-V 2.0 Features

• Logical Processor Support Support for 32 logical processors on host

computer• Hot Add/Remove Storage

Add and remove VHD disks to a running VM without requiring a reboot

• Second Level Translation (SLAT)• Leverage new processor features to

improve performance and reduce load on Windows Hypervisor

• Better SMP support for Linux

11

Page 12: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

SCVMM 2008 R2 Features

• Manage WS 2008 R2 Hyper-V• Live Migration

• Detects if Live migration can be done• Maintenance mode

• Placement of new VM not allowed• Existing VMs migrated off or saved

• Multiple VM per LUN using CSV• Supports CSV feature of HV 2.0

• V2P feature

12

Page 13: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

SCVMM 2008 R2 Features

• SAN related enhancements• Promote non-HA VM to HA VM by migrating

it to a clustered host, and vice versa to “demote” the VM

• Network optimizations• If enabled, VMM will configure the VM to

use VMQ or Chimney, if available on the host

• Rapid provisioning• Avoids copying VHD from library

• VDI integration

13

Page 14: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Why Migration?

• Maintenance reasons• Load balancing• Green IT• Fast migration• SOAP interface

14

Page 15: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Live Migration

• No dropped network connections• No perceived loss of service• Clustered Shared Volumes facilitates LM• Leverages Failover Clustering

15

Page 16: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Quick vs. Live Migration

Quick Migration(Windows Server 2008 Hyper-V)

Host 1 Host 2

1. Save state• Create VM on the target• Write VM memory to shared storage

2. Move virtual machine• Move storage connectivity from source

host to target host via Ethernet3. Restore state & Run

• Take VM memory from shared storage and restore on Target

• Run

16

Page 17: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Quick vs. Live Migration

Live Migration(WS08R2 Hyper-V)

Host 1 Host 2 17

1. VM State/Memory Transfer• Create VM on the target• Move memory pages from the source to the target

via Ethernet2. Final state transfer and virtual machine restore

• Pause virtual machine• Move storage connectivity from source host to

target host via Ethernet3. Un-pause & Run

Page 18: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

VMware vs. Hyper-V R2

Aspect vSphere 4 Hyper-V R2# CPU core 64 64

Memory 1TB 2TB

# nodes in cluster 32 16

# virtual CPU 8 4

# guest per host 256 192

Virtual memory 256GB 64GB

Hot-add disk Yes SCSI only

VM move Live Live

# of snapshots 32 50

HA via clustering Yes Yes

Market share 44% 23%

Source:Login, USENIX Magazine, Oct 2009

18

Page 19: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Hyper-V Linux VM

• RHEL supported as guest OS• Open source drivers (GPL) in 2.6.32• CPU Benchmark

8-core PH 1-core 1GB VM

2-core 2GB VM

4-core 4GB VM

01020304050607080

HEP - SPEC Benchmark

Hyper-V 2.0Hyper-V 1.0

19

Page 20: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

6%6%

57%

31%

Operating systems running in VM

Linux 32-bit

Linux 64-bit

Windows 32-bit

Windows 64-bit

Linux in VM

• Time synchronization Kernel parameters, e.g. notsc divider=10

• Virtual serial console• Admin privileges• 5 Linux templates

20

Page 21: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Consolidation vs. batch

21

Aspect Service consolidation

Batch virtualization

Scale (machines) ~ 100 ~ 1000

CPU usage Little HighHardware Reliable CheapServices Critical Non-criticalMigration Live Not requiredVM life time Long Limited

Page 22: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

ELFms Integration

22

Microsoft Virtual Machine Manager

Windows Powershell

SOAP Services

Virtual Machine Manager

AdminConsole

Perl SOAP clientHMSAIMS

Lemon

Backups

OS Maintenance

LAN DB

Application Management

22

Page 23: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Experiment use case

• VOBox service – dedicated servers for experiments: 222 and growing rapidly!

23

Page 24: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

CC Virtualization Future

• Consolidation of servers on critical power supply as the power is very limited

• Development resources for IT-FIO

24

Page 25: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

What’s next?

• CERN fabric management integration LEAF Lemon Quattor SLS

• Integrate Hyper-V drivers with SLC• Rapid provisioning

25

Page 26: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Virtual Desktop Infrastructure

26

Office Computer Centre

Thin Client

PC

Blade PCs

Terminal Services Cluster

Hyper-V servers with Virtual Desktops

ConnectionBroker

Page 27: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

VDI Use Cases

27

• Propose Virtual Desktop self service for experiment developers as an alternative to dual-boot as an alternative to Terminal Services

• Evaluate a thin client technology, which could be solution for public computers basic office users

Jack PC

Thin Client

Page 28: Evolution  of virtual infrastructure with Hyper-V

CERN IT Department

CH-1211 Genève 23

Switzerlandwww.cern.ch/

it

Conclusion

• Latest editions of Hyper-V + SCVMM in production

• Better Linux support• Live migration• Integration with CERN IT services

Fabric management tools

Visit our websiteCERN Virtual Infrastructure: http://cern.ch/cvi

28