Tuesday, August 25, 2015

RANT! Like ‘Developers, Developers, Developers!’ But Instead: ‘IP! IP! IP! IP!’

Spoiler Alert
This posting is not something like you’re used from me since it’s a genuine RANT. Until now my blog has stayed away from rants. But this is a ‘special’ situation, calling for special counter measures.


You’re gifted with programming. You feel yourself comfortable with different kinds of programming languages, SDK’s and the lot. Also PowerShell hasn’t too many secrets. And when something is lacking, you’re skilled enough to build it yourself. So in a few years time you build your self a kick ass kit packed with add-ons, extensions, workflows, management packs and so on.

All produced in an ever ongoing effort to lighten the work load and let the products work for you instead the other way around.

On top of that…
You’re also someone who likes to share and contribute to the community out there. So – without being obliged in any kind of way – you share some quite nice and awesome stuff. And not just the ‘word’ like ‘…Hey! I fixed this issue, but I am only telling you, not giving it away!’ but the WHOLE deal. So with the word comes the ‘package’ e.g. the related add-ons/extension/MP/workflow.

In this case the community benefits from it. They acknowledge the mentioned issue and are free to download the ‘fix’ for it as well. Based on their experience they deliver feedback, enabling the ‘developer’ to fix some issues, add new functionality and so on. And a newer version sees the light, is shared, receives feedback, is updated and so on.

This is something which I highly appreciate. With my blog I do my utmost best in order to contribute to that very same community and mechanism.

No leprechauns….
Even though a blog posting is written pretty fast, it takes TIME to write good and fully functional PS scripts, develop MPs, add-ons, extensions or workflows. 99 out of 100 times this happens outside the regular working hours. All done without the help of those epic leprechauns.

As it turns out, they don’t show themselves that easy in the real world! So the persons sharing their knowledge, experience and self developed software, do this in their OWN time.

But that’s what it takes to contribute to the community. Not an issue what so ever. The community, or the fast majority that is, respects this. They download it, use it and – when they find the time – they say thanks.

IP (Intellectual Property)
Whether a MP/add-on/extension/workflow is for sale or available for free in the community, there is still something like Intellectual Property. And no matter what, people have to respect that.







A minority however, has less respect for those community efforts in general and IP in particular. And even here one finds different levels of that ‘disrespect’.

Example: Sometimes people ‘use’ (PS) scripts, add their own name to it and ‘forget’ to refer to the source. This is minor and will only create challenges for the people involved in that kind of ‘using’ community based efforts. Simply because they create an image of themselves being capable to write such (PS) scripts. Apparently they lack a certain degree of confidence in themselves, so they pretend to be the very author of it. Sooner or later they will be noticed, for example a (PS) script needs to made in the matter of minutes in order to fix a Prio 1 issue. For copy cats this isn’t the place to be Smile.

With the previous mentioned example, there is already a dent in that respect for IP. Still, it’s minor. Now we’ll skip many degrees of disrespect for IP and take a deep dive. Where does it end?

Rock bottom!

Let’s go into the very sewers of disrespect for IP. Please zip up in a protective suit, duck tape the gloves to your sleeves and your trousers to your boots. Put on your gasmask and carry a bottle of oxygen, since this is really really a dirty swamp environment where poisonous gasses and fumes have replaced the normal breathable air. Never ever go alone out there, but in pairs and let the people above know where you’re going. And when you aren’t back within an hour, let them raise the alarm and send in the rescue teams!

As it turns out, some ‘people’ live here! Seriously! I expected some bacteria living of the foul. Microbes, totally adjusted to this environment. But humans?

However the ‘humans’ living here, do have a special ‘trade’:

They ‘borrow’ IP from other persons, ‘shrink wrap’ it
& SELL it as their OWN SOLUTION!!!


Kaboom! Rock bottom it is!


All this happened to a person who I highly respect. Not only for his skills, but also as a person and for his contributions to the community as a whole. I am a member of the very same community, hence this rant.

He has posted an article about this issue on his blog. PLEASE read this posting, since it will help you saving money, refraining you from buying software which IP is stolen. And even more, the very same software is available for FREE from the community!

Friday, August 21, 2015

Nano & Windows Server Containers: TP3 SC 2016 & WS 2016 Released

Yesterday Microsoft released Technical Preview 3 (TP3) of System Center 2016 and Windows Server 2016.

For any one working in IT I highly recommend to take a closer look at two of the new technologies present in TP3 Windows Server 2016 (some of them were already present in earlier TP versions). IMHO these two technologies are really groundbreaking and will have a huge impact as we ‘do’ IT today.

01: Nano Server
As Jeffrey Snover states: ‘…It's like Server Core, except that it's 20 times smaller. The compressed size or reduced server "footprint" brings a number of benefits, including fewer security vulnerabilities to address, reduced patch and reboot times, and scalability improvements…’

02: Windows Server Containers
A technology known in the Linux world for some time. It’s also known as stateless (Server) OS virtualization. It’s more lightweight & efficient because it uses the shared resources of a host OS - rather than "heavier" virtual machines (VMs) - to run applications in. A Windows Server Container is deployed in the matter of seconds!

Other useful links
Besides Nano and Containers there is much more to TP3 of System Center 2016 & Windows Server 2016. Since there are many articles on those topics to be found on the internet, there is no need to repeat it here. Therefore I’ve put together some of the most interesting links all about this topic.

DPM 2012 R2 UR#7: Hotfix

Yesterday Microsoft published a hotfix to resolve an issue when you’ve got UR#7 installed for System Center 2012 R2 – Data Protection.

UR7 DPM 2012 R2 might result in DPM not being able to cleanup expired disk based recovery points.

The hotfix to resolve this issue can be found here.

Thursday, August 20, 2015

Issue With Update Rollups& OMS Based Agents

When applying any SCOM 2012 R2 Update Rollup (UR), you might bump into an issue where you can’t update some Microsoft Monitoring Agents (MMA).

When trying to apply the related UR locally on the server, this error message will be shown: The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program:

As it turns out, this may happen on servers where the OMS based MMA is installed AND is configured not only to communicate with the OMS Workspace but also with an on-prem SCOM 2012x MG. MMAs like these can’t be updated with any UR for SCOM 2012x.

Solution 01 – Maintaining the OMS Connection
The most recent version of the OMS based MMA is 7.2.10375.0. So check the version of that OMS MMA on that server:

  1. On that server: Go to the folder C:\Program Files\Microsoft Monitoring Agent\Agent and check the file version of the HealthService.exe file. When it’s version 7.2.10375.0, no additional actions are required.
  2. When it’s older, download the latest OMS MMA by using the OMS portal > Sign in > select your workspace (upper right corner) > click it with the settings icon > Connected Sources.
  3. Download the OMS MMA for the correct architecture (x64 or x86) and install it by choosing the Upgrade option when the installer is run.

Solution 02 – Breaking the OMS Connection
This ‘solution’ breaks the OMS connection, so think twice before continuing!

  1. On that server: Remove the OMS based MMA through the Programs and Features control panel applet;
  2. From the SCOM 2012x Console: Start a push installation and the SCOM Agent will be installed with the latest UR as well.

PowerShell: HTML Reports UR Level SCOM Agents

When running a SCOM environment, it’s already a bit of a challenge to apply an Update Rollup (UR) package. And this challenge is mostly caused by the fact that EVERY monitored Windows system has to be ‘touched’ because the Microsoft Monitoring Agent (MMA) requires that UR.

So Change Management is required. But even when the related RFC’s have passed the CAB, another challenge remains: WHICH Windows systems are patched, and which aren’t?

Yes, the SCOM Console has a nice view all about the patch level of the MMAs. But making a quick count of those systems (which are and which aren’t updated) can take some time which could be spend better. And the bigger your SCOM environment, the more time it takes.

Again: PowerShell to the rescue!
Gladly enough there is PowerShell. And with some basic PS scripting a lot can be achieved.

So I’ve made a PS script which queries the SCOM MG for ALL the MMAs and their UR level. These results are piped into TWO HTML reports: one containing all the MMAs not on the expected UR level and the second one containing all the MMAs on the expected UR level.

In order to visualize it even better, both reports use other formatting by using two different CSS files. Both reports show additional information on the MMA’s as well:

  1. Version level;
  2. Patch List;
  3. Whether the MMA is manually installed or not.

Some examples
The HTML report containing the MMAs NOT on the expected UR level:

The HTML report containing the MMAs on the expected UR level:

What it needs in order to run
Besides the obvious (it must be run from a system where the SCOM 2012x Console is installed AND under an account which has SCOM permissions), this PS script requires only two inputs from you:

  1. The FQDN of the SCOM 2012x Management Server to connect to:
    Line 9, replace <FQDN OF THE SCOM 2012 MS SERVER> with the MS server of your SCOM MG.

  2. The UR Level to check for.
    Line 114, replace the number (6 in this example) with the UR level to check for.

That’s all there is to it. And to make it easier, the HTML files have the name of the Management Group it touched and the UR level checked for. Also the MG name and UR level checked for are displayed in the HTML reports themselves.

Script can be downloaded from here.

This PS script is tested only in SCOM 2012 R2. It should work in SCOM 2012 SP1/RTM as well but it hasn’t been tested.

New Kid In Town? Not Quite…

Some background information
I guess many people already know him. He’s a former UK based MVP and ran his own blog all about System Center. He has a very good track record and knows a lot about other – SC related – technologies as well. Before he started blogging he was very active on the TechNet forums for System Center. He answered many questions, thus helping many people along in dealing with the every day challenges of managing the System Center products.

Then for a while his blog became silent. Also his presence on the TechNet forums took a dip.

The famous Terminator quote: ‘I’ll Be Back…’
But now he’s BACK! In a new position that is, since he has joined Microsoft UK as a PFE! So that’s good news for Microsoft UK and all other System Center PFE’s, since their team has gained a member who has a huge experience with the System Center stack.

But there is more. He’s also back on the blogging scene since he’s contributing to the PFE UK Manageability team blog, AKA The Manageability Guys. A blog I pointed out earlier to keep an eye on since the content of that blog is really good. And with his contributions it got even better!

These are his three latest postings:

  1. Distributed Applications in a Snippet
  2. Dynamic SQL Computer Group with Health Service Watcher Objects
  3. State Tiles Widget + PowerShell Widget

And there is more to come! So keep an eye out on the blog of the PFE UK Manageability team.

Who is he?!
Okay, here is his name: Graham Davies. Welcome back!

Updated MP: Server OS Version 6.0.7297.0

A few days ago Microsoft released an updated version of their ‘bread & butter’ MP, the Windows Server OS MP, version 6.0.7297.0.

Changes in this updated MP are (taken directly from the MP guide):

  • In 2008, 2012 platforms, the “Logical Disk Free Space (%) Low” monitor do not alert as expected when free space is 0%. With this fix, this monitor will alert when free space is 0%
  • In all platforms, logical disks are un-discovered if we configure them as Asymmetric storage on Failover Cluster. With this fix, this issue will be resolved
  • The Windows Server OS Management pack collects logical disk size is megabytes. During discovery this value used to be assigned to integer property. When logical disk size is significantly large (for example, when disk is of several petabytes), in megabytes format it goes out of boundaries of integer type. As a result the workflow fails while trying to insert discovery data. To support large logical disk another double properties was introduced, since double type has much more wide values range. Old integer property with constant “-1” value is preserved for upgrade compatibility and marked as DEPRECETED
  • “Volume Mount Points on Dynamic Disks” aren’t discovered by Microsoft Windows Server 2012 Discovery MP. With this fix, this issue will be resolved
  • MP has been modified to not discover System Reserved volumes on Windows Server 2012 to ensure it is consistent with the rest of the OS versions.

The MP can be downloaded from here.