Cross data Center replication failover automation

Hello Everyone,

We have cross data center replication enabled between the two cluster’s(Async replication)
Using the load balancer to failover between intra-cluster like from MA-CA.

Do we have any other tools which can monitor the replication between two clusters and auto-failover to secondary, In case of primary server goes down.

We know that if all nodes are going down then we can failover primary to secondary, but what if only two leaf nodes are going down one from each DC and Agg. nodes are still online. How to check this condition as most the load balancers will not be able to differentiate between the AGN and LFN nodes…