How to apply license on SCOM 2016(fwlink 74446)

Today I had a chance to revisit my SCOM Lab. But after booting everything, I noticed that even if all services are running including SQL and SCOM, the Ops Manager console throws an error on connecting.

TL;DR; My trial license is expired. Use Powershell to apply license:

  • Import-Module OperationsManager
  • Set-SCOMLicense –ProductId “<YOUR PRODUCT KEY>”
  • Restart-Service OMSSDK
  • New-SCOMManagementGroupConnection
  • Get-SCOMManagementGroup | Format-List –Property SkuForProduct, SkuForLicense, Version, Name, TimeOfExpiration

Long story, so will I reinstall today? So normal troubleshooting after seeing the error, restarting the services including SQL Server and nope, no joy there.

Going back to the console, thankfully there is a stack trace there. So lets read thru the errors, mostly access denied exception but there was the ex.message.toString there. So we have hopes here.

It seems that there was an access denied exception but the inner message is saying “You have exceeded the evaluation period of this product. Please upgrade to the retail version to continue using the product” Aha! I followed the link and it seems that it only redirects to a generic product page. Still no joy.

image

There are a few TechNet and Support articles out there, but there’s one problem. License IS expired already.

https://support.microsoft.com/en-ph/help/2699998/how-to-add-a-product-key-to-the-eval-version-of-system-center-2012-ope

https://technet.microsoft.com/en-us/library/hh966734(v=sc.12).aspx

Problem is we cant connect to the management group, because, yes we have an exception. Yikes.

image

I think the article is a little off, since applying SCOM licenses are thru registry access so it shouldn’t require any connection.

So first, run PowerShell as an administrator on the server where SCOM is installed.

Apply the license key that you have for retail. (See TLDR section for Copy-Paste PS> commands)

Also remember also to restart the System Center Data Access Service after applying the license. Included in TLDR.

image

Try out the new connection and try and poke the management group and get the license details.

Then try and connect using the Console. Yes its working, but my apps are not.

image

So there ya go, and I’m back to my DevOps management group. I’m trying out the new MP for .NET APM with Application Insights. This is going to be fun. Well after we fix DB01. Should blog about it later.

Side by Side comparison of Windows Server 2016 Installation Memory Utilization (Hyper-V)

So I have 3 freshly installed Windows Server Virtual Machines with nothing installed but the base operating system. These are running on Windows 10 Enterprise with Hyper-V.

1. Windows Server 2012 R2 (GUI)

2. Windows Server 2016 (GUI)

3. Windows Server 2016 (Core

image

image

image

These virtual machines are on a strict memory diet Smile I have configured all three to have 32mb available RAM but on dynamic memory.

image

With no user logged-in and with only default services running, here are the results:

image

We see that the Windows Server 2016 Core installation runs at 454 MB next to it is the GUI for 2016 then finally at 692 MB for 2012 R2.

Now with Administrator Logged-in:

image

Now with Administrator Logged-in but closing server manager for virtual machines with GUI installed.

image

Trying to install IIS on all three VM using PowerShell:

image

image

After Installation:

image

I also tried browsing the default web site installation of each IIS as seen on this screenshot and here’s the memory assignment from Hyper-V:

image

I’m signing out of the server to make sure no UI is running or services other than the web server that we have just installed.

image

*Launches 3 Visual Studio 2015 and creates 3 web performance test projects*

I have created 3 simple load test from Visual Studio to simulate browsing to the websites. If you are familiar with Visual Studio impremise load test, you will notice that the scenario is a single webtest that will be invoked multiple times by a load test. The multiplied scenario is a just basic web request.

image

Lets run the load test:

image

We are running the load test for 5 minutes:

image

And after a few more minutes:

image

I want you to draw your own conclusions based on the data that I have shown in this blog. I also wanted to publish the Load Test Results, but thats for another time. Until then, see ya!

image

DHCP Binding only to one interface card

I have been preparing for a laboratory for an event while home and a few people are using the internet. I am about to setup a server that needed to connect to the internet and to an internal network. This server has a DHCP server role installed and I don’t want this broadcasting DHCP traffic on the other network. I also don’t want to reconfigure the other DHCP server and I just want to continue with my lab.

I remember the NIC binding feature before and since I just needed the DHCP on the internal network of my lab, ill check if its still there.

image

Yes, on Windows Server 2012 – the add / remove bindings is still there.

So all I needed to do is un-check the public network and I am done.

image

Just click OK and that’s it! Now back to the lab, cheers!

and OH, PS. There is this thing on DHCP behavior that only binds to a static IP. If you have another card and its dynamically configured you will not see it here.

Private Cloud Economics Tool

Try it out here: http://cloudeconomics.cloudapp.net/

From the website: “The Microsoft Private Cloud Economics Tool calculates the cost of creating a private cloud solution with Microsoft and VMware technologies. The calculator follows a simple methodology by considering the software acquisition and support costs for a private cloud solution. By using this calculator, you will see how the licensing and pricing models differ between Microsoft and VMware and, in particular, how they will impact the Return On Investment you are making today and long into the future. “

 

image

 

image