| lausanne vmware migration to hyper- v a case study & its evolution guillaume lacaille &...

55
| Lausanne VMware migration to Hyper-V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Upload: jasper-eaton

Post on 11-Jan-2016

240 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

| Lausanne

VMware migration to Hyper-VA case study & its evolution

Guillaume Lacaille & Lionel CauSogeti SwitzerlandVirtualisation Senior Consultants

Page 2: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Agenda

A Case Study... 25’Company contextA strategic choice to makeBreaking old ideasPerforming the migration

...and its evolution 25’Hyper-V 2012 R2 new featuresSVMM 2012 R2 new featuresThe main improvements we are planning to perform and whyDemonstration

Conclusion 10’Q&A

Page 3: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Sogeti, who we are

Page 4: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

| Lausanne

A case study

VMware migration to Hyper-V

Page 5: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

The Customer: Establishing pictureUnited Nations customer3 Old server roomsAbout 200 Virtual MachinesWindows Server 2000 to 2008R2Netware ServersLinux Servers (Ubuntu, Red Hat, CentOS…)

VMware vSphere 4.1 / 20 hostsNetApp SAN EoL

Page 6: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

The customer requirements

2 new datacenters for productionSupport current and future workloadReplication for DRPPrivate Cloud capable architecture

Support of purchased hardwareHP Blade serversNetAppCisco Nexus + 1000v (optional)

Datacenter 2

Virtualization Host

Datacenter 1

Virtualization Host

Page 7: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

VMware versus Hyper-V

VMware20 Licenses of VMware vSphere 4.1No VMware subscription (=no fre upgrade)

MicrosoftSoftware AssuranceSystem Center Operation Manager

Page 8: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

VMware versus Hyper-V

VMware20 Licenses of VMware vSphere 4.1No VMware subscription (=no free upgrade)

MicrosoftSoftware AssuranceSystem Center Operation Manager

Migration to Hyper-V or VMware equal in time

Gap in skillset to vCloud or SCVMM identical

Page 9: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

VMware versus Hyper-V: Shopping list

VM

ware

vC

lou

d • Windows Server 2012 Datacenter

• vCloud Enterprise plus (incl. SRM and Cisco 1000v support)

• Centralized backup solution

Mic

roso

ft H

yp

er-

V +

S

C • Windows Server 2012 Datacenter

• System Center Virtual Machine Manager 2012 SP1

Page 10: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Breaking old ideas

Hyper-V is right only for Branch OfficesHyper-V cannot be compare to VMware in terms of featuresHyper-V supports a very limited range of Guest OSHyper-V does not support high-performance network…

Page 11: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Breaking old ideas

Gartner:“ Microsoft has improved its server virtualization products to the point that IT leaders should assess their VMware investments and consider whether Microsoft makes sense. Compare acquisition costs, ease of management and functionality for the two vendors and take advantage of their competitiveness.” 1

1How to Choose Between Hyper-V and vSphere (9 October 2013)http://www.gartner.com/technology/reprints.do?id=1-1LV8IX1&ct=131016&st=sb

Page 12: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Final Hyper-V Infrastructure

Back

upM

icro

soft

Sys

tem

Cen

ter D

ata

Prot

ectio

n M

anag

er

Cisco Nexus 5000

Windows Server 2012 DatacenterHyper-V Role (HP Blades) + 2 ESXi

Cisco Nexus 5000

Windows Server 2012 DatacenterHyper-V Role (HP Blades)

Cisco Network

Windows Server 2012 DatacenterHyper-V Role (HP Blades)

Virtual Networks

Virtual Machines

Infr

astr

uctu

re M

anag

emen

tM

icro

soft

Sys

tem

Cen

ter V

irtua

l Mac

hine

Man

ager

Mon

itorin

gM

icro

soft

Sys

tem

Cen

ter O

pera

tion

Man

ager

Datacenter 1 (HQ) Datacenter 2 (DR Site) Datacenter 3 (DEV)

NetApp and Violin Memory NetApp NetApp

Page 13: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Final Hyper-V Infrastructure

12 Hyper-V 2012 Hosts2 VMware ESXi 5.1 HostsSC Virtual Machine Manager 2012 SP1

Hyper-V and VMware integrationStorage integration SMI-SNetworks managed by VMM (incl. Teaming)

Converged Network

Page 14: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Success story: Migration to Hyper-VChallenge

Migration of 180 Virtual Machines

ConstraintsOS: Windows 2000 to 2008R2, Linux, Appliances, Netware…No virtual machines is domain joinedAs usual, migration out of business hours, limited downtime

Page 15: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Toolbox: SCVMM 2012 SP1

Legacy VMwareCluster

Hyper-V Cluster

Page 16: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

ProcessBefore

the migration

• Check network / destination lun on Hyper-V Cluster• Check VM Health: no snapshot, restart the VM• Save Network configuration

During the

migration

• Remove VMware tools and VMware network card• Move virtual machine using VMM / Powershell scripts• Configure network and restart system

After the

migration

• Check connectivity, system and application logs, integration tools• Proceed application check

After secu

re time

• Remove virtual machine on VMware infrastructure (V2V is non-destructive operation)

Ap

plic

atio

n o

wn

er

involm

en

t

Page 17: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Tips to sleep at night: NetworkingSave network configuration

C:\> Netsh dump > network.cfg

Save network configurationC:\> Netsh exec network.cfg

Remove ghost NICC:\> set devmgr_show_nonpresent_devices=1C:\> start devmgmt.msc

Page 18: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Tips to sleep at night: Old WindowsOld Operating System support

Windows NT4 and Windows 2000 (unsupported)

Powershell Hyper-V ModulePS C:\> Set-VMProcessor – VMName <yourvm>

-CompatibilityForOlderOperatingSystemEnabled

Integration tools for Windows 2000Get Hyper-V 2008 R2 integration toolsC:\Windows\System32\vmguest.iso

Page 19: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Tips to sleep at night: VHD vs VHDXVMM convert VMDK to VHD during V2V

Page 20: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Tips to sleep at night: AutomationPowershell is your best friend

1 http://www.ravichaganti.com/blog/?p=2766

Task Cmdlet

Migrate Virtual Machine New-SCV2V

Configure VM Network Set-SCVirtualNetworkAdapter

Convert VHD to VHDX Convert-SCVirtualDiskDrive <VHDdisk> -VHDX -DeleteSource

Configure Guest IP configuration Set-VMNetworkConfiguration1

Page 21: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

3rd party migration tools

Microsoft Assessment & Planning ToolkitAgentless inventory and reporting tool

Microsoft Virtual Machine Converter + Automation ToolkitMigrate Windows virtual machines that are domain

joinedRemove VMware tools and configure networkCan be all automated using Powershell

Others: 5nine Easy Converter, Double-Take move

Page 22: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

And what about unsupported stuff ?Unix, Netware and virtual appliance

Page 23: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

| Lausanne

… and its evolution

A case study …

Page 24: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Feature or functionality New or updated

Shared virtual hard diskHyper-V in Windows Server 2012 R2 Preview enables clustering virtual machines by using shared virtual hard disk (VHDX) files.

Resize virtual hard diskHyper-V storage has been updated to support resizing virtual hard disks while the virtual machine is running.

Storage Quality of ServiceStorage QoS enables you to manage storage throughput for virtual hard disks that are accessed by your virtual machines

Live migrationsHyper-V live migration has been updated to allow the administrator to select the optimal performance options when moving virtual machines to a different server.

Virtual machine generation

Virtual machine generation determines the virtual hardware and functionality that is presented to the virtual machine:

• Secure Boot (enabled by default)• Boot from a SCSI virtual hard disk• Boot from a SCSI virtual DVD• PXE boot by using a standard network adapter• UEFI firmware support

What’s new in Hyper-V in Windows Server 2012 R2

Page 25: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Feature or functionality New or updated 3rd party Software Defined Networking

Is supported by the extensibility of the virtual switch.

Automatic Guest ActivationCustomers running WS2012 R2 Datacenter can automatically activate their WS2012 R2 guests without using KMS. Works with OEM and volume licenses. Great for multi-tenant clouds.

Built-In NVGRE GatewayA multi-tenant aware NVGRE gateway role is available in WS2012 R2. Offers site-site VPN, NAT for Internet access, and VM Network to physical network gateway.

Clustering: Proactive Server Service Health Detection

The health of a destination host will be verified before moving a VM to another host.

Clustering: Protected Networks

Virtual NICs are marked as being on protected networks by default. If a virtual NICs’ virtual switch becomes disconnected then the cluster will Live Migrate that VM to another host with a healthy identical virtual switch.

Compressed Live MigrationUsing only idle CPU resources on the host, Hyper-V can compress Live Migration to make it quicker. Could provide up to 2x migrations on 1 GbE networks.

Cross-Version Live MigrationYou can perform a Live Migration from WS2012 to WS2012 R2. This is one-way, and enables zero-downtime upgrades from a WS2012 host/cluster to a WS2012 R2 host/cluster.

Dynamic Mode NIC TeamingIn addition to Hyper-V Port Mode and Address Hashing. Uses “flowlets” to give fine-grained inbound and outbound traffic.

Generation 2 VMA G2 virtual machine is a VM with no legacy “hardware”. It uses UEFI boot, has no emulated devices, boots from SCSI, and can PXE boot from synthetic NIC. You cannot convert from G1 VM (UEFI I am guessing).

What’s new in SCVMM 2012 R2 (source: http://www.aidanfinn.com)

Page 26: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Feature or functionality New or updated

HNV DiagnosticsA new PoSH cmdlet enables an operator to diagnose VM connectivity in a VM Network without network access to that VM.

HNV: Dynamic Learning of CAs

Hyper-V Network Virtualization can learn the IPs of VM Network VMs. Enables guest DHCP and guest clustering in the VM Network.

HNV: NIC TeamingInbound and outbound traffic can traverse more than one team member in a NIC team for link aggregation.

HNV: NVGRE Task OffloadsA new type of physical NIC will offload NVGRE de- and encapsulation from the host processor.

HNV: Virtual Switch extensions

The HNV filter has been included in the Hyper-V Virtual Switch. This enables 3rd party extensions to work with HNV CAs and PAs.

Hyper-V Replica Extended Replication

You can configure a VM in Site A to replicate to Site B, and then replicate it from Site B to Site C.

Hyper-V Replica Finer Grained Interval controls

You can change the replication interval from the default 5 minutes to every 30 seconds or every 15 minutes.

IPAMIP Address Management was extended in WS2012 R2 to do management of physical and virtual networking with built-in integration into SCVMM 2012 R2.

Live Resizing of VHDXYou can expand or shrink (if there’s un-partitioned space) a VHDX attached to a running VM. It must be SCSI attached.  This applies to Windows and Linux.

Live Virtual Machine Cloning You can clone a running virtual machine. Useful for testing and diagnostics.

What’s new in SCVMM 2012 R2 (source: http://www.aidanfinn.com)

Page 27: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Feature or functionality New or updated

Remote Live Monitoring Remote monitoring of VM network traffic made easier with Message Analyzer.

Shared VHDXUp to 8 VMs can share a VHDX (on shared storage like CSV/SMB) to create guest clusters. Appears like a shared SAS drive.

SMB Live Migration

This feature uses SMB to perform Live Migration over 10 GbE or faster networks. It uses SMB Multichannel if there are multiple Live Migration networks. SMB Direct is used if RDMA is available.  SMB Multichannel gives the fastest VM movement possible, and SMB Direct offloads the work from the CPU. Now moving that 1 TB RAM VM doesn’t seem so scary!

SMB 3.0: Bandwidth controlsQoS just sees SMB 3.0. New filters for default, live migration, and virtual machine allow you to manage bandwidth over converged networks.

Network DiagnosticsNew PowerShell tools for testing the networking of VMs, including Get-VMNetworkAdapter, Test-NetConnection, Test-VMNetworkAdapter, and Ping -P.

Virtual Machine Exports You can export a VM with snapshots/checkpoints

Virtual Switch Extended Port ACLs

ACLs now include the socket port number.  You can now configure stateful rules that are unidirectional and provide a timeout parameter. Compatibility with Hyper-V Network Virtualization.

vRSSVirtual Receive Side Scaling leverages DVMQ on the host NIC to enable a VM to use more than 1 vCPU to process traffic. Improves network scalability of a VM.

Windows Azure PackThis was previously called Windows Azure Services for Windows Server. It allows companies (such as hosting companies) to provide a self-service portal (with additional cloud traits) for their cloud.

What’s new in SCVMM 2012 R2 (source: http://www.aidanfinn.com)

Page 28: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Networking in Windows Server 2012 R2

Cloud Scale Performance & Diagnosability

Comprehensive SDN

Core Infrastructure Enhancements

vRSSRemote Live Monitoring

NIC Teaming

Hyper-V Network Virtualization

Hyper-V Switch Hybrid Forwarding

Standards based Switch

Management

Cloud Gateways

IPAM for Virtualized

Datacenters

DNS Enhancements for Service Providers

Extended ACLsTest-

NetConnectionEnhanced HNV

Diagnostics

Page 29: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

NIC Teaming

Windows Server 2012• Provides network fault tolerance and

continuous availability

• Aggregates bandwidth from multiple network adapters

Windows Server 2012 R2• Introduces a new mode, Dynamic mode.

• Balances based on flowlets (a burst of packets from the same flow followed by an idle interval)

• Optimized utilization of a team on existing hardware

NIC Team Identify

Virtual adaptersVirtual adapters

Team network adapter

Team network adapter

Operating system

8 x 1Gb NICs – 8Gb throughput

NIC Team Identify

Dynamic NIC Teaming optimizes utilization of a team on existing hardware, thereby maximizing ROI

Page 30: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

NIC Teaming

Live Migration over NIC Team in Switch Independent Mode With Dynamic Load Balancing rocks !• all NICs are used • no negative impact due to out of order

packets since one single live migration sticks to a single team member

Page 31: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

NIC Teaming and Converged Networks

Converged Fabrics tends to simplify data center management by consolidating all communication (Management, LiveMigration, Storage, Cluster) onto a single fabric for ease of management and better utilization of high availability features like Teaming

Two issues before:• Non optimized NIC Teaming• No QoS on Standard Hyper-V

Virtual Switch

Page 32: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Converged Fabric with Windows Server 2012 R2 and SCVMM 2012 R2

Hyper-V Extensible Switch

Management OS

NIC Teaming

Hosted VM

Storage

Clustering

2x10 Gbps

Management

Live Migration

Group all (or nearly) pNICs in one team

Provide multiple vNICs, each with its own workload and QoS policy

Page 33: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

| Lausanne

Converged Fabric

DEMO

Page 34: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Requirements to transform networking

Deliver networking as part of pooled, automated infrastructure

Ensure multitenant isolation, scale and performance

Expand datacenter capacity seamlessly as per business needs

Reduce operational complexity

Page 35: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

What is Software-defined Networking (SDN)?

Abstracting the physical network with virtual networks

Spanning policies across physical and virtual networks

Controlling datacenter traffic flow

Enables software to dynamically manage the network

Page 36: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Hyper-V Network Virtualization Benefits

Workload Owners

• Seamless migration to the cloud

• Move n-tier topology to the cloud

• Preserve policies, VM settings, IP addresses

Enterprises

• Private Cloud datacenter consolidation and efficiencies

• Extension of datacenter into hybrid cloud

• Incremental integration of acquired company network infrastructure

Hosters

• Bring Your own IP• Bring Your

network topology• Scalable multi-

tenancy

Private/Public Cloud

Datacenter Admins

• Flexible VM placement without reconfiguration

• Decoupling of server and network admin roles increases agility

Page 37: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Multiple virtual networks on a physical network

Each virtual network has illusion it is running as a physical network

How network virtualization works

Overlays physical network

Encapsulation using NVGRE protocol

Abstracting the network with Hyper-V Network Virtualization (HNV)

Physical server Physical network

VIRTUALIZATION

Contoso virtual machine

Fabrikam virtual

machineContoso network

Fabrikam network

Page 38: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Windows Server 2012 R2

HNV is part of the Hyper-V Switch

Dynamically learn Customer Addresses

Support Hyper-V Clustering

Enhanced performance + diagnostics

Hyper-V Network Virtualization Enhancements

Physical network

VIRTUALIZATION

Contoso network Fabrikam networkWindows Server 2012

HNV is a NDIS LWF

Scalable network virtualization solution

Centralized policy + distributed router

Works across physical subnets

Page 39: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

SQL Server Web

Fabrikam sees

SQL Server Web

Contoso sees

SQL Server SQL Server Web Web

Hyper-V Host 2Hyper-V 1

192.168.2.12192.168.1.10

10.1.1.2

192.168.1.10

10.1.1.3

192.168.2.12

192.168.n.n

PROVIDER ADDRESS SPACE (PA)

10.1.1.2 192.168.1.10

10.1.1.3 192.168.2.12

10.1.1.210.1.1.1

10.1.1.2 10.1.1.3

CUSTOMER ADDRESS SPACE

10.1.1.2

192.168.1.10

10.1.1.3

192.168.2.12

10.1.1.2

192.168.1.10

10.1.1.3

192.168.2.12

10.1.1.2 192.168.1.10

10.1.1.3 192.168.2.12

10.1.1.2 192.168.1.10

10.1.1.3 192.168.2.12

10.1.1.1 10.1.1.2

10.1.1.2 10.1.1.3

Hyper-V Network Virtualization: What’s new in Windows Server 2012 R2

Dynamically Learned Customer Addresses• Highly available Windows gateways,

hosts, VMs

Performance Improvements• NIC Teaming Integration

• NVGRE Task Offload Enabled NICs

Enhanced diagnostics of virtual networks

Page 40: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Managing SDN with System Center 2012 R2 Virtual Machine Manager

ChallengesManage a large number of physical and virtual switches

Integrate management of physical and virtual networks

SolutionLogical Network

Organizes and simplifies network assignments for hosts, virtual machines and services

Integrated physical and virtual switch VLAN policy

VM Network Creation/deletion of isolated virtual network overlay (HNV) on physical network

VM Network

Logical NW

Physical Network

VLA

N 2

5Subnet

10.0

.0.0

/26

Fab

ric

Vir

tual

ExtensionExtensionExtension

VM Network

Logical NW

Page 41: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Managing SDN with System Center 2012 R2 Virtual Machine Manager (contd.)Challenges

Allow seamless migration of VM while maintaining network policy

SolutionLogical Switch

Single logical entity spanning hosts

Consistent policy and configuration

Management of Hyper-V Extensible SwitchInstallation and configuration of switch extensions

Configuration of network policies

Network policies automatically move with the VMIncludes 3rd party extensions

VM Network

Logical NW

Physical Network

VLA

N 2

5Subnet

10.0

.0.0

/26

Fab

ric

Vir

tual

ExtensionExtensionExtension

VM Network

Logical NW

Page 42: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Should I use a logical switch?

Why?

• Automatic team creation• Configuration for DC on a single object• Compliance• Access to hyper-v port settings• 3rd party extension management• Updates get applied to all hosts

Why not?

• More up-front configuration• Not manageable through Hyper-V

console manager

Page 44: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

My own version of the object model Name

Network Site(s)

Name

Name

Logical Network

1-N

1-N

Hosts Group(s)

VM Subnet(s)

VLAN-IP Subnet(s)

Name

Host(s)

VLAN

IP Subnet

1-N

Name

Logical Network

Network Site

VLAN-IP Subnet

Name

IP Subnet

1-N

1-N

IP Address Range

IP settings (Gateway, DNS, WINS)

1-0orN

Name

Network Site(s)

N-N

Name

Uplink Port Profile(s)

Virtual Network Adapter Profile(s)

Name

Logical Switch(es)

N-N

Name

Network Site(s)

Name

Offload, Security and Bandwidth settings

1-0or1

N-N

N-N

N-N

Name

VM Network

N-N

N-N (a VM is connected to a VM Network only via a Logical Network with isolation enabled)

Page 45: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

| Lausanne

Core Networking Configurations using SCVMM 2012 R2

DEMO

Page 46: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Enhanced Diagnostics with HNV (NEW in R2)Message Analyzer

Decodes the NVGRE packet formatFilter either on the CA or PA Packet data

Ping –pAllows pinging PAs

Test-VMNetworkAdapter Allows an admin without access to the VM to validate the CA space configuration

HNV responds to ICMP request to the default gatewayAllows pinging the IP address of the CA default gateway (distributed router)

Page 47: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

ACLs

Extended ACLs

Windows Server 2012• Enabled traffic to be allowed/blocked based on

source and destination VM

Windows Server 2012 R2• Allows or blocks traffic for specific workloads

• Filter traffic based on:• Network address• Application port• Protocol type

• Stateful packet inspection

Parent Partition

Extension C

Extension D

Extension A

Virtual Switch

Capture Extensions

Filtering Extensions

Forwarding Extension

Physical NIC

VMNIC

Virtual Machine

Extension Miniport

Extension Protocol

Page 48: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

IP Address Management (IPAM)

Windows Server 2012 R2• Manages virtual address space in

addition to physical address space

• Imports and exports network configurations automatically through plugin for System Center Virtual Machine Manager

• Enables synchronization of Active Directory Sites and subnets information with IPAM

• Lets admins define user roles, access scope and access policy through role-based access control

• Hoster friendly DNS monitoring that provides per zone statistics

Integration PluginRole Based Access

Control

IPAM Client Win vNext

IPAM Server WS vNext

VMM Server SC vNext

Server Discovery

Server Configuration

Address Utilization

Event Collection

Server Availability

Server Monitoring

Address Expiry

DHCP Server WS08

DNS Server WS08 R2 & SPs

DC Server WS8

NPS Server WS vNext

Data collection tasks

WCF PS/WS Man

Network Administrator

Fabric Administrator

System Administrator

Forensics Investigator

MS SQL Server SQL 2008 R2, SQL 2012

IPAM Administrator

IPAM ASM Administrator

IPAM MSM Administrator

IPAM Users

IPAM Audit Administrator

Security Groups

Enable cost-effective connectivity and network automation in virtualized private, hoster, and

hybrid cloud deployments

Page 49: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Lots of question• Where do I start, what do I do next?• How do I offer networking to my virtualization

workloads?• How do I make my network resilient to failure?• How do I provide tenant self service?• How can I provide isolation?• How do I maintain consistency in large

datacenters?

Page 50: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Steps to a successful deployment

Design

Draw your network requirements.

Ask questions up front and get answers.

Hardware

Use hardware that supports your design.

Iterate back on your design.

Configure hardware.

VMM configuration

Create logical objects

Configure hosts

Add tenants

Deploy workloads

Page 51: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

| Lausanne

Conclusion

Hyper-V and SCVMM: a case study and its evolution

Page 52: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Conclusion

Hyper-V 2012 R2 and SCVMM 2012 R2 do represent a MAJOR improvement in the Microsoft virtualization technologies portfolio

Old ideas must be forgotten and Microsoft technologies are certainly to consider when implementing a new environment, including for mission-critical systems

Hyper-V Network Virtualization is a little bit complex to understand but it’s certainly worthwhile: HNV is very powerful and ready for deployment in your datacenters

Page 53: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Recommended reading

VMM Technet Referencehttp://technet.microsoft.com/en-us/library/gg610610.aspx

System Center:Virtual Machine Manager Engineering Bloghttp://blogs.technet.com/b/scvmm/

Guillaume Lacaille’s bloghttp://www.vinfra.ch

Arnaud Lheureux’s bloghttp://blogs.technet.com/b/arnaud/

Aidan Finn’s bloghttp://www.aidanfinn.com

Page 54: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

Question and Answers

Thank you

Page 55: | Lausanne VMware migration to Hyper- V A case study & its evolution Guillaume Lacaille & Lionel Cau Sogeti Switzerland Virtualisation Senior Consultants

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

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