add 3 apis for failover ,mod the detail site for failover,