Solved

How do I create a copy of Exchange 2010 database via a Database Availability Group?

Posted on 2010-08-30
8
2,896 Views
Last Modified: 2012-05-10
I recently installed Exchange 2010 Standard on two virtual servers running Windows Server 2008 R2 Enterprise and created a Database Availability Group (DAG).  Under my Exchange Management Console, in Organization/Mailbox/Database Management, I see both Mailbox Databases listed.  However, when I click on my primary mailbox database, I see only one database copy listed in the bottom window (with a copy status of Mounted). So I tried using EMS to do an Add-MailboxCopy which failed with:

(PID 5592, Thread 24) Task Add-MailboxDatabaseCopy writing error when processing record of index 0. Error: Microsoft.Exchange.Cluster.Replay.SeedInProgressException: A server-side seed operation has failed. Error: An error occurred while performing the seed operation, which may indicate a problem with the source disk. Error: An error occurred while attempting to access remote resources. Error: An error occurred while processing a request on server 'EXCHANGE2010'. Error: Database '68a9c054-b1a6-4e10-8df9-948869b045be' was not active on source server 'EXCHANGE2010'.

(Exchange2010 is my primary server’s name from whence this operation was done.)  All services are active and except for this error appearing in the event log, no other errors are listed.

When I click on Add Mailbox Database Copy in EMC, it shows both my servers stating they already have a copy.  But when I double click on that database, the properties show that Seeding is False and Never is given for “Latest available log time”, “Last inspected log time”, “Last copied log time”, and “Last replayed log time”.  Therefore, it appears that there is no real copy or redundancy in place.  Shouldn’t both servers participating in the replication be listed under the server’s database?  And what should the Copy Status be listed as? (Healthy?)  How do I get a copy created?
Thank you.
0
Comment
Question by:ejefferson213
  • 4
  • 4
8 Comments
 
LVL 32

Expert Comment

by:endital1097
ID: 33559790
remove the copies from the management console
then attempt to create the copy for the database while connected to the source server (current server where the database is mounted)
0
 

Author Comment

by:ejefferson213
ID: 33560310
I seem to be caught in an "in-between" state.  There are no copies listed for the database in the EMC and when I try to remove copies using the EMS, it says:

The database "Mailbox Database 2062794021" is currently hosted on server "EXCHANGE2010". Use Move-ActiveMailboxDatabase to move the active copy of the database to a different server. You can use the Remove-MailboxDatabase task if this is the only copy.  

When I try to move it, I get:

An Active Manager operation failed. Error: The database action failed. Error: An error occurred while trying to validate the specified database copy for possible activation. Error: Database copy 'Mailbox Database 2062794021' is suspended on server 'Exchange2.AA.com'. Reason: The Microsoft Exchange Replication service has suspended database copy 'Mailbox Database 2062794021' as part of the initial seeding operation. [Database: Mailbox Database 2062794021, Server: Exchange2.AA.com]

On the second Exchange server (Exchange2), I was able to create a copy of its database onto Exchange2010.  But this whole thing started by me trying to create a copy of the database on Exchange2010 onto Exchange2.  
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33560845
highlight the database in the EMC and hit refresh, i have seen it not appear until the refresh is hit
0
 

Author Comment

by:ejefferson213
ID: 33562261
Thanks for the suggestion but I'm afraid that didn't work.  As I mentioned, on my secondary Exchange server, I made a copy onto my primary server and that worked.  When I went into my primary server, the copy wasn't listed until I did the refresh you spoke of but there's still no copy showing in my primary Exchange server to the backup.  
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 32

Expert Comment

by:endital1097
ID: 33563290
so is the issue you are trying to backup an active and passive database from one server?
0
 

Author Comment

by:ejefferson213
ID: 33566762
I have two servers and my intention was to simply mirror the contents of one database onto the other.  (the secondary server is merely a backup for the primary) However, in this test, since I couldn't get the primary to backup onto the secondary, just to test it out, I did the reverse. I created a copy of my secondary database onto the primary and it worked.  I was able to "demote" the active copy on the secondary server and promote the copy on the primary server and get to the mailbox I used to test with.  So I proved that it (DAG) works but I just can't get it to work when I initiate it from the primary server. (creating a copy of it onto the secondary server).  I'm going to remove the DAG and start over again to see if that helps.  (I've got nothing to lose!)  :)
0
 
LVL 32

Accepted Solution

by:
endital1097 earned 500 total points
ID: 33566947
ok, for a minute i thought you were trying to have your backup software backup both databases from the same server
typically the backup software can only backup either online or offline databases at one time, not both
0
 

Author Closing Comment

by:ejefferson213
ID: 33567980
So finally, I did a Remove-MailBoxDatabaseCopy (which worked) and then tried to add a database copy only to end up with the original problem.  I logged off, logged back on and there it was, my mailbox copy which was suspended but I resumed it and it was Healthy.  How does one explain that; but the problem seems to be resolved.  Thanks for your help!
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now