Hello,
I have 2 server machines and will be hosting an SQL database (ms sql server 2016). I'm wondering what would be the best option/approach for a fail-over setup. Server machine #1 will be the primary database and server machine #2 will be the backup. In the case when server machine #1 goes down, server machine #2 will takeover. When server machine #1 goes online, the database of server machine 2 will be automatically synchronized to server machine #1 and connection will be restored to it after completion, making the server machine 2 backup again.
I read about SQL server log shipping and sql database mirror, but I'm uncertain how effective they are.
I would appreciate your advise. Thank you.