Error 21161 when doing Bare-Metal deployment on VMM 2012 R2

Yesterday I was testing Bare-Metal deployment on a VMM 2012 R2 with a new Hyper-v image and got the error 21161 during the process of making a physical machine into a Hyper-V Server.

Screen Shot 2014-09-12 at 13.40.25

I did of course check the library server (which was the same as the VMM server) and also that the vhdx that contains the Hyper-V image was in the library. I also checked the profile where the reference to the VHDx is and everything looked good.

The error was resolved when checking out the library server properties and changing to a host group instead of the default.

Screen Shot 2014-09-12 at 11.37.18

I have been deploying servers from this VMM before and why it started to complain right now is a mystery and I will dig and see if I can find the reason and if I do you will get an update on the blog, but now you know how to get it running 🙂

Update: Daniel Clarke mentioned my fix, In the VMM I have as this error occured I had not updated to UR3 during the time between the deployments which would otherwise had maybe explained the error. I have now updated the server to UR3 and can still do bare-metal deploy.

happy deployment!

New Emulex drivers available at HP support

I have been helping a customer a while with their Hyper-V environment and now I saw on twitter that HP had new Emulex drivers that could be downloaded so I thought that I should give it a try, there has been quite a storm about the problems with VMQ and Emulex and if you want to read more about that you can check out this link to my friends at Hyper-V.nu . My experience of this problem is that it have been on Gen8 HP blades with a newer Emulex networking on them. Right now I only had G7 to test on.

Screen Shot 2014-09-09 at 21.43.55

 

As a best practice I run the Hyper-V hosts in Core but that did not give me any issues when installing (yes I use VMM bare-metal deployment and will after verified success update that to have this latest drivers )

Screen Shot 2014-09-09 at 21.59.07

 

As it is networking drivers I lost my RDP session for a few seconds before it was fully installed and then I could see the result

Screen Shot 2014-09-09 at 21.59.45

 

And checking with powershell Get-NetAdapter I can verify that the GUI is not lying 😛

 

Screen Shot 2014-09-09 at 22.08.19

And also you can see that the VMQ is enabled for my two NIC´s

Screen Shot 2014-09-09 at 22.44.37

 

Here you can find the HP drivers for in this case a HP BL460 G7 .

Running CentOS 7 on a gen2 VM in Hyper-V

In my latest blog I was exploring the possibility to get a Redhat Linux to work in a generation 2 VM and I was also explaining that I had some issues with the CentOS version 7 that is currently being developed and that issue was with the EFI boot and it was malfunctioning!

Now as of yesterday 25 of June when there was a new release I could actually get a working CentOS 7 in a generation 2 VM on my lab environment!

So to get the fresh build installed on a Gen2 HyperV 2012 R2 VM you can do the following,

here I found the Boot ISO -> http://buildlogs.centos.org/centos/7/os/x86_64-latest/images/ and downloaded the boot.iso and configured it to be used for boot in my test-VM and as I described in the other post I unchecked the Secure boot also

Screen Shot 2014-06-17 at 23.01.24

Once booted I connected the network and then added the path to the repository

Screen Shot 2014-06-17 at 22.30.29

The path to be added was http://buildlogs.centos.org/centos/7/os/x86_64-latest/ , by using -latest in the path you will get the latest build instead of some old maybe not so well working version, as described on their page the distribution is still being developed

Screen Shot 2014-06-27 at 00.19.07

 

And then choosing what roles to install and partitioning of the disk and then start the installation 🙂

Screen Shot 2014-06-27 at 00.20.33

Once installed you can see that it now nicely boots into CentOS and I can log in

Screen Shot 2014-06-26 at 23.51.57

And you can see that it utilizes the Dynamic Memory function of Hyper-V also

Screen Shot 2014-06-26 at 23.53.36

 

 

Running Redhat Enterprise Linux 7 in a generation 2 VM on Hyper-V

I was reading the post from Ben Armstrong how he installed and configured a Ubuntu Linux VM to work under a generation 2 VM.

And after that I wanted to try this with either Red Hat Enterprise Linux 7 or CentOS 7 as they would incorporate the Linux integration components that would be needed for being able to let go of that VM BIOS legacy generation 1 Hyper-V VM :-). Red Hat has released their 7 but CentOS is still in buildmode and thus this would be done on their “nightly build” as described on the site http://seven.centos.org and I did take a test with the current release but got an error during install with the EFI Boot so I went for the Red Hat and tried with that.

So Downloading the Redhat ISO and creating a VM was the first steps, If you do not have an account at redhat you can sign up and download a trial.

And then I created a VM and as Ben showed I disabled secure boot and added the ISO to boot:

Screen Shot 2014-06-18 at 14.41.23

After that I booted the VM and connected the network and configured the settings and choosed a Server with A GUI

Screen Shot 2014-06-18 at 14.45.22

The installation was successful and I could reboot with no warnings or errors

Screen Shot 2014-06-18 at 15.00.08

Then once the installation was complete I could start a browser and test and as you can see it is a Generation 2 🙂

Screen Shot 2014-06-18 at 15.10.27

I will during the next couple of days check out the new builds of CentOS and see if my error will be fixed and I can create a Gen2 VM of that one also 🙂