Powered by System Center
How to Bare Metal Deploy a Hyper-V server via VMM2012 and HP iLO
Some time ago I did a series on Bare Metal Deployment of Hyper-V servers with Virtual Machine Manager 2012 Beta. Back in March I tested with HP BL460 G6 servers which have an Insight Lights-Out (iLO2) Baseboard Management Controller (BMC). This time I was able to test with the RC build and HP BL490 G6 blades as well as DL360 G7 rack servers (which have a newer iLO3 onboard).
For beta there was a possibility to generate a customized Out-of-Band (OOB) protocol for HP iLO. Unfortunately that is not supported anymore and Microsoft advised me to use the IPMI protocol. After some experiments I figured out that this required a recent firmware (v2.07 of iLO2 to be precise). So after updating the firmware I was able to discover my physical servers via their iLO IP address combined with the right account/password combination which I saved as a Run As Account.
As you can see – when using IPMI with iLO2 (in this case) — there is a limited set of information returned. It lacks Manufacturer, Model, Serial Number, etc. What is worse … it returns an SMBIOS ID that is different from the one VMM2012 expects when you perform a Bare Metal Deployment of one or more Hyper-V R2 servers.
When you continue the Add Resource Wizard, the bare metal server will boot from the PXE server. This is where things go wrong.
During Network Boot, the server gets a proper IP address and it downloads the boot file WDSNBP.COM.
Seconds later you end up with an annoying 0xc0000098 error telling you there is something wrong with your Windows boot configuration file.
When you study the VMM log there are several suggestions you could look at. Because there are so many options it is easy to miss the culprit.
The best advice I can give you is to study the VM Manager event log as it exactly tells you what is wrong. Look for an event 21179
| Event ID | Error message |
| 21179 | Virtual Machine Manager will not deploy an OS to computer with SMBIOS GUID: DD60E07B-57B4-438E-9324-2F3A37B341E7 MAC: 00:17:A4:77:00:70 because the GUID does not match any that have pending OS deployments in VMM. The PXE request is being passed on to the next WDS PXE provider. |
Apparently the VMM Server is rejecting the request due to the SMBIOS not matching the one it is expecting. Now how can you tell what the VMM Server is expecting?
If you issue the following VMM PowerShell command:
PS C:\ > $raa = get-scrunasaccount <BMC_RAA Name>
PS C:\ > Find-SCComputer -BMCAddress <BMC_IP> -BMCProtocol IPMI -BMCRunAsAccount $raa
It will show you this:
As you can see the iLO returns a different SMBIOSGUID.
If you then compare the iLO information screen you see that HP makes a distinction between the UUID and the UUID (Logical). Is it logical? I should say NOT!
Since I have not found a way to configure the UUID to the value that VMM expects, the only way around is:
-
Buy another vendor’s server
-
Wait till HP and Microsoft have found a solution
-
Use PowerShell to Bare Metal Deploy your Hyper-V servers.
Hey I thought. That’s a cool way too!
So assuming you have made all other preparations (Host Profile, Run As Account, WDS Server, Sysprepped Boot from VHD file in your library), this is the way to go:
PS C:\ > $BMCRAA = Get-SCRunAsAccount -Name "Run_As_BMC"
PS C:\ > $BMCRAA
PS C:\ > $NewPhysicalComputer1 = Find-SCComputer -BMCAddress "172.16.3.22" -BMCRunAsAccount $BMCRAA
-BMCProtocol "IPMI"
PS C:\ > $NewPhysicalComputer1
PS C:\ > $HostGroup = Get-SCVMHostGroup | where { $_.Path -eq "All Hosts"}
PS C:\ > $HostGroup
PS C:\ > $HostProfile = Get-SCVMHostProfile -Name "Host_Profile_HV_v1"
PS C:\ > $HostProfile
The glorious final command actually does all the work:
-
Switch on the server (Reboot if it is turned on)
-
Partition the disks
-
Copy the prepared VHD to the newly partitioned and formatted disk
-
Change Boot Configuration to boot from VHD
-
Configure the OS (Domain, Local Admin, Identity, Product Key, Time Zone, Answer File, GUIRunOnce)
-
Set IP address for matching MAC address (for the management adapter)
-
Set the hostname
-
Set a fixed IP from the Static IP Pool which is configured on the logical network (Backend in our case)
-
Make host member of the domain
-
Enable the Hyper-V Role
-
Reboot and get on with other tasks such as automatically creating a Hyper-V cluster
PS C:\ > New-SCVMHost -VMHostGroup $HostGroup -VMHostProfile $HostProfile -BMCAddress $NewPhysicalComputer1.BMCAddress -BMCRunAsAccount $BMCRAA -BMCProtocol "IPMI" -SMBIOSGUID "41AF9DB5-1AF3-4369-9805-60F8EDE56C51" -BypassADMachineAccountCheck -ComputerName "HV1" -ManagementAdapterMACAddress "00-17-A4-77-00-60" -LogicalNetwork "Backend" -Subnet "192.168.1.0/24" -IPAddress "192.168.1.51"
The result is very rewarding:
PS I also tried with iLO3 but the results were the same
Credits go to Greg Cusanza from the Virtual Machine Manager product team who helped me solving this nasty problem. Thanks Greg!!!
| Print article | This entry was posted by Hans Vredevoort on November 8, 2011 at 20:51, and is filed under Hans Vredevoort, Hyper-v, System Management. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
Set Cluster Live Migration Settings
about 1 month ago - No comments
Today we, Paul Huijbregts and I, resolved one of the last hurdles in finalizing our automated cluster installation script. This hurdle was to change the priority of the Live Migration settings when creating a Hyper-V cluster. To change this priority we first tried to use the Set-VMMigrationNetwork PowerShell command. Unfortunately this command can only be…
MVMC Automation Toolkit (MAT)
about 1 month ago - No comments
In one of the break-out session at the Microsoft Management Summit 2013, which was held last week, an automation toolkit was shown to migrate virtual machines from “the other guys” to Hyper-V. The toolkit makes use of Microsoft Virtual Machine Converter and is part of the Solution Accelerator tools. The Microsoft Virtual Machine Converter provides…
My Hyper-V Wishlist of 2011
about 2 months ago - No comments
While cleaning up my mailbox, I found a note to myself dating June 2011 about a few feature requests for the next version of Hyper-V and VMM. While talking to customers throughout the year, I often hear about and collect suggestions and product improvements which I can then pass on to the Hyper-V and System…
Removing a non-existent VMM Library Server
about 3 months ago - 1 comment
I admit, you don’t have to remove a non-existent VMM Library Server everyday, but today happened to be such a day. Let me explain what happened. In addition to a SQL Server 2012 AllwaysOn cluster for the VMM database and a VMM 2012 SP1 Failover Cluster, I wanted to also make the VMM Library Server…
NIC Teaming, Hyper-V switch, QoS and actual performance | part 4 – Traffic classes
about 4 months ago - 4 comments
This blog series consists of four parts NIC Teaming, Hyper-V switch, QoS and actual performance | part 1 – Theory NIC Teaming, Hyper-V switch, QoS and actual performance | part 2 – Preparing the lab NIC Teaming, Hyper-V switch, QoS and actual performance | part 3 – Performance NIC Teaming, Hyper-V switch, QoS and actual…
NIC Teaming, Hyper-V switch, QoS and actual performance | part 3 – Performance
about 4 months ago - 5 comments
This blog series consists of four parts NIC Teaming, Hyper-V switch, QoS and actual performance | part 1 – Theory NIC Teaming, Hyper-V switch, QoS and actual performance | part 2 – Preparing the lab NIC Teaming, Hyper-V switch, QoS and actual performance | part 3 – Performance NIC Teaming, Hyper-V switch, QoS and actual…
NIC Teaming, Hyper-V switch, QoS and actual performance | part 2 – Preparing the lab
about 4 months ago - 3 comments
This blog series consists of four parts NIC Teaming, Hyper-V switch, QoS and actual performance | part 1 – Theory NIC Teaming, Hyper-V switch, QoS and actual performance | part 2 – Preparing the lab NIC Teaming, Hyper-V switch, QoS and actual performance | part 3 – Performance NIC Teaming, Hyper-V switch, QoS and actual…
NIC Teaming, Hyper-V switch, QoS and actual performance | part 1 – Theory
about 4 months ago - 16 comments
This blog series consists of four parts NIC Teaming, Hyper-V switch, QoS and actual performance | part 1 – Theory NIC Teaming, Hyper-V switch, QoS and actual performance | part 2 – Preparing the lab NIC Teaming, Hyper-V switch, QoS and actual performance | part 3 – Performance NIC Teaming, Hyper-V switch, QoS and actual…
MS Christmas present: SMI-S Storage Provider for iSCSI Target Server
about 4 months ago - 5 comments
It is only several days since Microsoft made the final bits of System Center 2012 SP1 available, although for a relatively limited audience. If you have a TechNet or MSDN subscription, you have access to SP1 now. All others have to wait till general availability in the course of January 2013. One of my fellow…
HP Storage Platforms and Windows Server 2012
about 5 months ago - No comments
[Updated: see ] HP bought 3PAR several years ago and as I expected the recently announced HP 3PAR StoreServ 7000 series are intended to replace HP EVA. There is even a data migration solution to make the migration as easy as possible. Of course I looked at what 3PAR has to offer in terms of…









Twitter
RSS
about 1 year ago
hans for the uuid did you also use the MAC of the server ? you can use this also in my case I use a static mac all Zeros only the last bit was a number.
in the Prestage area I used this 00000000-0000-0000-0000-000000000001 atleast it worked for me in windows 8 but my time is limited and the resources also.
about 1 year ago
Hi Robert,
If you use DHCP you don’t need the MAC address. If you use the Logical Network and Static IP you are asked for a MAC address in the version I am working with
Cheers, Hans
about 1 year ago
I used this recently for BMR of a Hyperv VM to a new Dell server. Worked first time.
http://www.cofio.com/Virtual-Machines/Section/Hyper-V-Backup-and-Replication/
These were the restore instructions on their wiki:
http://wiki.cofio.com/index.php?title=Restoring_Hyper-V_Virtual_Machines
about 1 year ago
Hi Hans,
I’ve recently written an article with some additional observations and testing on this issue, as well as some other general VMM bare metal deployment information. http://www.thecloudbuilderblog.com/blog/2011/12/30/scvmm-2012-bare-metal-provisioning-tips.html
about 1 year ago
Thanks for the link Mike.
The issue I talked about is caused by virtualizing the server’s serial in the Virtual Connect configuration.
Cheers,
Hans