eG Monitoring
 

Measures reported by MsSqlAlsMmbStatTest

The AlwaysOn feature not only combines the power of clustering and mirroring into one High Availability option, but also allows you to interact with the secondary databases. In addition, AlwaysOn Availability Groups allows you to configure failover for one database, a set of databases or the entire instance. Another important aspect of the AlwaysOn is that you can create multiple failover targets. If the Availability Group is enabled on multiple Microsoft SQL server instances in a cluster, then the administrators are required to monitor each member of the cluster node that is enabled with the AlwaysOn feature. In addition, if the failover concept has to be fool-proof then there arises a need for a file-share witness or a disk witness. The file-share witness or disk witness is most commonly used when shared storage is available to a cluster. The file share witness or disk witness pings the members of a cluster and syncs the data from all the members to keep the database updated. In case of failover, the disk witness or file share witness will render the cluster node with an updated database. Since the file share witness or disk witness stores the updated database by constantly pinging the members of the cluster node on which AlwaysOn feature is enabled, it becomes mandatory to check the status of each member of the cluster node and the disk witness or file share witness. The MsSqlAlsMmbStatTest test exactly helps you in this regard.

For each category available in the Microsoft SQL server instance enabled with AlwaysOn feature, this test reports the current status of each member. If the member is online, then this test will report whether/not the member is a primary member and whether the member has failed over.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Member_state Indicates the current state of this member.   The values reported by this measure and their numeric equivalents are available in the table below:

Measure Value Numeric Value
Offline 0
Online 1

Note:

This measure reports the Measure Values listed in the table above to indicate current state of this member. However, in the graph, this measure is indicated using the Numeric Values listed in the above table.
Is_primary Indicates whether/not this member is the primary member.   The values reported by this measure and their numeric equivalents are available in the table below:

Measure Value Numeric Value
No 0
Yes 1

Note:

This measure reports the Measure Values listed in the table above to indicate whether/not this member is the primary member. However, in the graph, this measure is indicated using the Numeric Values listed in the above table.

This measure is not applicable for the DISK_WITNESS descriptor.

Is_switched Indicates whether/not this member has failed over i.e., this member has switched over from primary to secondary and vice versa.   The values reported by this measure and their numeric equivalents are available in the table below:

Measure Value Numeric Value
No 0
Yes 1

Note:

This measure reports the Measure Values listed in the table above to indicate whether/not this member has failed over. However, in the graph, this measure is indicated using the Numeric Values listed in the above table.

This measure is not applicable for the DISK_WITNESS descriptor.