Can SCCM determine if a computer is part of a cluster?

We use SCCM to do patching but I want to make sure it never tries to patch a machine that's part of a cluster (HPV, SQL, etc).  Is there any way I can create a collection and have SCCM pull in any machine that's part of a Cluster so I can add it as an Exclude rule to our update collections?

Thanks.

June 19th, 2015 5:13pm

By default, I don't think anything indicative of being a member of a cluster is collected. 

You should be able to add one of the WMI classes for failover clusters to your hardware inventory though and collect the info which can then be used in your membership query. I don't have a failover cluster handy, so don't know exactly which class to use so you should a little bit of discovery on one of your cluster members to discover which would be useful. The reference for all failover cluster classes is at https://msdn.microsoft.com/en-us/library/aa372876(v=vs.85).aspx

Free Windows Admin Tool Kit Click here and download it now
June 19th, 2015 5:42pm

Thanks. I'll take a look.  However, I'm relatively new to SCCM so if anyone has done this before and knows what exactly I would need to do, please let me know.

Thanks.

June 22nd, 2015 2:24pm

You can create a collection based on the presence of "ClusSvc" service set to Auto. There is a good example here

https://hmmconfused.wordpress.com/2013/05/31/system-center-configuration-manager-and-cluster-aware-updatin

June 22nd, 2015 2:32pm

Easiest way, IMO, is to look for the cluster service being set to auto.  This will require no special global conditions or WMI queries, so is a simple enough query to make.

Query should look something like:

select * from SMS_R_System inner join SMS_G_System_SERVICE on SMS_G_System_SERVICE.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SERVICE.DisplayName = "Cluster Service" and SMS_G_System_SERVICE.StartMode = "Auto"
FYI: I don't remember the exact name of the cluster service BTW .... launch services.msc to validate.
June 22nd, 2015 2:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics