VMM 2012 R2 support for Windows Server 2016 guest OS

So I am working on a customer and their path of upgrading to 2016 versions. The first step was to make sure that the VMM 2012 R2 server was updated to latest UR and that I can deploy guest vm´s with 2016.

After the update of VMM to UR11 I checked the list of OS,

screen-shot-2016-11-25-at-11-00-48

So to be able to see the 2016 as a guest OS i have to add a hotfix and that took some time but what ever you do, do not cancel but wait and wait and wait and the never ending progress bar will eventually go away 😉 . And yes you have to add one hotfix for the console and one for the vmm server!

screen-shot-2016-11-25-at-11-33-19

And once that is applied,

screen-shot-2016-11-25-at-11-43-52

Good luck in your upgrading story !

 

 

Pester Operational Testing results to Slack take2

So I have been doing some work in the infrastructure as code space and I have been utilizing Operational testing with Pester to make sure that the environment is configured and working as intended.

I used Irwin´s work in Active Directory tests and adding several other parts for SQL etc so it would do the tests that was applicable for us! Then I scheduled it to run every day at 9 AM and reportunit created nice html reports like Irwins that was sent to operations email box as an attachment.

Now I got a new request from one of the recipients that they wanted it in a Slack channel instead so I used the Warrens Slack module like Irwin.

screen-shot-2016-11-02-at-15-20-51

So far so good! Though when I had an failed test we did not get any more information in the slack message and we would need to go to the mail and open the Nunit html report to find out what pester tests actually was failing and that is lame right?!

How could I add that information in the slack message so we got to know what tests failed from the same place? Here I had to add a some code to Irwins to make it also display some meaningful information, which in the extension could be utilized by a chatops bot 🙂

screen-shot-2016-11-02-at-15-20-30

As you can see only if I will get more than 0 failed tests I create an array of the errors and then send them as one message

Happy Operations Testing!

 

Installing System Center VMM 2016 and SQL 2016 on Windows Server 2016 Core

I am a firm believer that Servers should not be used for the wrong things and thus I have now installed the new System Center VMM 2016 on a Windows Server 2016 Core.

In my home lab I do not have so many hosts so I have used the opportunity to install the SQL 2016 on the same core instance.

As I am installing the SQL on the same machine I had to enable the .net 3.5/2.0 feature on this server and yes I know and can´t agree more, please remove this requirement dear SQL team and move to the future!

screen-shot-2016-10-14-at-13-53-46

SQL 2016 does not support installing via the wizard on server core so I used the command line way (by the way based on this information req page it is not supported on Windows 2016 core yet 😉 )

Although it is not supported with the wizard for sql install on core it do show some progress through a graphical dialog…

screen-shot-2016-10-14-at-14-07-10

So once that was up and running I installed the ADK for windows 10, and I used the one for Windows 10 1607.

And then I could start the VMM install. And yes there is a command line way of installing the VMM but this time I wanted to see if I could use the wizard in core!

screen-shot-2016-10-14-at-14-26-54

During the installation the wizard complained about my memory that I had assigned to the VM that I was installing on and I could with the superduperfeature in 2016 add more to the running VM without doing any stop and start!

screen-shot-2016-10-14-at-14-44-54
screen-shot-2016-10-14-at-14-45-14

After that I had no more issues and the installation completed successfully!

screen-shot-2016-10-14-at-15-01-15

Well once installed I had to do some patching as at the same time VMM 2016 was released Microsoft also announced the availability of CU1 🙂 and trying to use the short cut from the installation dialog fails on a Server core as those GUI parts are not present! I can though use the Sconfig and the “Download and install updates” option to get the updates I want…

screen-shot-2016-10-16-at-23-21-27

Happy playing!

Deploying VMM 2016 will require SQL 2012 SP2 or later

Revised: Based on the SQL req page that have been updated it now is supported to run on SQL standard and from SQL 2012 SP2, the following link on the VMM page though still says 2014 Enterprise but that will be updated. My MVP friend Anders Asp have got info that I share here:

“Official MSFT statement: That is likely a carry over from earlier TP content when we had a bug that installation would fail on Std SQL(TP3?). Standard should work.”

//As you can see the System Center VMM 2016 GA will require a SQL 2014 Enterprise or later, so you will not be able to use a standard SQL to be supported. So if you are upgrading from a VMM 2012 R2 you will also have to upgrade your SQL to the Enterprise level.//

screen-shot-2016-10-13-at-16-42-25

The SQL instance solely used for the System Center is included in the System Center licensing.

Going from Windows Server 2016 Eval to GA license

Today You might have seen that Windows Server was released and available from Volume center and MSDN etc.

I had previously reinstalled my Hyper-V node at home with a new 2016 eval media and now I wanted to activate it with a license to not have it time out in 170 days

Going into the control panel and trying to change keys was not the way to do it!

screen-shot-2016-10-12-at-22-20-05
screen-shot-2016-10-12-at-22-22-51

Reading about how to do it in 2012 R2 gives a hint that I should use DISM to set the new key instead

screen-shot-2016-10-12-at-22-46-12

And then after two reboots I log in and can verify that my license have been applied 🙂

screen-shot-2016-10-12-at-22-51-16

And if you wonder about 2016 KMS keys you can find them on technet on this link!

Windows Server 2016 is now available on Azure

So the day has come when Windows Server have arrived at Microsoft Azure and you can start deploying your new workloads.

You either find the different flavours from the portal or from PowerShell

screen-shot-2016-10-12-at-15-37-58

And the command for finding them with PowerShell AzureRM module is

and running it looks like this:

screen-shot-2016-10-12-at-16-12-07

Good luck in deploying!

 

AzureStack TP2 – deploy experience

During Ignite 2016 in Atlanta, Microsoft announced the technical preview 2 of AzureStack and finally now this friday I got my hardware available (the dang server was not responding on the ILO port and I had to go to the datacenter to give it a kung-fu-devops-kick) so I could deploy the new bits.

First things first! Read the documentation about how to proceed and you will more likely succeed in your deployment!

The download for AzureStack is 20 GB so if you have a slow internet connection it will take some time!

Before getting started i suggest you to run the pre-check script that can tell you if there is some immediate issues,

screen-shot-2016-10-07-at-23-53-16

And then you can unpack and follow the instructions to prepare to vhd-boot into the cloudbuilder disk with the next script:

screen-shot-2016-10-08-at-15-28-55

Once rebooted you want to make sure that you only have one nic enabled and then kick of the deployment which will take about 2-3 hours if you have a decent hardware like me 😛

screen-shot-2016-10-08-at-15-59-48

As you can see the install process uses both desired state and powershell direct (which is a lovely feature in Hyper-V 2016)

screen-shot-2016-10-08-at-17-01-47

And if you are patient and then log in as a azurestack\AzureStackAdmin on the physical machine you will see the status of the deployment. Do not log in as a local user on the server and try to start the deployment again!

Hopefully you will end up with the same result as me:

screen-shot-2016-10-08-at-18-26-54

And then you can log in to the VM MAS-CON01 to connect to the portal,

screen-shot-2016-10-08-at-18-34-31

Maybe I was lucky but I believe that the Stack-Team has done some serious work since TP1 and the deployment process have been thoroughly developed, tested and works really good now.

Good luck in your deployment of Azurestack TP2!

 

Best sessions of Ignite 2016

So last week I was at Microsoft Ignite in Atlanta and had a great time with all attendees and speakers and the wonderful staff that guided all of us 23 000+ there!

14494636_10153972108778549_1481715653962560737_n

Of course the Swedish Chef tagged along and was hanging with some cool people! And as you can see in low right corner, my friend Fredrik could not be at Ignite in person but had the brilliant possibility to join with a remote controlled robot that he explored the different areas with…

There was some good stuff presented there also and here is a list of the best sessions and there are probably a hundred more that I have not seen yet so there might be a revised list later 😉 :

…….

If you as I want a big library of ppt´s and videos of this event you can go to your friend PowerShell and download all available presentations with a great script from Mattias and Michel. So start exploring and please add your favorites in the comments below!

Microsoft Hyper-V 2016 Features list

Quite an impressive list of new stuff in the Hyper-V are with 2016 release, and then you of course also have the new stuff in Clustering and storage to add to this but that will be another blog post 🙂

  • Compatible with Connected Standby (new)
  • Discrete device assignment (new)
  • Host resource protection (new)
  • Hot add and remove for network adapters and memory (new)
  • Hyper-V Manager improvements (updated)
  • Integration services delivered through Windows Update (updated).
  • Linux Secure Boot (new)
  • More memory and processors for generation 2 virtual machines and Hyper-V hosts (updated)
  • Nested virtualization (new)
  • Networking features (new)
  • Production checkpoints (new)
  • Rolling Hyper-V Cluster upgrade (new)
  • Shared virtual hard disks (updated)
  • Shielded virtual machines (new)
  • Start order priority for clustered virtual machines (new)
  • Storage quality of service (QoS) (updated)
  • Virtual machine configuration file format (updated)
  • Virtual machine configuration version (updated).
  • Windows Containers (new)
  • Windows PowerShell Direct (new)

Read more at the technet site here.