I wrote an earlier article on how to configure SQL Mirroring to provide database resilience, in this article I will go through how to configure SharePoint to use this new found resiliency.Once you have configured your database mirror you need to instruct SharePoint to use it in the event of a Database Server failure, to do this use the following Powershell command:Get-SPDatabase |?{$_.Name.ToString() -match “YourContentDB”} | %{$_.AddFailoverServiceInstance(“YourSQLMirrorServer”);$_.Update()}If you want to see the current Failover Server assigned to a specific database you can run the following command:Get-SPDatabase |?{$_.Name.ToString() -match “YourContentDB”} | select name, failoverserver
Browse latest info tech news and developments
Our blog publishes bite-sized IT focused articles that offer an easy-to-read insight into ways you can improve your business, communication and operation.
Showcasing developments in the IT industry, practical advice, and time and money saving tips, it’s worth subscribing to stay up to date with the news that matters.