change connection string of SharePoint site

I have an issue in SharePoint 2013 deployment
I have two SharePoint servers connected to the same database. while i have another back up database which is always synchronized
I want that when the SharePoint server 1 is down i will be able to change the connection string of the SharePoint server 2 in order to make it read from the backup database
any help will be apreciated

0 answers