• Management Pack:  SQL Server 2012
  • MP Version:  7.0.4.0
  • Released:  4/18/2018
  • Publisher:  Microsoft

Availability Replicas Role monitor Monitor

  • ID:  Microsoft.SQLServer.2012.AlwaysOn.AvailabilityReplicaRoleState
  • Description:  Availability Replicas Role
  • Target:  Availability Group Health
  • Enabled:  Yes

Operational States

Name State Description
All availability replicas have a health role Success  
Some availability replicas do not have a health role Warning  

Overridable Parameters

Parameter Name Default Value Description Override
Interval (seconds) 900 The recurring interval of time in seconds in which to run the workflow.
Timeout (seconds) 300 Specifies the time the workflow is allowed to run before being closed and marked as failed.
Policy Name $Target/Property[Type="AlwaysOnDisc!Microsoft.SQLServer.2012.AlwaysOn.AvailabilityGroupHealth"]/AvailabilityGroupName$-AlwaysOnAgReplicasRoleHealthPolicy  

Run As Profiles

Name
Always On Monitoring Account

Monitor Knowledgebase

Summary

This monitor rolls up the state of role of all availability replicas and checks whether any availability replica is not in a healthy role. The monitor is in unhealthy state when any availability replica is neither primary nor secondary. The monitor is healthy state otherwise.

Causes

In this availability group, at least one availability replica does not currently have the primary or secondary role.

Resolutions

Find the availability replica whose role is not primary or secondary using availability replica monitor state and resolve the issue at the availability replica.

External References
This monitor does not contain any external references.

See Also for SQL Server 2012 Management Pack


Downloads for SQL Server 2012 Management Pack

AZURE OPTIMIZATION ASSESSMENT GET STARTED
MIGRATION TO AZURE GET STARTED
SYSTEM CENTER MIGRATION TO AZURE GET STARTED
MIGRATION TO AZURE FOR SQL AND WINDOWS 2008 GET STARTED