Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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


↑ Back to the top


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.

↑ Back to the top


Resolution

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

↑ Back to the top


Status

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

↑ Back to the top


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:
For more information about how to monitor high availability and site resilience, visit the following Microsoft website:

↑ Back to the top


Keywords: kbqfe, kbfix, kbsurveynew, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 2585649
Revision : 1
Created on : 1/7/2017
Published on : 2/13/2012
Exists online : False
Views : 334