Consider the following scenario:
You have a database availability group (DAG) that has more than two DAG members in a Microsoft Exchange Server 2010 environment.
You try to run the StartDagServerMaintenance.ps1 script to put a DAG member out of service for maintenance.
The mailbox database hosted by the DAG member has two database copies.
In this scenario, the script fails, and you receive the following error message:
[PS] C:\Program Files\Microsoft\Exchange Server\V14\scripts>.\StartDagServerMaintenance.ps1 Mailbox Server
The following objects are hosted by Mailbox Server, before attempting to move them off: `n(Database=<Mailbox Database>, Reason='Copy is critical for redundancy according to Red Alert script'))
Write-Error : The following objects are still hosted by Mailbox Server, even after attempting to move them off: `n(Database=Mailbox Database, Reason='Copy is critical for redundancy according to Red Alert script'))
At C:\Program Files\Microsoft\Exchange Server\V14\scripts\StartDagServerMaintenance.ps1:216 char:16
+ write-error <<<< ($StartDagServerMaintenance_LocalizedStrings.res_0014 -f ( PrintCriticalMailboxResourcesOutput($criticalMailboxResources)),$shortServerName) -erroraction:stop
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.PowerShell.Commands.WriteErrorCommand
This issue occurs because the script fails when validating the redundancy of the mailbox database copies if there are only two mailbox database copies on the DAG member servers.
To resolve this issue, install the following update rollup:
2645995 Description of Update Rollup 1 for Exchange Server 2010 Service Pack 2
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about high availability and site resilience in Exchange Server 2010 SP1, visit the following Microsoft website:
General information about high availability and site resilience in Exchange Server 2010 SP1For more information about DAG, visit the following Microsoft website:
General information about DAGFor more information about how to monitor high availability and site resilience, visit the following Microsoft website: