Failed to initiate the upgrade sequenceProblem: SharePoint patches are failing on configured database mirroring.
An exception of type System.ArgumentException was thrown. Additional exception information: Keyword not supported 'failoverpartner'.
To diagnose the problem, review the application event log and the configuration log located at:
PathToLogFile
Solution:
You do not need to destroy database mirroring on the SQL Server. Removing the configuration on the SharePoint server is enough, and can be easily re-configured with a PowerShell command once the upgrade is finished.
Content databases and application databases can be removed through the Central Admin console, but configuration databases have to be configured with PowerShell. To remove the offending failoverpartner setting run the following script.
get-spserviceinstance -all | foreach-object {To check that mirroring has been removed, run the following command
if ($_.typeName -eq "Microsoft SharePoint Foundation Database")
{
foreach ($Database in $_.Databases){
if ($Database.FailoverServer) {
write-host "Found Mirrored Database, Removing"
$Database.AddFailoverServiceInstance($Null)
$Database.Update()
write-host "Successfully removed Failover Instance"
}
else {
write-host $Database.Name "none configured"}
}
}
}
get-spdatabase | select name, failoverserverRun the upgrade, once it's completed you can re-configure the failoverpartner with this script.
No comments:
Post a Comment