Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

script to automatical force a manual failover?

$
0
0

Hi,

I'm looking for options to do a manual failover between 2 SQL Server 2012 in asynchronous mode.

So when my main server A become unavailable after X minutes, I want to automaticaly switch to my server B, which is in alwayson but an async mode.

I do not want to use the synchornous mode for performance reasons, my sever B is on a remote site and the latency between the 2 sites causes too many performance issues. so the ascynchronous mode is better for us.

and we are ready to lost some transactions.

my problem is to have an automated process to switch between the nodes in case of a crash instead of waiting for a DBA to receive an alert and manually do the switch (which can be long and I want my database available in the 15 minutes)

I found this:

https://blogs.msdn.microsoft.com/alwaysonpro/2016/01/14/enhance-alwayson-failover-policy-to-test-sql-server-database-data-and-log-drives/

does this script can be used to do what I want to do? or does this script still required an automated fail over option (and so a synchronous alwayson option)?


Viewing all articles
Browse latest Browse all 4689

Trending Articles