All MIBs › INFORMANT-MSCS › mscsResGroupAntiAffinityClassNam
mscsResGroupAntiAffinityClassNam
Module: INFORMANT-MSCS
OID (symbolic): INFORMANT-MSCS::mscsResGroupAntiAffinityClassNam
OID (numeric): 1.3.6.1.4.1.9600.1.31.9.1.6
Node type: OBJECT-TYPE
Type: WtcsDisplayString
Access: read-only
Description: The AntiAffinityClassNames property is used to identify groups that should not be hosted on the same cluster node.
A group's AntiAffinityClassNames property consists of zero or more arbitrary user-defined strings. If the AntiAffinityClassNames properties of two or more groups contain at least one identical string, the groups are said to be anti-affined. By default, all groups are affined (because their AntiAffinityClassNames property is NULL).
When a group is moved and the destination node is not specified (during failover, for example), anti-affinity affects the algorithm used to determine the destination node as follows: 1. Using the preferred owner list of the group being moved, the Cluster service finds the next preferred node. 2. If the node is not hosting any group anti-affined with the group being moved, it is selected as the destination node. 3. If the next preferred available node is currently hosting a group anti-affined with the group being moved, the Cluster service moves to the next preferred available node in the preferred owner list. 4. If the only available nodes are hosting anti-affined groups, the Cluster service ignores anti-affinity and selects the next preferred available node as the destination node.
Use this property to identify groups that should not be hosted on the same node. Generate a unique string value (such as a GUID) and add it to the AntiAffinityClassNames property of each group that should be anti-affined.
Note that because of the behavior described in point 4 above, anti-affinity does not guarantee that groups will never be hosted by the same node. If you have an application that cannot support more than one instance per node under any circumstances, you need to create a resource DLL to enforce that limitation.
What is mscsResGroupAntiAffinityClassNam?
This read-only string reports the anti-affinity class name(s) assigned to a resource group, used to prevent groups sharing an identical string value from being hosted on the same cluster node during failover, though the cluster may override this if no other node is available. An admin sets matching anti-affinity strings on two groups, such as two SQL instances, to keep them from landing on the same node and doubling that node's load after a failover.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9600.1.31.9.1.6 snmpwalk -v2c -c public <target> INFORMANT-MSCS::mscsResGroupAntiAffinityClassNam
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9600.1.31.9.1.6.1 snmpget -v2c -c public <target> INFORMANT-MSCS::mscsResGroupAntiAffinityClassNam.1
Start monitoring Windows Server failover cluster node (Microsoft Cluster Server, SNMP Informant) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the INFORMANT-MSCS::mscsResGroupAntiAffinityClassNam OID value, configure state conditions and alerts, and monitor any Windows Server failover cluster node (Microsoft Cluster Server, SNMP Informant) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9600 | wtcs | WTCS |
| 1.3.6.1.4.1.9600.1 | informant | WTCS |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9600.1.31 | mscs | INFORMANT-MSCS |
| 1.3.6.1.4.1.9600.1.31.9 | mscsResGroupTable | INFORMANT-MSCS |
| 1.3.6.1.4.1.9600.1.31.9.1 | mscsResGroupEntry | INFORMANT-MSCS |
| 1.3.6.1.4.1.9600.1.31.9.1.6 | mscsResGroupAntiAffinityClassNam | INFORMANT-MSCS |