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\DagComm onLibrary. ps1:483 char:14
+ Log-Error <<<< ($DagCommonLibrary_Localiz edStrings. res_0064 -f $db,"Move-DagMasterCopy")
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Comma nds.WriteE rrorExcept ion,Log-Er ror
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\DagComm onLibrary. ps1:988 char:11
+ Log-Error <<<< ($DagCommonLibrary_Localiz edStrings. res_0109 -f $failedCommand,$failedMess age) -Stop:$Stop
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Comma nds.WriteE rrorExcept ion,Log-Er ror
Log-Error : [12:46:45.534 UTC] Move-CriticalMailboxResour ces: An error occurred while moving critical resources off ser
ver 'exch01'
At D:\Microsoft\Exchange Server\V14\Scripts\DagComm onLibrary. ps1:318 char:25
+ $errorCmd = { Log-Error <<<< ($DagCommonLibrary_Localiz edStrings. res_0046 -f $Server,"Move-CriticalMail boxResour
ces") }
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Comma nds.WriteE rrorExcept ion,Log-Er ror
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\DagComm onLibrary. ps1:489 char:14
+ Log-Error <<<< ($DagCommonLibrary_Localiz edStrings. res_0065 -f $db,"Move-DagMasterCopy") -Stop
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Comma nds.WriteE rrorExcept ion,Log-Er ror
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\DagComm
+ Log-Error <<<< ($DagCommonLibrary_Localiz
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Comma
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\DagComm
+ Log-Error <<<< ($DagCommonLibrary_Localiz
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Comma
Log-Error : [12:46:45.534 UTC] Move-CriticalMailboxResour
ver 'exch01'
At D:\Microsoft\Exchange Server\V14\Scripts\DagComm
+ $errorCmd = { Log-Error <<<< ($DagCommonLibrary_Localiz
ces") }
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Comma
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\DagComm
+ Log-Error <<<< ($DagCommonLibrary_Localiz
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Comma
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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
Are you specifying the server name by fqdn or netbios name? Try it by netbios name ie- EXCH01 not exch01.domain.local
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
It worked for me.
ref links:
https://seneej.com/2013/08/27/how-to-perform-maintenance-on-exchange-2010-dag-node/
http://mikepfeiffer.net/2010/08/performing-maintenance-on-dag-members-in-exchange-2010-sp1/