Automating the deployment of Hyper-V hosts with VMM 2016 with Baremetal deployment
To deploy a new Hyper-V host from bare metal, the following simple steps are carried out by System Center 2016 Virtual Machine Manager (VMM) :
- VMM Discovers the physical computer through out-of-band management (BMC)
- VMM Installs an OS image on the physical computer using a previously created physical computer profile.
- VMM Enables the Hyper-V role on the physical computer.
- VMM Brings the computer under VMM management as a managed Hyper-V host.
Now in order for that to happen, let’s see what pre-requisites you are required to provide first:
- DNS and Active Directory
Create DNS entries and Active Directory account for the machine names. - BIOS
a. Set up the BIOS on the machine to support virtualization: Configuring the BIOS boot order to boot from (PXE)-enabled network adapter as the first device.
b. Configure the BMC settings. Configure the logon credentials and IP address settings for the BMC on each computer. - Add a PXE server environment: A PXE server integrated to VMM is required for Bare Metal deployment.
- Add resources to VMM library: Add a generalized virtual hard disk with an suitable OS to use as the base image, and driver files that will be added to the during installation of the OS.
- Create a Run As account. In VMM create a Run As Account with permissions to access the BMC.
- Create Physical Computer profiles: In the VMM library, create one or more physical computer profiles. These profiles include configuration settings, such as the location of the operating system image, and hardware and OS settings.
Now let’s have a look on the step by step to provision a Hyper-V host using Baremetal Deployment:
- Click Fabric > Servers > Home > Add > Add Resources > Hyper-V Hosts and Clusters.
- In the Add Resource Wizard > Resource location, select Physical computers to be provisioned as virtual machine hosts.
- In Credentials and Protocol select the Run As account with permissions to access the BMC. In the Protocol list, click the out-of-band management protocol that your BMCs use. If you want to use Data Center Management Interface (DCMI), click Intelligent Platform Management Interface (IPMI). Although DCMI 1.0 is not listed, it is supported. Make sure the correct port is selected.
- In Discovery Scope, enter the single IP address, the IP subnet, or the IP address range that includes the IP addresses of the BMCs
Note:
- If you specify a single IP address, when you click Next, the computer is restarted.
- If you specify an IP address range, when you click Next, information about the computer is displayed, and you can confirm that you specified the computer that you meant to.
4a. If you specified an IP subnet or IP address range the Target Resources page appears. Select the BMCs you want to provision as Hyper-V hosts.
- In Provisioning Options, click a host group for new Hyper-V hosts. Select the physical computer profile you want to apply.
- In Deployment Customization, provide information for each computer that you want to provision as a Hyper-V host:
Note: To remove a BMC from the list, select it and then click Remove.
For each BMC IP address in the list:
-
- Click the BMC IP address and specify a unique computer name, without wildcard characters.
- Select or clear Skip Active Directory for this computer name. The Active Directory check prevents deployment if the computer account already exists.
- For each BMC IP address in the list:
- Click on the Network Adapter (on the left) to modify the configuration, or fill in more information. You can specify the MAC address of the management NIC (not the BMC) and static IP settings for this network adapter.
- To specify an IP address select a logical network and an IP subnet if applicable. If the selected IP subnet includes IP address pool, you can check Obtain an IP address corresponding to the selected subnet. Otherwise, type an IP address that’s within the logical network or its subnet.
- Configure the adapter settings for each network adapter. You must specify any information that is missing for the adapters.
- When all information for the listed BMC are completed, click Next.
- In Summary, confirm the settings, and then click Finish to deploy the new Hyper-V hosts and bring them under VMM management.
Make sure that all steps in the job have a status of Completed.
- To confirm that the host was added click Fabric > Servers > All Hosts > host group, and verify that the new Hyper-V host appears in the group.
Note: Nano Server is not a supported OS for infrastructure-related roles like Hyper-V. I recommend that you use Windows 2016 Core Server version
-
November 30, 2017 at 12:55Automating the deployment of Hyper-V hosts with VMM 2016 with Baremetal deployment | vzAddict
Recent Posts
Links to MVP's Blogs
Links to Virtualisation
System Center engineering blogs
Cloud
Archives
- June 2023
- April 2022
- March 2022
- November 2021
- October 2021
- August 2021
- July 2021
- February 2021
- December 2020
- November 2020
- October 2020
- August 2020
- June 2020
- April 2020
- March 2020
- December 2019
- November 2019
- October 2019
- September 2019
- July 2019
- May 2019
- April 2019
- March 2019
- January 2019
- November 2018
- October 2018
- September 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- December 2017
- November 2017
- October 2017
- November 2016
- September 2016
- August 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009