Link to home
Create AccountLog in
Avatar of CNBELGIN
CNBELGIN

asked on

Exchnage 2010 Maintenance Mode

Hello Experts,

I need help putting an exchange 2010 DAG member in maintenance mode. When I run the script from as administrator I get the below message.

Log-Error : [12:46:44.068 UTC] Move-DagMasterCopy: Database 'ElginAve DB01' *FAILED* to move! Now attempting to perform
 rollback to prevent a DB outage...
At D:\Microsoft\Exchange Server\V14\Scripts\DagCommonLibrary.ps1:483 char:14
+                 Log-Error <<<<  ($DagCommonLibrary_LocalizedStrings.res_0064 -f $db,"Move-DagMasterCopy")
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Log-Error

Log-Error : [12:46:45.487 UTC] Failed at command 'Log-Error' with '[12:46:45.472 UTC] Move-DagMasterCopy: Database 'Elg
inAve DB01' *FAILED* to move!'
At D:\Microsoft\Exchange Server\V14\Scripts\DagCommonLibrary.ps1:988 char:11
+     Log-Error <<<<  ($DagCommonLibrary_LocalizedStrings.res_0109 -f $failedCommand,$failedMessage) -Stop:$Stop
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Log-Error

Log-Error : [12:46:45.534 UTC] Move-CriticalMailboxResources: An error occurred while moving critical resources off ser
ver 'exch01'
At D:\Microsoft\Exchange Server\V14\Scripts\DagCommonLibrary.ps1:318 char:25
+     $errorCmd = { Log-Error <<<<  ($DagCommonLibrary_LocalizedStrings.res_0046 -f $Server,"Move-CriticalMailboxResour
ces") }
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Log-Error

WARNING: The Resume operation won't have an effect on database replication because database 'ElginAve DB01' hosted on
server 'EXCH01' is the active mailbox database.
Log-Error : [12:46:45.472 UTC] Move-DagMasterCopy: Database 'ElginAve DB01' *FAILED* to move!
At D:\Microsoft\Exchange Server\V14\Scripts\DagCommonLibrary.ps1:489 char:14
+                 Log-Error <<<<  ($DagCommonLibrary_LocalizedStrings.res_0065 -f $db,"Move-DagMasterCopy") -Stop
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Log-Error
Avatar of FOX
FOX
Flag of United States of America image

Avatar of CNBELGIN
CNBELGIN

ASKER

I ran the "startdagmaintenance mode script and got the above error. As far as I can tell this script should move the databases as well.
SOLUTION
Avatar of FOX
FOX
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Putting it in maintenance mode instigates the move.

Are you specifying the server name by fqdn or netbios name? Try it by netbios name ie- EXCH01 not exch01.domain.local
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
It worked for me.