How to run a script when a Resource Group fails over to the passive node of a Windows Server 2003 based MSCS Cluster

Having recently scripted the Cluster WMI Namespace (for fun) and blogged about it with my Cluster WMI Notifications post, I saw an opportunity to put that experience into practice here. We had a 2 node Active-Passive MSCS Cluster and the requirement was to run a custom script that did some work when a Resource Group…

Playing around with the RootMSCluster WMI Namespace and WMI Notifications

MSCS and Failover Clustering in Windows Server 2003 and Windows Server 2008/R2 respectively maintain their own WMI namespace called, unsurprisingly “MSCluster”. This namespace contains classes – for nodes, networks, resources and so on – which in turn have instances. These instances store information about the object they represent and the current state of these objects….