02 Microsoft Server Virtualisatie Deel 2

54
Virtualisatie met Hyper-V 2008 R2 en Virtual Machine Manager Nobel

Transcript of 02 Microsoft Server Virtualisatie Deel 2

Page 1: 02  Microsoft Server Virtualisatie Deel 2

Virtualisatie met Hyper-V 2008 R2 en

Virtual Machine Manager

Nobel

Page 2: 02  Microsoft Server Virtualisatie Deel 2

Agenda deel 2

Page 3: 02  Microsoft Server Virtualisatie Deel 2

Hyper-V 2008 R2Architectuur en verbeteringen

Page 4: 02  Microsoft Server Virtualisatie Deel 2

Traditionele computerarchitectuur

Page 5: 02  Microsoft Server Virtualisatie Deel 2

Windows Server 2008 R2 Hyper-V Architectuur

Page 6: 02  Microsoft Server Virtualisatie Deel 2

Windows Server 2008 R2 Hyper-V Architectuur

Linux VSC

VMBus

Page 7: 02  Microsoft Server Virtualisatie Deel 2

Hyper-V 2008 R2

Page 8: 02  Microsoft Server Virtualisatie Deel 2

BeschikbaarheidLive Migration

Cluster Shared VolumesHot Add/remove van disks

Processor Compatibility Mode

Page 9: 02  Microsoft Server Virtualisatie Deel 2

Live Migration

Page 10: 02  Microsoft Server Virtualisatie Deel 2

Live Migration scenario’sLive migration voor onderhoud

Shared Storage

Host is nu offline voor onderhoud (hardware,

software)

Page 11: 02  Microsoft Server Virtualisatie Deel 2

Shared Storage

Live Migration scenario’sDynamische load balancing met SCVMM/PRO

Page 12: 02  Microsoft Server Virtualisatie Deel 2

Live MigrationHoe het werkt

Blauw = StorageOranje = Netwerk

Page 13: 02  Microsoft Server Virtualisatie Deel 2

Cluster Shared Volumes (CSV)

Page 14: 02  Microsoft Server Virtualisatie Deel 2

Failover Clustering Cluster Shared Volumes

Single Volume

VHD VHD VHD

SAN

Concurrent access to a single file

systemI/O Redirected via network

Page 15: 02  Microsoft Server Virtualisatie Deel 2

CSV: Netwerk Fouttolerantie

Fout-tolerante verbindingen over alle netwerken

Network Path Connectivity Failure

VHD

Metadata Updates Rerouted to

redundant network

VM running on Node 2 is

unaffected

SAN

Network Path Connectivity Failure

Metadata Updates Rerouted to

redundant network

VM running on Node 2 is

unaffected

Coordinator Node

Page 16: 02  Microsoft Server Virtualisatie Deel 2

CSV: SAN Fouttolerantie

VM running on Node 2 is

unaffected

SAN Connectivity Failure

VHD

I/O Redirected via SMB

SANCoordinator Node

Page 17: 02  Microsoft Server Virtualisatie Deel 2

CSV: Node Fouttolerantie

Brief queuing of I/O while volume ownership (Coordinator) is changed

VHD

Node Failure VM running on Node 2 is

unaffected

SANCoordinator Node

Coordinator Node

Page 18: 02  Microsoft Server Virtualisatie Deel 2

Hot Add/Remove Disks

Page 19: 02  Microsoft Server Virtualisatie Deel 2

Processor Compatibility Mode

Page 20: 02  Microsoft Server Virtualisatie Deel 2

Verbeterde PrestatiesSecond Level Address Translation

TCP Offload ondersteuningVirtual Machine Queue (VMQ) ondersteuning

Jumbo Frame ondersteuning

Page 21: 02  Microsoft Server Virtualisatie Deel 2

Second Level Address TranslationOndersteuning van nieuwe processor-eigenschappen

Page 22: 02  Microsoft Server Virtualisatie Deel 2

Verbeterde Networking

Page 23: 02  Microsoft Server Virtualisatie Deel 2

Virtualized Network I/O Data PathParent Partition VM1 VM2

Ethernet

VM BUS

TCP/IP TCP/IP

VM NIC 1 VM NIC 2

Virtual Machine Switch

NIC

MiniportDriver

RoutingVLAN Filtering

Data Copy Port 1Port 2

Page 24: 02  Microsoft Server Virtualisatie Deel 2

Network I/O Data Path met VMQParent Partition VM1 VM2

Ethernet

VM BUS

TCP/IP TCP/IP

VM NIC 1 VM NIC 2

Virtual Machine Switch

MiniportDriver

Switch/Routing unit

Q1 DefaultQueueQ2

RoutingVLAN filtering

Data Copy Port 1Port 2

NIC

Page 25: 02  Microsoft Server Virtualisatie Deel 2

Grotere Schaalbaarheid

Ondersteuning voor 64 Logische ProcessorenCore Parking

Page 26: 02  Microsoft Server Virtualisatie Deel 2

Ondersteuning voor 64 Logische Processoren

Page 27: 02  Microsoft Server Virtualisatie Deel 2

Processor Core Parking

Page 28: 02  Microsoft Server Virtualisatie Deel 2

Hyper-V Server 2008 R2Eigenschappen

Page 29: 02  Microsoft Server Virtualisatie Deel 2

Hyper-V Server 2008 R2

R2

Gratis

Page 30: 02  Microsoft Server Virtualisatie Deel 2

Windows Server 2008 R2 Server Core Architectuur

Server CoreSecurity, TCP/IP, File Systems, RPC,plus other Core Server Sub-Systems

DNS DHCP FileAD

RDS SNMP WDS

ADLDS

MediaServer IIS Hyper-V

Print

ASP.NETPS.NET

2.0/3/3.5

WOW64

GUI, Shell, IE, Media, Mail, Etc.

Cert Server Backup Clustering

Bitlocker MultipathIO

Hyper-V Server 2008 R2 Architectuur

Page 31: 02  Microsoft Server Virtualisatie Deel 2

Reductie in patches

0

0,1

0,2

0,3

0,4

0,5

0,6

0,7

0,8

0,9

1

Windows Server 2008 (Full) Windows Server 2008 (Server Core) Microsoft Hyper-V Server 2008

~50% reboots minder

Genormaliseerd op Windows Server 2008

Page 32: 02  Microsoft Server Virtualisatie Deel 2

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

Capabilities MicrosoftHyper-V Server 2008

MicrosoftHyper-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 64

Virtualization Rights for Windows Server 2008 guests 0 0 EE = 4 VM

DC = 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

Windows Server 2008 CALs Required for Guest Server OS No No No

Guest OS support Windows Server 2008 R2, Windows Server 2008 & SP2, Windows Server 2003 SP2, Windows 2000 Server, SLES 10, SLES 11, Red Hat Enterprise 5.2/5.3, Windows 7, Windows Vista SP1, SP2 & Windows XP SP3/SP2

Page 33: 02  Microsoft Server Virtualisatie Deel 2

Hyper-V Server 2008 R2 Embedded

Page 34: 02  Microsoft Server Virtualisatie Deel 2

Hyper-V Server 2008 R2Configuratie en beheer

Page 35: 02  Microsoft Server Virtualisatie Deel 2

Installatie• Hardware Requirements

– Hardware-assisted Virtualization support (Intel-VT, AMD-V)– Data Execution Prevention enabled

• Additional hardware support for:– Virtual Machine Queues (VMQ)– Second Level Address Translation (SLAT)

• Extended Page Tables (EPT) – Intel• Nested Page Tables (NPT) – AMD

• Media– Bootable USB/DVD

• 10 to 15 minute install (~ 1,5 GB ISO)• WDS

Page 36: 02  Microsoft Server Virtualisatie Deel 2

Configuratie met SCONFIG

Page 37: 02  Microsoft Server Virtualisatie Deel 2

Sconfig ‘onder water’• Vbscript in %SystemRoot%\System32\%locale%

– C:\windows\system32\en-us– Roept objecten aan, WMI, tools

• Allow MMC Remote Management– Enables VDS (automatic and start)

• Enable Windows PowerShell– Stelt Execution Policy in– Installeert .Net Framework (enable feature)

• Enable Server Manager Remote Management– Installeert Server Manager PowerShell cmdlets

• Download and install updates– Voert separaat download script uit

• Failover Clustering Feature– Enable/Disable Failover Clustering

Page 38: 02  Microsoft Server Virtualisatie Deel 2

Overige command line tools• Network Shell

– Netsh• File System Utility

– Fsutil• Access Control Lists

– Icacls• Disk Partitioning

– Diskpart

Page 39: 02  Microsoft Server Virtualisatie Deel 2

iSCSI en MPIOMulti-path management

Enable MPIOocsetup MultipathIo

Command line (mpclaim.exe)GUI (mpiocpl.exe)

iSCSI initiatorCommand line (iscsicli.exe)GUI (iscsicpl.exe)

Page 40: 02  Microsoft Server Virtualisatie Deel 2

Additionele tools

• Core Configurator 2• Draait op de host

– Remote PS in de planning

• http://coreconfig.codeplex.com/

Page 41: 02  Microsoft Server Virtualisatie Deel 2

Specifiek: untrusted scenario• Untrusting domains, workgroups• Vereist erg veel configuratiewerk:

– Mirrored admin accounts– WMI security permissions (root\cimv2, root\virtualization)– Azman security permissions (InitialStore)– DCOM security permissions permissions– Diverse firewall rules

– Aanpassingen gelden zowel client als server side

• Oplossing: gebruik HVRemote.wsf– Configureert alle instellingen voor remote management in alle scenarios

Page 42: 02  Microsoft Server Virtualisatie Deel 2

High Availability• Failover Clustering• 16 nodes per cluster• Ondersteund maximum van 64 VM’s per node

• Aanbevelingen– Voorkom een ‘hollands cluster’

• 1 node voor failover, extra node voor onderhoud– Afhankelijk van cluster-grootte

– Netwerk adapters:• 1 NIC voor domain access en management• 1 NIC voor virtual machines• 1 NIC voor CSV / Live Migration (>= 1Gb)• 1 NIC voor iSCSI

Page 43: 02  Microsoft Server Virtualisatie Deel 2

Beheer op afstand…Enable remote management via SCONFIG, beheer via

Hyper-V manager in Windows Server 2008 R2Remote Server Administration Tools for Windows 7 (gratis)

Microsoft System Center Virtual Machine Manager 2008 R2PowerShell (ISE + Remoting)

Page 44: 02  Microsoft Server Virtualisatie Deel 2

Server Manager Remote• 2008 R2 maakt remote

management via ServerManager mogelijk

• Vereist “Enable ServerManager Remote Management”

• Vereist Windows Firewallinbound rules te worden enabled

Page 45: 02  Microsoft Server Virtualisatie Deel 2

Samenvatting Hyper-V Server 2008 R2

• Gratis• Gelijke eigenschappen als de Windows Enterprise-editie

– Gebaseerd op Core

• Kleine footprint, snel• Eenvoudig te installeren en beheren

Page 46: 02  Microsoft Server Virtualisatie Deel 2

Hyper-V Server 2008 R2• Microsoft.com/virtualization

– Startpunt voor virtualisatie

• Deploying Microsoft Hyper-V Server 2008 R2 on USB Flash Drive– Artikel op TechNet

• Create bootable USB drive for Hyper-V Server 2008 R2– Tool op code.msdn.microsoft.com

Page 47: 02  Microsoft Server Virtualisatie Deel 2

Virtual Machine Manager 2008 R2

Page 48: 02  Microsoft Server Virtualisatie Deel 2
Page 49: 02  Microsoft Server Virtualisatie Deel 2

Ondersteuning van Window Server 2008 R2

Page 50: 02  Microsoft Server Virtualisatie Deel 2

Quick Storage Migration

Page 51: 02  Microsoft Server Virtualisatie Deel 2

Nieuw in System Center VMM 2008 R2

Page 52: 02  Microsoft Server Virtualisatie Deel 2

Meer informatie• Microsoft virtualisatie

– www.microsoft.com/virtualization

• Hyper-V Server– Www.microsoft.com/hyper-v-server

• Video’s– http://www.microsoft.com/netherlands/virtualisatie/resources/video

s-webcasts/default.mspx

Page 53: 02  Microsoft Server Virtualisatie Deel 2

www.hyper-v.nu

Page 54: 02  Microsoft Server Virtualisatie Deel 2