how can you sure WFCS is the cause?

John JY 201 Reputation points

Hi all,

we have SQL AG role set up on Windows 2012R2 up OS. When SQL AG failovered, how can you sure that
WFCS caused and not AG role?

Thank you!

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
9,764 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
801 questions
{count} votes

3 answers

Sort by: Most helpful
  1. CathyJi-MSFT 20,976 Reputation points Microsoft Vendor

    Hi @John JY ,

    We need to start from SQL server error log and windows cluster log to analysis why SQL AG failover. The log will tell you that SQL or windows cause this issue.

    Generate and analyze the CLUSTER.LOG for an Always On availability group

    Use the cluster /log /g command at the command prompt. This command generates the cluster logs to the \windows\cluster\reports directory on each WSFC node. or use the Get-ClusterLog PowerShell cmdlet. Refer to MS document Generate and analyze the CLUSTER.LOG for an Always On availability group.

    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar thread.

    0 comments No comments

  2. Limitless Technology 37,751 Reputation points

    Hello @John JY ,

    Windows Server Failover Cluster (WSFC) A WSFC is a group of independent servers that work together to increase the availability of applications and services.

    An Always On Failover Cluster Instance (FCI) is a SQL Server instance that is installed across nodes in a WFCS. This type of instance depends on resources for storage and virtual network name.

    High availability for an Always On solution is accomplished through proactive health monitoring of physical and logical WFCS cluster resources, together with automatic failover onto and re-configuration of redundant hardware. A system administrator can also initiate a manual failover of an availability group or SQL Server instance from one node to another.


    Hope this answers all your queries, if not please do repost back.
    If an Answer is helpful, please click "Accept Answer" and upvote it : )

    0 comments No comments

  3. John JY 201 Reputation points

    @CathyJi-MSFT Thank you! sorry to reply you late. checked Windows failover operational logs and AG failed over first. Can we say AG is the cause? also, see heartbeat lost. Thank you for the help!