Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

exchange 2010 DAG problem

Two Exchange server, EX01 & EX02 are running in DAG. Mail copy on EX02 was failed but I can't resume it .

I have already tried
1. Update the database copy through GUI
2. Resume the database through GUI
3.  I have also tried to delete the current database and add it back to EX02 again.

None of the above can fix my problem. Below are some further information. Any further advise ? Tks


Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq "Failed"}

[PS] C:\Windows\system32>Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq "Failed"}

Name                                          Status          CopyQueue ReplayQueue LastInspectedLogTime   ContentIndex
                                                              Length    Length                             State
----                                          ------          --------- ----------- --------------------   ------------
US\EX02                                       FailedAndSus... 10464     0           5/10/2015 1:54:09 AM   Failed
HK\EX02                                       FailedAndSus... 3444807   0                                  Failed

[PS] C:\Windows\system32>update-mailboxdatabasecopy -identity HK\EX02 -deleteexistingFiles
A source-side operation failed. Error An error occurred while performing the seed operation. Error: An error occurred w
hile processing a request on server 'EX01'. Error: Couldn't open backup file handle for database 'HK' to server 'EX01'.
 Hresult: 0x50d. Error: A database backup is already in progress. Please verify that no other seeding or incremental re
seeding operations are started for this database, and then try the operation again by rerunning the Update-MailboxDatab
aseCopy cmdlet.. [Database: HK, Server: EX02.abc.com.hk]
    + CategoryInfo          : InvalidOperation: (:) [Update-MailboxDatabaseCopy], SeedInProgressException
    + FullyQualifiedErrorId : 2C8A09F0,Microsoft.Exchange.Management.SystemConfigurationTasks.UpdateDatabaseCopy

Tks
Avatar of AXISHK
AXISHK

ASKER

[PS] C:\Windows\system32>update-MailboxDatabaseCopy -Identity 'US\EX02' -SourceServer 'EX01' -Network 'exdag\DAGNetwork0
4' -DeleteExistingFiles
A source-side operation failed. Error An error occurred while performing the seed operation. Error: An error occurred while processing a request on server 'EX01'. Error: Couldn't open backup file handle for database 'US' to server 'EX01'.
 Hresult: 0x50d. Error: A database backup is already in progress. Please verify that no other seeding or incremental
reseeding operations are started for this database, and then try the operation again by rerunning the Update-MailboxDatabaseCopy cmdlet.. [Database: US, Server: EX02.ktl.com.hk]
    + CategoryInfo          : InvalidOperation: (:) [Update-MailboxDatabaseCopy], SeedInProgressException
    + FullyQualifiedErrorId : 4D5B2BB4,Microsoft.Exchange.Management.SystemConfigurationTasks.UpdateDatabaseCopy
Avatar of Simon Butler (Sembee)
To be clear - you have attempted to remove the copy of the database?
When you did that, what happened? It is obvious the databases have got in a mess, so you need to get down to a single copy, then clean up and add them back to the DAG.

Simon.
Avatar of AXISHK

ASKER

Current database copy on EX02 (standby) is shown below. Can you guide me how to fix the problem ?  The clean copy is on EX01 and I have tried the following command but it doesn't help.,  Great Tks

C:\Windows\system32>update-MailboxDatabaseCopy -Identity 'US\EX02' -SourceServer 'EX01' -Network 'exdag\DAGNetwork4' -DeleteExistingFiles

[PS] C:\Windows\system32>Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq "Failed"}

Name                                          Status          CopyQueue ReplayQueue LastInspectedLogTime   ContentIndex
                                                              Length    Length                             State
----                                          ------          --------- ----------- --------------------   ------------
US\EX02                                       FailedAndSus... 3430478   0                                  Failed
HK\EX02                                       FailedAndSus... 3445681   0                                  Failed
Avatar of AXISHK

ASKER

Try the following command but it doesn't help.... Any further advise ? Tks

[PS] C:\Windows\system32>update-MailboxDatabaseCopy -Identity 'US\EX02' -SourceServer 'EX01'
A source-side operation failed. Error An error occurred while running prerequisite checks. Error: Target database file
'E:\Exchange\Database\EX02DB1.edb' already exists. You must delete this database file before seeding can be performed.
You can use the DeleteExistingFiles parameter of the Update-MailboxDatabaseCopy cmdlet to delete the database file and
then perform seeding.. [Database: US, Server: EX02.abc.com.hk]
    + CategoryInfo          : InvalidOperation: (US:String) [Update-MailboxDatabaseCopy], SeedPrepareException
    + FullyQualifiedErrorId : 20FCC577,Microsoft.Exchange.Management.SystemConfigurationTasks.UpdateDatabaseCopy

[PS] C:\Windows\system32>update-MailboxDatabaseCopy -Identity 'US\EX02' -SourceServer 'EX01'
A source-side operation failed. Error An error occurred while performing the seed operation. Error: An error occurred w
hile processing a request on server 'EX01'. Error: Couldn't open backup file handle for database 'PY' to server 'EX01'.
 Hresult: 0x50d. Error: A database backup is already in progress. Please verify that no other seeding or incremental re
seeding operations are started for this database, and then try the operation again by rerunning the Update-MailboxDatab
aseCopy cmdlet.. [Database: US, Server: EX02.abc.com.hk]
    + CategoryInfo          : InvalidOperation: (:) [Update-MailboxDatabaseCopy], SeedInProgressException
    + FullyQualifiedErrorId : 4D5B2BB4,Microsoft.Exchange.Management.SystemConfigurationTasks.UpdateDatabaseCopy

[PS] C:\Windows\system32>
Avatar of AXISHK

ASKER

Does it cause the a "BackupinProgress" flag on the source database on EX01 that I need to explicitly clear before issuing the command ? Tks
[PS] C:\Windows\system32>Get-MailboxDatabase -Identity HK -Status | fl *backup*


BackupInProgress               : True
SnapshotLastFullBackup         : True
SnapshotLastIncrementalBackup  :
SnapshotLastDifferentialBackup :
SnapshotLastCopyBackup         :
LastFullBackup                 : 5/10/2015 11:15:47 AM
LastIncrementalBackup          :
LastDifferentialBackup         :
LastCopyBackup                 :
RetainDeletedItemsUntilBackup  : False
Stop trying to use the update commands - those aren't going to work.
Actually remove the copy - by clicking on the copy and choose remove.
Then on the server itself, clean up the files by deleting the database and logs.

Do you have a backup running on the database at the moment? If you do, let it finish. If not, force one to run before you do anything else.

Simon.
Avatar of AXISHK

ASKER

No backup is runnint currently.

Do you mean the update-command no longer supported in Exchange 2010 ?

Tks
ASKER CERTIFIED SOLUTION
Avatar of Simon Butler (Sembee)
Simon Butler (Sembee)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

Tks