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

PHIWUG Presents–Boots on the ground!

13701004_10157292064065093_8761333228426966478_o

Yesterday marks a milestone for user groups here in Manila. Its our 10th year anniversary and what better way to celebrate but to do another community-led event!

To get things started (really really hyped start) its no better than Mr. Joel Garcia himeself, DX Director of Microsoft Philippines doing the welcome remarks.

13680753_1065151300235210_1924132245114920163_n

WP_20160813_10_59_47_Pro

WP_20160813_10_54_59_Pro

How hyped? I forgot to take pictures as we are all very very much engaged especially when he got the actual Microsoft Hololens out of the bag.

13895342_1065151256901881_2786813375691454688_n

 

Next is my demo, Windows Server 2016 Technical Preview 5 on Microsoft Azure.

13934963_1065151216901885_8808608458179673842_n

 

WP_20160813_12_17_57_Pro

Next is Jay-R Barrios (Microsoft MVP for Cloud and Datacenter Management from Singapore) and one of the geeks that started this user group and the one that recruited me to the community.

WP_20160813_12_25_17_Pro

His talk no less than create an entire infrastructure on an Intel NUC and Surface Book. Did it using Microsoft Deployment Toolkit and System Center Configuration Manager.

WP_20160813_13_17_33_Pro

Then its Jay Paloma’s turn on Career in Desktop. Doing talk about desktop deployments and more deployment essentials. Also did I say already that he is an MVP since 2007?

WP_20160813_14_56_08_Pro

WP_20160813_15_19_54_Pro

Its also handy if you got a CEH guy hanging around the venue. One of our core member Ren Narvaez, MVP for Enterprise Security delivered a hacking topic that I really really cannot show on my blog. Again guys, those are for educational purposes only. Dont try those at home!

Ren

 

Many thanks also to Microsoft Philippines for allowing us to use their 8th floor conference / events place as well as the food and SWAGS for the attendees. Thanks for your usual support (for 10 years now) to our User Groups!

WP_20160813_13_10_46_ProWP_20160813_14_21_55_ProWP_20160813_13_10_38_Pro

 

So thanks for attending our event guys!

WP_20160813_14_54_49_Pro

See you on our next community event!

13923496_10208829907978235_6861203893984772041_o

https://www.facebook.com/events/303064706702739/