{"id":16451,"date":"2014-05-13T21:31:57","date_gmt":"2014-05-13T21:31:57","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=16451"},"modified":"2014-05-13T21:31:57","modified_gmt":"2014-05-13T21:31:57","slug":"teched-na-2014scvmm-bare-metal-host-deployment","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=16451","title":{"rendered":"TechEd NA 2014&ndash;SCVMM Bare Metal Host Deployment"},"content":{"rendered":"<p>Speakers: Damian Flynn, MVP and Marc Van Eijk, MVP.<\/p>\n<p>Confusing topic for many. The guys are very experienced in the real world so a good session to take notes from and share.<\/p>\n<h2>Environment Preparation<\/h2>\n<ul>\n<li>Rack the servers and configure the BMC card.<\/li>\n<li>Build an OS image and add it to the library.<\/li>\n<li>Configure DNS aliases for BMCs, set up certs (if required), and set up VMM Run As profiles, e.g. join a domain, log into BMC, etc.<\/li>\n<\/ul>\n<h2>Infrastructure Services<\/h2>\n<ul>\n<li>Set up WDS for SCVMM<\/li>\n<li>You need a DHCP scope for your bare metal hosts for the deployment phase. The hosts will get static IPs after deployment.<\/li>\n<li>Prep SCVMM \u2013 Import WDS, add OS image to the library (and refresh), add a Run As account for the domain join, and add a Run As account for the BMC.<\/li>\n<\/ul>\n<h2>The deployment<\/h2>\n<ul>\n<li>Configure the networking stack in SCVMM<\/li>\n<li>Do a deep discovery to get hardware of the host<\/li>\n<li>Deploy the VHD as boot-from-VHD on the host, install drivers, join domain, configure networking, enable Hyper-V,&#160; etc.<\/li>\n<\/ul>\n<p>YOU NEED TO UNDERSTAND YOUR TARGET<\/p>\n<h2>Concepts of the network in SCVMM<\/h2>\n<ul>\n<li>Logical network: A role<\/li>\n<li>Network site: Part of logical network<\/li>\n<li>Subnet\/VLAN ID: A subnet that\u2019s a part of a site<\/li>\n<li>IP Pool: A pool of IPs for a subnet<\/li>\n<\/ul>\n<p>A VM Network is an abstraction of a logical network. Required to connect NICs to a logical network.<\/p>\n<h2>Demo of Logical Network<\/h2>\n<p>Marc asks who has used VMM. Almost everyone. Who has done bare metal deployment: Very few. Who was successful first time: one brave person puts his hand up (I mock him \u2013 seeing as he is a friend).<\/p>\n<p>Marc does:<\/p>\n<ol>\n<li>Create a host group.<\/li>\n<li>Creates a logical network called management. He sets VLAN-basd independent networks. There will be converged networks that are split up based on VLANs.<\/li>\n<li>Creates a network site called host that is set to be available on the host group. He sets a VLAN on 0 for PXE boot, and sets the IP subnet.<\/li>\n<li>Additional network site for Live Migration with a different VLAN<\/li>\n<li>Then he adds a third site for cluster communications with a VLAN. So one logical network with 3 network sites.<\/li>\n<li>Creates IP pools for each network site. Use to assign static IPs during deployment. Configures gateway and DNS settings for the management network.<\/li>\n<\/ol>\n<p>Note that there is no need to do anything special to enable NVGRE. No subnets, logical networks, or anything else. A check box was left checked to allow NVGRE to be used when creating the logical network.<\/p>\n<ol>\n<li>Creates a new logical network called Cloud Network. This is what would appear in WAP when a customer creates a virtual network \u2013 so choose a suitable name.<\/li>\n<li>Checks \u201callow new VM networks \u2026.\u201d to use NVGRE.<\/li>\n<li>Creates a site with a VLAN and associates with the host group.<\/li>\n<li>Now he creates an IP pool for that site\/logical network. The number of IPs in the pool will limit the number of VMs. No DNS or gateway settings.<\/li>\n<\/ol>\n<p>So now we have two logical networks: Management and Cloud Network. The Cloud Network appears to be used for the PA Space.<\/p>\n<ol>\n<li>A third logical network called tenant VLANs<\/li>\n<li>Network site: Names the site after the VLAN ID.<\/li>\n<li>Adds more network sites, named based on the VLAN IDs.<\/li>\n<li>Adds IP pools.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2014\/05\/WIN_20140513_154431.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"WIN_20140513_154431\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto\" border=\"0\" alt=\"WIN_20140513_154431\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2014\/05\/WIN_20140513_154431_thumb.jpg\" width=\"600\" height=\"338\" \/><\/a><\/p>\n<p>These VLANs appear to be used for tenants.<\/p>\n<ol>\n<li>Creates VM network for host\/management.<\/li>\n<li>Creates VM network for cluster.<\/li>\n<li>Creates VM network for live migration.<\/li>\n<li>Creates a VM network for tenant A and another for tenant B<\/li>\n<\/ol>\n<p>Back to presentation.<\/p>\n<h2>Network Design<\/h2>\n<p>Note that for VMM to create a team, you need to create a logical switch. BAD! Needless creation of virtual switches and limits things like RDMA. Complet convergence also not good for some storage, e.g. RDMA or iSCSI storage. Might do some convergence and non-converge your storage networks.<\/p>\n<h2>Benefit of logical switch<\/h2>\n<p>Repeatable consistency.<\/p>\n<p>Note: also required for NVGRE, unless you want to go to PowerShell hell.<\/p>\n<p>The design they are deploying:<\/p>\n<p align=\"center\"><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2014\/05\/image2.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2014\/05\/image_thumb1.png\" width=\"500\" height=\"408\" \/><\/a><\/p>\n<h2>Demo<\/h2>\n<ol>\n<li>Create an uplink port profile to define a NIC team. This one is created for HNV\/Tenants. Selects the Cloud Network and the tenant VLAN network sites. Also makes sure the enable NVGRE check box is left enabled.<\/li>\n<li>Creates an uplink port profile for the mangagement network. Now adds the cluster, host, and live migration network sites.<\/li>\n<\/ol>\n<p>What he\u2019s done: configure the above two network teams from the diagram and defined which networks will pass through the respective teams.<\/p>\n<ol>\n<li>Creates a logical switch for management. Selects the management uplink port profile and selects the teaming option. Even if you have just one NIC, you can add a NIC later and join it to the team. Now to define the convergence by adding virtual ports. A step in this is to define port classification \u2013 this does QoS. Select Host Management and match with management network \u2013 repeat for the reset of management networks.<\/li>\n<li>Creates a logical switch for tenants. And also teams with the tenant HNV uplink port profile. Adds three adapters (port profile classifications) for QoS \u2013 low, medium, and high (out of the box \u2013 weights of 1, 3, and 5). <\/li>\n<\/ol>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2014\/05\/WIN_20140513_160608.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"WIN_20140513_160608\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto\" border=\"0\" alt=\"WIN_20140513_160608\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2014\/05\/WIN_20140513_160608_thumb.jpg\" width=\"500\" height=\"281\" \/><\/a><\/p>\n<ol>\n<li>Next up: create a physical computer profile. Choose a host profile. Select the virtual hard disk from the library that will be the host OS. Now the fun bit \u2013 network configuration in Hardware Configuration.<\/li>\n<li>Tip: Expand this dialog using the control in the bottom right corner.<\/li>\n<li>It starts with a single physical NIC with the management role. Add 4 more physical NICs.<\/li>\n<li>First and second added to the logical switch of management.<\/li>\n<li>Configure 3rd and 4th to the tenant logical switch.<\/li>\n<li>Edit the original physical NIC and select \u201cCreate a Virtual Network Adapter as the management NIC\u201d. Set the transient physical newtork adapter as NIC 1. Apply a classification \u2013 host management. Set the IP Pool as Host.<\/li>\n<li>Add 2 virtual NICs. Connect 2st to logical switch management. Set to Live Migration. Connect the 3rd to the mangement logical switch and configure for cluster.<\/li>\n<li>Can also do some other stuff like filtering drivers from the library for precise PNP.<\/li>\n<li>Continue the wizard \u2013 set domain join and runas account. Set the local admin password, the company info and product key. An answer file can be added to customize the OS more, and you can run tasks with GUIRUNONCE.<\/li>\n<li>You can skip the default VM storage path for clustered hosts \u2013 VMM will control this in other ways later. <\/li>\n<\/ol>\n<h2>Deployment Demo<\/h2>\n<ol>\n<li>Kicks off the wizard from the host group. Provision the new machine.<\/li>\n<li>Select a host group that has a valid host profile. Select the host profile.<\/li>\n<li>Kick off the deep discovery. The host reboots into WinPE to allow VMM to audit the host h\/w. With CDN enabled, you can pre-bind NICs to logical switches\/teams. Without it, you\u2019ll need to know which NIC is plugged into which switch port, then you can bind NICs to right logical switches. The server schedules a shutdown after the audit.<\/li>\n<li>In VMM you can finish the host configuration: naming of the host. Binding of NICs to logical switches if you don\u2019t have CDN in the host. If you\u2019re quick, the server will not shutdown and the setup will kick off.<\/li>\n<\/ol>\n<h2>Notes<\/h2>\n<p>Converging things like SMB 3.0 or Live Migration through a logical\/virtual switch disables RSS so you limit 10 GbE bandwidth to 3.5 Gbps or thereabouts. Can create multiple management OS vNICs for SMB multichannel, where VMQ dedicates a queue\/core to each vNIC. <\/p>\n<p>My approach: I do not converge my SMB\/cluster\/storage rNICs. They are not teamed, so they are basic logical networks. No need then for logical switch.<\/p>\n<div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5391c707-f8fd-4d3c-8f55-a0a0f9184072\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Event+Notes\" rel=\"tag\">Event Notes<\/a>,<a href=\"http:\/\/technorati.com\/tags\/System+Center\" rel=\"tag\">System Center<\/a>,<a href=\"http:\/\/technorati.com\/tags\/VMM\" rel=\"tag\">VMM<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Hyper-V\" rel=\"tag\">Hyper-V<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Virtualisation\" rel=\"tag\">Virtualisation<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Deployment\" rel=\"tag\">Deployment<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Networking\" rel=\"tag\">Networking<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Speakers: Damian Flynn, MVP and Marc Van Eijk, MVP. Confusing topic for many. The guys are very experienced in the real world so a good session to take notes from and share. Environment Preparation Rack the servers and configure the BMC card. Build an OS image and add it to the library. Configure DNS aliases &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=16451\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;TechEd NA 2014&ndash;SCVMM Bare Metal Host Deployment&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[7],"tags":[174,176,181,80,193,195,196],"class_list":["post-16451","post","type-post","status-publish","format-standard","hentry","category-books","tag-deployment","tag-eventnotes","tag-hyper-v","tag-networking","tag-system-center","tag-virtualisation","tag-vmm"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/16451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16451"}],"version-history":[{"count":1,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/16451\/revisions"}],"predecessor-version":[{"id":16452,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/16451\/revisions\/16452"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}