?
Solved

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

Posted on 2010-08-30
8
Medium Priority
?
2,920 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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
 
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 1500 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In-place Upgrading Dirsync to Azure AD Connect
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

770 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