02 Microsoft Server Virtualisatie Deel 2

Post on 20-Aug-2015

1.314 views 4 download

Tags:

Transcript of 02 Microsoft Server Virtualisatie Deel 2

Virtualisatie met Hyper-V 2008 R2 en

Virtual Machine Manager

Nobel

Agenda deel 2

Hyper-V 2008 R2Architectuur en verbeteringen

Traditionele computerarchitectuur

Windows Server 2008 R2 Hyper-V Architectuur

Windows Server 2008 R2 Hyper-V Architectuur

Linux VSC

VMBus

Hyper-V 2008 R2

BeschikbaarheidLive Migration

Cluster Shared VolumesHot Add/remove van disks

Processor Compatibility Mode

Live Migration

Live Migration scenario’sLive migration voor onderhoud

Shared Storage

Host is nu offline voor onderhoud (hardware,

software)

Shared Storage

Live Migration scenario’sDynamische load balancing met SCVMM/PRO

Live MigrationHoe het werkt

Blauw = StorageOranje = Netwerk

Cluster Shared Volumes (CSV)

Failover Clustering Cluster Shared Volumes

Single Volume

VHD VHD VHD

SAN

Concurrent access to a single file

systemI/O Redirected via network

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

CSV: SAN Fouttolerantie

VM running on Node 2 is

unaffected

SAN Connectivity Failure

VHD

I/O Redirected via SMB

SANCoordinator Node

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

Hot Add/Remove Disks

Processor Compatibility Mode

Verbeterde PrestatiesSecond Level Address Translation

TCP Offload ondersteuningVirtual Machine Queue (VMQ) ondersteuning

Jumbo Frame ondersteuning

Second Level Address TranslationOndersteuning van nieuwe processor-eigenschappen

Verbeterde Networking

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

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

Grotere Schaalbaarheid

Ondersteuning voor 64 Logische ProcessorenCore Parking

Ondersteuning voor 64 Logische Processoren

Processor Core Parking

Hyper-V Server 2008 R2Eigenschappen

Hyper-V Server 2008 R2

R2

Gratis

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

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

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

Hyper-V Server 2008 R2 Embedded

Hyper-V Server 2008 R2Configuratie en beheer

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

Configuratie met SCONFIG

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

Overige command line tools• Network Shell

– Netsh• File System Utility

– Fsutil• Access Control Lists

– Icacls• Disk Partitioning

– Diskpart

iSCSI en MPIOMulti-path management

Enable MPIOocsetup MultipathIo

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

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

Additionele tools

• Core Configurator 2• Draait op de host

– Remote PS in de planning

• http://coreconfig.codeplex.com/

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

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

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)

Server Manager Remote• 2008 R2 maakt remote

management via ServerManager mogelijk

• Vereist “Enable ServerManager Remote Management”

• Vereist Windows Firewallinbound rules te worden enabled

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

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

Virtual Machine Manager 2008 R2

Ondersteuning van Window Server 2008 R2

Quick Storage Migration

Nieuw in System Center VMM 2008 R2

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

www.hyper-v.nu