The StartDagServerMaintenance.ps1 script fails in an Exchange Server 2010 environment

Article ID: 2585649 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

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


CAUSE

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.

RESOLUTION

To resolve this issue, install the following update rollup:
2645995 Description of Update Rollup 1 for Exchange Server 2010 Service Pack 2

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about high availability and site resilience in Exchange Server 2010 SP1, visit the following Microsoft website:
For more information about DAG, visit the following Microsoft website:
General information about DAG
For more information about how to monitor high availability and site resilience, visit the following Microsoft website:
General information about how to monitor high availability and site resilience

Properties

Article ID: 2585649 - Last Review: February 13, 2012 - Revision: 1.0
APPLIES TO
  • Microsoft Exchange Server 2010 Service Pack 2, when used with:
    • Microsoft Exchange Server 2010 Standard
    • Microsoft Exchange Server 2010 Enterprise
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseinter KB2585649

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com