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.
- Rack the servers and configure the BMC card.
- Build an OS image and add it to the library.
- 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.
- Set up WDS for SCVMM
- You need a DHCP scope for your bare metal hosts for the deployment phase. The hosts will get static IPs after deployment.
- Prep SCVMM – 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.
- Configure the networking stack in SCVMM
- Do a deep discovery to get hardware of the host
- Deploy the VHD as boot-from-VHD on the host, install drivers, join domain, configure networking, enable Hyper-V, etc.
YOU NEED TO UNDERSTAND YOUR TARGET
Concepts of the network in SCVMM
- Logical network: A role
- Network site: Part of logical network
- Subnet/VLAN ID: A subnet that’s a part of a site
- IP Pool: A pool of IPs for a subnet
A VM Network is an abstraction of a logical network. Required to connect NICs to a logical network.
Demo of Logical Network
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 – seeing as he is a friend).
- Create a host group.
- Creates a logical network called management. He sets VLAN-basd independent networks. There will be converged networks that are split up based on VLANs.
- 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.
- Additional network site for Live Migration with a different VLAN
- Then he adds a third site for cluster communications with a VLAN. So one logical network with 3 network sites.
- Creates IP pools for each network site. Use to assign static IPs during deployment. Configures gateway and DNS settings for the management network.
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.
- Creates a new logical network called Cloud Network. This is what would appear in WAP when a customer creates a virtual network – so choose a suitable name.
- Checks “allow new VM networks ….” to use NVGRE.
- Creates a site with a VLAN and associates with the host group.
- 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.
So now we have two logical networks: Management and Cloud Network. The Cloud Network appears to be used for the PA Space.
- A third logical network called tenant VLANs
- Network site: Names the site after the VLAN ID.
- Adds more network sites, named based on the VLAN IDs.
- Adds IP pools.
These VLANs appear to be used for tenants.
- Creates VM network for host/management.
- Creates VM network for cluster.
- Creates VM network for live migration.
- Creates a VM network for tenant A and another for tenant B
Back to presentation.
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.
Benefit of logical switch
Note: also required for NVGRE, unless you want to go to PowerShell hell.
The design they are deploying:
- 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.
- Creates an uplink port profile for the mangagement network. Now adds the cluster, host, and live migration network sites.
What he’s done: configure the above two network teams from the diagram and defined which networks will pass through the respective teams.
- 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 – this does QoS. Select Host Management and match with management network – repeat for the reset of management networks.
- Creates a logical switch for tenants. And also teams with the tenant HNV uplink port profile. Adds three adapters (port profile classifications) for QoS – low, medium, and high (out of the box – weights of 1, 3, and 5).
- 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 – network configuration in Hardware Configuration.
- Tip: Expand this dialog using the control in the bottom right corner.
- It starts with a single physical NIC with the management role. Add 4 more physical NICs.
- First and second added to the logical switch of management.
- Configure 3rd and 4th to the tenant logical switch.
- Edit the original physical NIC and select “Create a Virtual Network Adapter as the management NIC”. Set the transient physical newtork adapter as NIC 1. Apply a classification – host management. Set the IP Pool as Host.
- 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.
- Can also do some other stuff like filtering drivers from the library for precise PNP.
- Continue the wizard – 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.
- You can skip the default VM storage path for clustered hosts – VMM will control this in other ways later.
- Kicks off the wizard from the host group. Provision the new machine.
- Select a host group that has a valid host profile. Select the host profile.
- 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’ll 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.
- In VMM you can finish the host configuration: naming of the host. Binding of NICs to logical switches if you don’t have CDN in the host. If you’re quick, the server will not shutdown and the setup will kick off.
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.
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.
5 thoughts on “TechEd NA 2014–SCVMM Bare Metal Host Deployment”
Firstly, great commentary on the TechEd blogs. I’m interested in the MS guidance around how to combat the RSS/LogicalSwitch/LiveMigraiton (most storage I see is non-converged).
Consider a solution where we have two 10GbE NICs teamed and connected to a logical switch, we then have vNICs for Management, Cluster, and Live Migration. The teaming is Switch Independent with Dynamic algorithm.
In this scenario is Live Migration limited to 3.5 Gbps (migration will still only occur over one pNIC in the NIC team).
If we add a second vNIC for Live Migration will this then increase to 7Gbps (assuming the one core limitation of 3.5Gbps) – this is assuming the second vNIC will use the second pNIC which is bound to another core?
See another response I posted. You are right.
So, if you used a logical/virtual switch to define your LM network, each Live Migration has a maximum of 3.5 Gbps? Or all Live Migrations on a host are limited to 3.5 Gbps?
Yeah – but one thing the guys didn’t mention is that you can create lots of vNICs for storage/live migration. If you have VMQ enabled then you’ll see a nice aggregated bandwidth from each. You won’t have RDMA, but you’ll get more b/w. Make sure that you apply SMB Multichannel Constraints to just the required networks.
I actually wrote a script to do a baremetal deployment. All you have to do: Type in the BMC address, specify the IP address for the management NIC and specify the MAC address for the management NIC, specify the Hostname. The script deploys the host, configures all of the networking, configures vNICs for the vSwitches. When the script has completed the Host is ready to be added to the cluster. It took about a day and a half to figure it all out but it’s extremely easy now to deploy a host. Just start the script, type those for things and wait. Once I get some time I’ll be building a GUI around the script itself.