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

June 18th, 2014 No comments

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 :-)

 

Categories: Hyper-V, Virtualization Tags:

vCenter 5.5 integration in SC VMM 2012 R2

June 10th, 2014 1 comment

I have for a Server Lifecycle project been investigating the possibility to add a vCenter 5.5 to a System Center VMM 2012 R2 environment as we are going to use WAP, SMA, SPF and VMM.

Based on the documentation on Microsoft Technet site the support ends with vSphere 5.1. Now this customer already runs vSphere 5.5  and I wanted to quickly check if it was possible at all to connect a vCenter 5.5 to VMM 2012 R2 and manage some basic tasks on VM´s.

Screen Shot 2014-06-09 at 13.02.08

And as you can see I managed to add the vCenter Server and after adding a ESXi host the view in VMM looks like this

Screen Shot 2014-06-09 at 16.41.09

Checking it in PowerShell, I can see that it looks and reports in the same manner as the 5.1 vCenter that I have registered

Screen Shot 2014-06-09 at 21.21.58

And after some VM massage I can see that basic tasks as starting, stopping and also taking snapshots works as intented through the vCenter 5.5.

Screen Shot 2014-06-09 at 22.34.27

Of course new features introduced in vCenter 5.5 and ESXi 5.5 for the VM´s will not work and there might be other things that also can have issues, I will continue to explore and if I find anything that seems to be a showstopper I will do a followup blog post.

Categories: SCVMM, SysCtr, Virtualization, VMware Tags:

Going to Windows Server 2012 R2 Core in Azure IaaS

June 9th, 2014 1 comment

Read on Twitter that someone wanted an image in the gallery for a Windows Server Core to get a smaller footprint instead of the full gui VM

As you know there is a way to go to core mode from a full installation so after you have deployed a IaaS VM you can run the following commands to remove the GUI. The roles Server-Gui-Shell and Server-Gui-Mgmt-Infra can be removed.

Screen Shot 2014-06-09 at 14.48.12

And then as instructed, you reboot and when you are up and running again there is some configuration that needs to be done so just be patient and wait…

Screen Shot 2014-06-09 at 14.58.30

After that is done you can proceed to the wonderful world of the command prompt and sconfig :-)

Screen Shot 2014-06-09 at 15.18.10

And the next step is to sysprep and shut down this and capture an Image to be able to provision this one.

Screen Shot 2014-06-09 at 16.04.26

Once the VM is in a Stopped State you can capture it

Screen Shot 2014-06-09 at 15.53.45

Once that job has completed you can find your image in the gallery, observe that as this is saved in your storage account that is bound to the location you cannot deploy Core VM´s to all azure datacenters if you do not copy this storage blob to the other azure datacenters storage accounts that you have set up.

Screen Shot 2014-06-09 at 16.16.12

And when I have deployed a new VM it is in the wonderful world of Server Core!

Screen Shot 2014-06-09 at 16.24.00

 

 

Categories: Azure, Virtualization, Win2012 Tags:

Adding more external IP´s to your WAP NVGRE VM´s

June 3rd, 2014 No comments

So I have been during these two last days been in deep waters to find out a customers demands and the possibility to add more than one external IP to the same NVGRE enabled VM network within WAP and VMM and the Hyper-V Network Virtualization Gateway this as the ports from the external application the customer has cannot be altered and they need to access several different VM´s simultaneously.

Described in this visio diagram the customer wish is:

Drawing1

 

As you maybe know, within the VMM when you have configured the HNV there is no possibility to add more external addresses in the GUI and configure port forwarding.

networknatvmm

So how to do this then, well there is a way and that is called PowerShell on the HNV Gateway and first you add the external address and then add the NAT rules

Here is a screendump of an addition of a port rule:

newnetnatbinding

To get the NatName I added the first external IP and Port rules through VMM and then I could use that information when creating the rest config from within the HNV gateway.

The following cmdlets are available on the HNV GW

Screen Shot 2014-06-03 at 19.01.09

Observe though that when adding these things directly in the HNV GW you cannot manage these rules and IP addresses in Windows Azure Pack portal or VMM!

 

Channel 9 videos available from TechEd US 2014

May 23rd, 2014 No comments

Some Serious new features in Microsoft Azure!

May 13th, 2014 No comments

I am at the Microsoft TechEd in Houston and yesterday VP Brad Anderson announced several new features in Azure. I am going to highlight some of the ones that I think is really cool!

  • Multiple Site-to-Site VPN connections
  • VNET-to-VNET connectivity
  • compute-intensive virtual machine instances
  • Azure Files
  • Azure RemoteApp
  • Azure Site Recovery (Hyper-V Replica to Azure!!)
  • Client Developer VM´s for MSDN

The coolest feature I think that was presented is the Azure Site Recovery with the possibility to actually set up Hyper-V replika and that to an Azure Datacenter, how cool isn’t that? Now It became quite easy to migrate those VM´s to Azure with little downtime at no extra third-party license cost..

nice

Another Cool new feature is the networking parts with the multiple Site-to-Site VPN and VNet-to-VNet that have been on a wishlist for some time. Being able to add several different branch offices or datacenters to your Azure Network gives new possibilities to design a good hybrid infrastructure!

Screen Shot 2014-05-13 at 13.43.57

 

Screen Shot 2014-05-13 at 13.44.07

For those of you that have an MSDN subscription and also activated the included Azure benefit, there was an addition of several gallery items for development and testing, VM´s with Windows 8.1 and Windows 7 has been published

Screen Shot 2014-05-12 at 15.23.27

 

The Azure RemoteApp gives companies the possibility to set up your applications in Azure and having them available for all different devices and not having to manage and setup an RDS on premise anymore.

Read more about the new features on Azure blog and also look at the sessions on Channel 9 when they become available

Categories: Azure, Virtualization Tags:

Wooohoo Delete button in Azure Active Directory

May 13th, 2014 No comments

So when I was exploring the Azure Active directory some months ago I created some AD´s and then when I had done the labs I could not find the delete button, I read on a blog post that it was not possible at that time.

But now as of yesterdays releases of the new features on Azure the “Delete” button has appeared!

Screen Shot 2014-05-13 at 05.55.32

Sweet stuff isn’t it? So what happens when I press that precious button?

Screen Shot 2014-05-13 at 05.55.55

 

Thats kind of good that you actively have to go in and remove all users before being able to delete so that would make an extra safety barrier for accidentally removing a AAD

Screen Shot 2014-05-13 at 05.56.24

 

When that is done I can go ahead and delete the actual AAD :-)

Screen Shot 2014-05-13 at 05.56.55

 

I will add more posts during the week about my findings so stay tuned :-)

 

After MVMC 2.0 VM time for license activation in Azure IaaS

May 5th, 2014 No comments

Maybe you read my post about migrating a VM to Azure with the MVMC 2.0 and after successfully migrated my VHD to Azure IaaS I wanted to set my VM to the right key and in Azure that is Microsoft KMS..

I do not know if it is supported to do this but here is how it is done,

The VM I used MVMC to move was a EVAL version,

 

MigratedEval

So the first step was to use Dism to set the version and a KMS license Key

dismlicensestuff

And then after reboot I first got this message

timebeforeactivation but after that I checked slmgr and it reported correctly KMS and activation

slmgrdli

Good luck in your migration to the Cloud

 

Categories: Azure, Virtualization Tags:

Microsoft Teched 2014 in Houston post #1

May 4th, 2014 No comments

imgoing

It´s just about one week left until the Microsoft TechEd 2014 starts in Houston with about 15 000 attendees!

I am really looking forward to this event and the following sessions will be in my priority list and most likely you can find me in those rooms:

Monday

Keynote
Comment: Of course I will be at the Keynote to see what Brad has to say about Hybrid Clouds in the Enterprise

Monday, May 12 11:00 AM – 12:00 PM Room: General Assembly C
Comment: This session is one of the foundation sessions and the one in my area of interest, so this is added of course!
Monday, May 12 1:15 PM – 2:30 PM Room: Grand Ballrom B
Comment: PowerShell is one of my favorite topics and this session with two of TechEds best speakers (Don Jones & Jeffrey Snover) it can´t be bad!
Monday, May 12 3:00 PM – 4:15 PM Room: 371A
Comment: This session will be truly interesting with the expert in the area and MVP friend Marc van Eijk. He has published several brilliant posts on Hyper-V.nu in WAP that have rescued me.
Monday, May 12 4:45 PM – 6:00 PM Room: 372A
Comment: This session is presented by my colleague and MVP friend Anders Asp that have some serious knowledge in Service Manager

 

Tuesday

Wednesday, May 14 10:15 AM – 11:30 AM Room: Hilton L2 Ballrm D
Comment: One of the best speakers again, Jeffrey Snover will dig through this interesting session
Tuesday, May 13 1:30 PM – 2:45 PM Room: 382A
Comment: This is also one great speaker, Eduardo Kassner, and of course an interesting topic!
Tuesday, May 13 5:00 PM – 6:15 PM Room: General Assembly A
Comment: Speakers here are my colleague and MVP Stefan Schörling and MVP friend Jörgen Nilsson. I´m not so much into client stuff but these Swedes know their stuff!

 

Wednesday

Wednesday, May 14 3:15 PM – 4:30 PM Room: Grand Ballrm C
Comment: This session is presented by the one and only Mark Russinovich, it is always a treat to see this man on stage and think that this topic will not make me disappointed!
Wednesday, May 14 5:00 PM – 6:15 PM Room: 320A
Comment: Interesting topic by a MVP friend Damian Flynn

 

Thursday

Thursday, May 15 1:00 PM – 2:15 PM Room: 362A
Comment: If you want to learn from the best DPM gurus then this is the session to be at, with my good friend and MVP colleague Robert Hedblom!

 

I will probably find some more interesting sessions later and will update this list, I will also make a new post when the sessions are available to view on Channel 9.

Here is also a list that my friend and colleague Fredrik Nilsson has wrote in the Channel 9 forums what you should pack to make your visit as smooth as possible, unfortunately he could not attend this year in TechEd US :-(

 

Categories: General Tags:

Regional Settings on your VMM 2012 R2 VM Templates

April 14th, 2014 3 comments

When you created VM templates out-of-the-box in System Center Virtual Machine Manager they get the en-US regional settings for all rolled-out VM´s and that in Sweden is not always standard for the IT departments and the IT techi-guy has to configure that manually afterward. This can be altered with either PowerShell or with an unattend.xml file.

If there happens to be some templates that you have not configured with the right regional settings and keyboard layout I have a small PowerShell script that will configure this for all templates in the VMM library.

Screen Shot 2014-04-14 at 18.53.39

Check out this KB2709539 article for more information and also your specific regional codes for your country :-)

Categories: SCVMM, Virtualization Tags: