Hi,
I would like to calculate following statistics related to failover for Always on Failover Cluster Instance(FCI) as well as Availability Group:-
It would be great if someone can point me to the sql query view or any performance counter to get the required or partial information.
Required Statistics:-
1) Time required for failover from one node to another.
a ) Time to write the dirty pages in the buffer cache to the disk.
b) Time taken by all the respective SQL Server services in the resource group to stop on the active node.
c) Time taken to transfer the resource group ownership to another node in the FCI.
d) Time taken by the new resource group owner to start its SQL Server services.
e) Time taken to direct the Client application connection requests to the new active node using the same virtual network name (VNN).