Hi. I use WMI to query cluster statistics.
When I request the QuorumType against a Windows 2008 R2 Cluster, I get really useful information...
1. Open wbemtest.exe 2. Connect to correct namespace 2a. Click Connect. 2b. Change Namespace value from "root\cimv2" to "\\YourClusterNode\root\MSCluster" 2c. Change Authentication level to "Packet Privacy" 2d. Click Connect. 3. Query the WMI datastore. 3a. Click "Query..." 3b. Enter "SELECT QuorumType FROM MSCluster_Cluster" and click Apply. 4. In the resulting Query Result, double-click the listitem results to review.
Windows 2008 R2 Clusters return values such as "Node and Disk Majority," Node and Fileshare Majority", "Node Majority."
However, Windows 2008 R1 Clusters return vague values such as "No Majority" and "Majority."
Windows Failover Cluster Manager is able to report the correct QuorumType, regardless if R1/R2.
Is there a programmatic way to acquire the correct, fully-qualified, QuorumType from Windows 2008 R1 Clusters?