Use of Disable Operations Manager alerts option in ConfigMgr

In System Center Configuration Manager, there is an option “Disable Operations manager alerts while this program runs” in the program within a package: There are also same options in the deployment of ConfigMgr 2012 applications and Software update groups: Application Deployment: Software Update Groups Deployment: Most of seasoned System Center specialists must already know that these tick boxes do not make the computers enter maintenance mode in OpsMgr. It’s suppressing alerts by pausing the OpsMgr healthservice. As far as I know, there is no way to initiate maintenance mode from an agent. Maintenance mode can only be started from the

Continue reading

Using Computers And Health Service Watchers Groups in a Management Group containing Clusters

It’s very common for OpsMgr administrators to create instance groups contain windows computer objects and the health service watcher objects for these computers so these groups can be used in alert subscriptions for different support teams. There are many articles out there explaining how to create these groups such as: http://www.scom2k7.com/dynamic-computer-groups-that-send-heartbeat-alerts/ http://blogs.technet.com/b/kevinholman/archive/2014/04/09/creating-groups-of-health-service-watcher-objects-based-on-other-groups.aspx Please keep in mind, if there are clusters monitored in your environment, and you’d like to include cluster alerts in the subscriptions you’ve setup, these groups do not contain windows clusters so subscriptions will not process some of the cluster alerts. I noticed it last week when I

Continue reading

My Experience Migrating Hyper-V Clusters Using System Center Orchestrator 2012

Back in August / September last year, I spent sometime designed a set of Orchestrator runbooks to migrate Window Server 2008 R2 Hyper-V clusters to Windows Server 2012. I wasn’t going to blog this because it was designed to only cater for my company’s environment, not something that’s generic enough for everyone to use. I also wasn’t sure how well I can explain and document these runbooks in a blog post. Few of my colleagues and friends actually encouraged me to blog this one so I’ll give it a try (and not to disclose company related sensitive information). Background My

Continue reading

Programmatically Generating the OpsMgr 2012 Alert Update Connector Configuration XML

Background After been working on a project for over a year, I’ve start to see some light at the end of the tunnel. The last task I have in order to production-transition the 4 OpsMgr 2012 R2 management groups that I have designed and built is to configure integration between our ticket logging tool and OpsMgr to allow alerts to be automatically logged as IM’s. Back in the OpsMgr 2007 days, before I started with the organisation, one of my colleagues have designed a set of very comprehensive Opalis policies (yes, they were called policies instead of runbooks back then)

Continue reading

PowerShell Functions: Get OpsMgr Alert Generating Rules and Monitors

This is my second post today. Bad weather, both wife and daughter have got flu. So I’m sitting home catching up with blogs… I wrote 2 functions as part of a PowerShell script I’ve been working on: Get-AlertRules and Get-AlertMonitors. As the names suggest, these two functions get all Rules / Monitors of a particular monitoring class that generate alerts. I didn’t end up using these 2 functions in my script, but I thought they are too good to be trashed. so I thought I’ll put them here for future reference. Get-AlertRules: [code language=”PowerShell”] Function Get-AlertRules { PARAM ( [Parameter(Mandatory=$true,HelpMessage="OpsMgr

Continue reading

Remotely Powering On and Off My Entire Home Lab

My home lab consists of 3 PCs running Hyper-V and a HP Proliant Microserver N54L running SCVMM. I have previously blogged the lab setup in a 2-part blog posts (Part 1, Part 2). These 2 blog articles was written back in October 2012, although there are few changes in the current setup (new hardware, etc), but the overall setup is pretty much the same. All 4 machines in my lab have been constantly running 24×7, except when we go on holidays or there’s a power outage (which doesn’t happen very often). This is largely because I just can’t be bothered

Continue reading

PowerShell Module to resize console – Updated

Few days ago I wrote a PowerShell module that contains 1 cmdlet / function to resize the PowerShell console windows. It was a quick job that I did less than half an hour. I wrote it primarily to make PowerShell Web Access (PSWA) more user friendly. Over the last couple of days, I spent a bit more time on this module, and add a lot more functionality to it. The original module had 107 lines of code, and the updated one has 591 lines. Here’s a list of new features: Additional cmdlets This module now contains the following cmdlets: Resize-Console

Continue reading

PowerShell Module: Resize-Console

I’m currently working on a solution that relies on PowerShell Web Access (Hopefully I can finish tonight and blog it in next couple of days). I have been a bit hesitate to use use PWSA every since I firstly tried it out briefly back in 2012 (and blogged my experience here). Why am I hesitated? this is why: The interface is just not that user-friendly with such a small window and that much useless space. There is no way to easily resize the window. In my original blog post, I posted a simple script to increase the size. Today, I

Continue reading

SQL DB Engines Not Discovered in SCOM and My Troubleshooting Experiences

Few days ago while I was in the OpsMgr 2012 console, I realised that all 3 SQL clusters hosting my OpsMgr Ops DBs are not discovered by MS SQL management packs. All other SQL clusters with same version of SQL got discovered (i.e. clusters hosting ConfigMgr 2012 site databases, etc.). Since I backup both sealed and unsealed MPs using my OpsMgr Self Maintenance MP, I went grabbed a unsealed copy (exported to .xml) of “Microsoft.Windows.Server.2012.Discovery” MP, extracted the discovery script “DiscoverSQL2012DBEngineDiscovery.vbs” and tried to run manually on the active node of one of the problematic SQL cluster. the script failed.

Continue reading

VMware Windows Guest Management Pack

This Monday, I was configuring monitoring for all our System Center 2012 servers as per our Windows support team’s requirement. Since all the virtual machines for our System Center 2012 servers are hosted on VMware ESX, they want to monitor the VMware Tools service on these guest VM’s. Since it was Monday morning and I had one bottle of wine the night before, I thought instead of write it myself, I’ll see if I can find a MP for this from the community so my brain can have a bit of rest. Unfortunately, I didn’t have too much luck as

Continue reading
%d bloggers like this: