Network Management Microsoft System Center 2012 SP1 Virtual Machine Manager Greg Cusanza Senior Program Manager Microsoft Corporation MGT315
LOGICAL NETWORKS Classify network for VMs to access Map to network topology Allocate to hosts and clouds ADDRESS POOLSLOAD BALANCERS Allocate a static IP address to VMs from a preconfigured pool Create IP pool as a managed range of IP address assignments Create MAC address pool as a managed range of MAC address assignments Apply settings for load balancer capability in service deployment Control load balancer through vendor provider based on PowerShell Create virtual IP templates consisting of load balancer configuration settings
Internet Data VM to VM
(Production ) VMtoVM (Production ) Subnet and VLAN IP Space Connection Resolution Production DNS, WINS VMtoVM
Logical Network “Corp” Logical Network “Corp” Logical network definition “Building 42” Logical network definition “Building 42” Host group “Production” Host group “Production” IP Pool “StaticSrv” “ ” IP Pool “StaticSrv” “ ” Physical network adapter Virtual switch Virtual network adapter Subnet- VLAN “ /24” “VLAN 5” Subnet- VLAN “ /24” “VLAN 5”
VMtoVM Production Developmen t Servers Infrastructure Logical Network Definition Servers Infrastructure
Production Server1 VMtoVM Internet Host VMtoVM Uplink Internet Uplink
IP POOLS Assigned to VMs, vNICs, hosts, and virtual IPs (VIP’s) Specified use in VM template creation Checked out at VM creation—assigns static IP in VM Returned on VM deletion MAC POOLSVIRTUAL IP POOLS Assigned to VMs Specified use in VM template creation Checked out at VM creation—assigned before VM boot Returned on VM deletion Assigned to service tiers that use a load balancer Reserved within IP Pools Assigned to clouds Checked out at service deployment Returned on service deletion
AUTOMATION Connect to load balancer through hardware provider Assign to clouds, host groups, and logical networks Configure load balancing method and add virtual IP on service deployment SUPPORTED BALANCERSVIRTUAL IP TEMPLATES F5 BIG-IP Brocade ServerIron ADX Citrix NetScaler Microsoft Network Load Balancer Specifies preconfigured properties for configuring a load balancer at service deployment Specifies load balancing methods—round robin, least connections, fastest response
Fabric Configuration
PowerShell - Creating a Logical Network #Create a Logical Network $logicalNetwork = New-SCLogicalNetwork -Name "My Logical Network" #Create a network site $allHostGroups $allHostGroups += Get-SCVMHostGroup “Hosts” $allHostGroups += Get-SCVMHostGroup “Infra” $allSubnetVlan $allSubnetVlan += New-SCSubnetVLan -Subnet " /24" -VLanID 4 $allSubnetVlan += New-SCSubnetVLan -Subnet " /24" -VLanID 3 New-SCLogicalNetworkDefinition -Name "Building 44" -LogicalNetwork $logicalNetwork -VMHostGroup $allHostGroups -SubnetVLan $allSubnetVlan
PowerShell – IP Pools #Assume $logicalNetwork and $logicalNetworkDefinition are set $allGateways $allGateways += New-SCDefaultGateway -IPAddress " " - Automatic $allDnsServer $allDnsSuffixes $allWinsServers New-SCStaticIPAddressPool -Name "MyIPPool" -LogicalNetworkDefinition $logicalNetworkDefinition -Subnet " /16" -IPAddressRangeStart " " -IPAddressRangeEnd " " -DefaultGateway $allGateways -DNSServer $allDnsServer -DNSSuffix "" -DNSSearchSuffix $allDnsSuffixes
PowerShell – IP Pool Queries $ippool = Get-SCStaticIPAddressPool "VMTraffic" #Show allocated IP Addresses Get-SCIPAddress -StaticIPAddressPool $ippool | ft -property Address,AssignedToType,State Address AssignedToType State VirtualNetworkAdapter Assigned VirtualNetworkAdapter Assigned VirtualNetworkAdapter UnAssigned VirtualMachine UnAssigned VirtualMachine UnAssigned
Connectivity Capability Multi-tenancy Isolation Mobility Bring your own IP Quality of service (QOS) Security Optimizations Monitors Answer: VM NetworksAnswer: Logical Switch
Multi-tenancy Owner Sharable - Access list Self service creation by Tenant Admin user role Isolation No isolation Network virtualization VLAN External Bring your own IP Enabled by network virtualization Tenant/Customer IP address space separate from Provider IP address space Mobility vNICs only connect to VM Networks VM Networks are built on logical networks VM Networks span clouds With NV, IP follows VM migration
Logical Network “Corp” Logical Network “Corp” Logical network definition “Building 42” Logical network definition “Building 42” IP Pool “StaticSrv” “ ” IP Pool “StaticSrv” “ ” Subnet- VLAN “ /24” “VLAN 5” Subnet- VLAN “ /24” “VLAN 5” VM Network No Isolation “mgmt” VM Network No Isolation “mgmt”
Blue VMRed VM Virtualization Physical Server Blue NetworkRed Network Physical Network
Virtualization Policy System Center Customer Address Space (CA) Red 2 Blue Red 1 Blue Blue Blue Blue Corp Red Corp Red Red Datacenter Network Host 1 Host 2 Provider Address Space (PA) CAPA
Logical Network “Corp” Logical Network “Corp” Logical network definition “Building 42” Logical network definition “Building 42” IP Pool (PA) “StaticSrv” “ ” IP Pool (PA) “StaticSrv” “ ” Subnet- VLAN “ /24” “VLAN 5” Subnet- VLAN “ /24” “VLAN 5” VM Network Net. Virt. “Finance” VM Network Net. Virt. “Finance” VM Subnet /16 VM Subnet /16 IP Pool (CA) IP Pool (CA)
VM Subnet “ /24 ” “VLAN 44” VM Subnet “ /24 ” “VLAN 44” Logical Network Not Connected “TenantVLANs ” Logical Network Not Connected “TenantVLANs ” Logical network definition “B42Tenants ” Logical network definition “B42Tenants ” IP Pool “StaticSrv” “ ” IP Pool “StaticSrv” “ ” Subnet- VLAN “ /24” “VLAN 44” Subnet- VLAN “ /24” “VLAN 44” VM Network VLAN “Finance” VM Network VLAN “Finance”
VM Subnet IP Pool “StaticSrv” “ ” IP Pool “StaticSrv” “ ” VM Network External “Finance” VM Network External “Finance” Logical Network Not Connected “TenantNets” Logical Network Not Connected “TenantNets” Logical network definition “B27Tenants ” Logical network definition “B27Tenants ”
VM Networks
VM Network Powershell #Create Hyper-V NV VMNetwork $logicalNetwork = Get-SCLogicalNetwork “MyLN” $vmNetwork = New-SCVMNetwork -Name "MyVMNetwork" -LogicalNetwork $logicalNetwork #Add VMSubnet $subnet = New-SCSubnetVLan -Subnet " /24" $vmSubnet = New-SCVMSubnet -Name "My_ _24" -VMNetwork $vmNetwork -SubnetVLan $subnet #...etc… #Add IP Pool is same cmdlet as with Logical Network New-SCStaticIPAddressPool -Name "MyIPPool" -VMSubnet $vmSubnet - Subnet “ /24" -IPAddressRangeStart “ " - IPAddressRangeEnd " " -DefaultGateway $allGateways - DNSServer $allDnsServer -DNSSuffix "" -DNSSearchSuffix $allDnsSuffixes
Capability Quality of service (QOS) Security Optimizations Monitors Connectivity Multi-tenancy Isolation Mobility Bring your own IP Answer: VM Networks Answer: Logical Switch
Key TenetsBenefit Extensible, not replaceableAdded features don’t remove other features Pluggable switchExtensions process all network traffic, including VM-to-VM 1 st class citizen of systemLive Migration and offloads just work; Extensions work together Open & public API modelLarge ecosystem of extensions Logo certification and rich OS framework High quality extensions Unified Tracing thru virtual switchShorter down times
Extensions are Filters or Windows Filtering Platform Providers Extension state/configuration is unique to each instance of an Extensible Switch on a machine Extension
Virtualization CA 1 VM 1 VM U CA 2 VM 2 Root Partition 3 rd Party components Physical NIC (Non SRIOV) Physical NIC (SRIOV) Hardware Top of rack switch Vendor network mgmt console Policy database VMM Agent VMM Server SCVMM Vendor SCVMM Plugin Capture Extension Filtering Extension Forwarding Extension
VMM Virtual Switch Extension Manager (VSEM) Provider Interface Virtual Switch Extension Manager (VSEM) Provider Interface 3 rd Party Extension Manager Provider 1.Import: Logical Networks IP Pools VM Networks Port Profiles 2. Set VM Network Port Profile 3. Retrieve port Profile policies Policy database
…on Host1…on Host2…on Host3…etc VM1 vNIC1 VM2 vNIC1 VM3 vNIC1 VM5 vNIC1 VM4 vNIC1 VM6 vNIC1 Virtual Switch Instances VM vNICs Native Switch Settings Extension1 Extension2 Extension3 Native Switch Settings Extension1 Extension2 Extension3 Native Switch Settings Extension1 Extension2 Extension3 Native Switch Settings Extension1 Extension2 Extension3 Uplink pNIC1 Uplink pNIC2 Uplink pNIC1 Uplink pNIC2 Uplink pNIC1 Uplink pNIC2 Uplink pNIC1 Uplink pNIC2 Physical Host NICs Host1 vNIC2 Host1 vNIC1 Host2 vNIC2 Host2 vNIC1 Host3 vNIC2 Host3 vNIC1 Host 4 vNIC 2 Host4 vNIC1 Host vNICs
…on Host1…on Host2…on Host3…on Host4 VM1 vNIC1 VM2 vNIC1 VM3 vNIC1 VM5 vNIC1 VM4 vNIC1 VM6 vNIC1 VS Instances VM vNICs Uplink pNIC1 Uplink pNIC2 Uplink pNIC1 Uplink pNIC2 Uplink pNIC1 Uplink pNIC2 Uplink pNIC1 Uplink pNIC2 Physical Host NICs VMM Switch Infrastructure Host1 vNIC2 Host1 vNIC1 Host2 vNIC2 Host2 vNIC1 Host3 vNIC2 Host3 vNIC1 Host 4 vNIC 2 Host4 vNIC1 Logical Switch Native Switch Settings Extension1Extension2 Extension3 Host vNICs
1 - M Uplink Port Profile Set Extension Uplink Port Profile M - M Native Uplink Port Profile M - 1 Logical switch objects Logical Switch “B42Switch” Logical Switch “B42Switch” Switch Extensions “Cisco Nexus 1000v” “InMon sFlow” Switch Extensions “Cisco Nexus 1000v” “InMon sFlow” M - M Virtual Port Profile Set Extension Virtual Port Profile M - M Native Virtual Port Profile M M Port Classificati on “Fast DB” “Web” “Restricted” Port Classificati on “Fast DB” “Web” “Restricted” Cloud vNIC 1 - M Physical NIC 1 - M Self Service User
1 - M Uplink Port Profile Set Native Uplink Port Profile M - 1 Logical switch objects Logical Switch “B42Switch” Logical Switch “B42Switch” Virtual Port Profile Set Native Virtual Port Profile M M Port Classificati on “Fast DB” “Web” “Restricted” Port Classificati on “Fast DB” “Web” “Restricted” Cloud vNIC 1 - M Physical NIC 1 - M
Logical Switch
IPAM Script
Breakout Sessions MGT314 - What's New in System Center 2012 SP1 - Virtual Machine Manager MGT316 - Overview of Microsoft System Center 2012 SP1 - Storage Management MGT317 - Overview of Microsoft System Center 2012 SP1 - Virtual Machine Manager Services VIR306 - Hyper-V Over SMB 3.0, Remote File Storage Support in Windows Server 2012, Hyper-V MGT320 - Microsoft System Center Virtual Machine Manager 2012: Zero to Cluster to Cloud MGT321 - Service Template Creation from the Ground Up MGT326 - Building a Hosted Cloud Using Microsoft System Center 2012 and Windows Server 2012 VIR303 – An Overview of Hyper-V Networking on Windows Server 2012 WSV301 - Building Hosted Private and Public Cloud using Windows Server 2012
Connect. Share. Discuss. Learning Microsoft Certification & Training Resources TechNet Resources for IT Professionals Resources for Developers
Required Slide Complete an evaluation on CommNet and enter to win!