DATABASE

Exchange Server 2010 : Deploying a Database Availability Group (part 2) - Suspending and Reseeding a Database

2/16/2011 9:12:08 AM

Suspending and Reseeding a Database

In the event that a replica of a mailbox database should become out of sync with the primary copy, it becomes necessary to reseed the database in order to resume the replication of log files. There are a few situations that can cause the need to sync the databases:

  • Bringing a replica back online after extended downtime

  • Corruption of log files

  • Corruption of a database

  • An extended WAN outage

The easiest way to determine if a database needs to be resynchronized is to look at its current replication status:

1.
Launch Exchange Management Console.

2.
Expand Organization Configuration.

3.
Click Mailbox.

4.
In the middle pane, click the Database Management tab.

5.
Click the database whose replication status you want to check.

6.
In the lower pane, look at the Copy Status on the replicas in question. If they are in a Failed state, they will likely need to be reseeded.

Note

If you have a large number of mailbox databases, it may behoove you to take advantage of the filter function. This allows you to match based on Master, Mounted, Mounted on Server or Name. You can use the browse button to look for specific Exchange Server names to match against.


If the database is found to be in a failed state, it can be reseeded in the following manner:

1.
Launch Exchange Management Console.

2.
Expand Organization Configuration.

3.
Click Mailbox.

4.
In the middle pane, click the Database Management tab.

5.
Click the database whose replication status you wish to fix.

6.
In the lower pane, click the database replica that is in a failed state.

7.
Right-click the database and select Suspend Database Copy. Enter an optional comment if you want, then click Yes.

8.
The Copy Status should update to read Suspended (see Figure 7).

Figure 7. Viewing the Summary Copy Status.

9.
Right-click the suspended database and select Update Database Copy.

10.
Enter a hostname to specify which cluster networks should be used for seeding (see Figure 8). Click Add.

Figure 8. Updating the database copy.

11.
Click Update.

12.
The update might take a while depending on how big the database is and how many log files have been created since the database was last in sync (see Figure 9).



Figure 9. Checking status of the Update Database Copy Wizard.

13.
When the wizard finishes, click Finish.

14.
Refresh the view in EMC, and the database should now have a status of Healthy (see Figure 10).

Figure 10. Viewing the Summary Copy Status.

The same process of suspending and updating the Database Copy can be performed via Powershell:

  1. Launch Exchange Management Shell.

  2. Type Suspend-MailboxDatabaseCopy–Identity DatabaseName\ReplicaServer where DatabaseName and ReplicaServer are the names of the DB you want to update and the server holding the replica that is to be reseeded. Answer Yes when prompted.

  3. Type Update-MailboxDatabaseCopy–Identity DatabaseName\ReplicaServer–DeleteExistingFiles. Answer Yes when prompted (see Figure 11).

    Figure 11. Updating from Exchange Management Shell.
Other  
  •  Database Availability Group Replication in Exchange Server 2010 : Understanding Database Availability Groups
  •  SQL Server 2008 : Managing Query Performance - Optimizing for Specific Parameter Values
  •  SQL Server 2008 : Managing Query Performance - Running the Standard Performance Reports
  •  SQL Server 2008 : Explaining XML - Well-Formed XML
  •  SQL Server 2008 : Explaining XML - XML Schema
  •  SQL Azure : Tuning Techniques (part 5) - Provider Statistics & Application Design
  •  SQL Azure : Tuning Techniques (part 4) - Indexed Views & Stored Procedures
  •  SQL Azure : Tuning Techniques (part 3) - Indexing
  •  SQL Azure : Tuning Techniques (part 2) - Connection Pooling & Execution Plans
  •  SQL Azure : Tuning Techniques (part 1) - Dynamic Management Views
  •  Synching an On-Premises Database with SQL Azure
  •  SQL Server 2008 : Managing Query Performance - Finding Similar Queries
  •  SQL Server 2008 : Correlating Profiler and the Performance Monitor
  •  SQL Server 2008 : Explaining XML - XML Indexes
  •  SQL Server 2008 : Explaining XML - XQuery and XPath
  •  SQL Azure : Managing a Shard (part 2) - Working with Partial Shards
  •  SQL Server 2008 : OPENXML, sp_xml_preparedocument, and sp_xml_removedocument
  •  SQL Server 2008 : Retrieving and Transforming XML Data
  •  SQL Azure: Building a Shard (part 4) - Updating and Deleting Records in the Shard & Adding Records to the Shard
  •  SQL Azure: Building a Shard (part 3) - Reading Using the Shard & Caching
  •  
    Most View
    Ditch Your Laptop For Your Phone (Part 5)
    BitFenix Prodigy - Undoubtedly The Best
    Which Is The Real Best-Seller Ultrabook? (Part 1) - Asus Zenbook Prime, Acer Aspire S5, HP Folio 13-2000
    Top 10 Cameras - Jan 2013
    The End Of The Beginning Or The Beginning Of The End? (Part 1)
    SharePoint 2010 : Business Intelligence - Excel Services (part 1) - Accessing Excel Services Over REST
    Powered By Windows (Part 2) - Toshiba Satellite U840 Series, Philips E248C3 MODA Lightframe Monitor & HP Envy Spectre 14
    Space Tech - The Future Of Ultra HD Explained
    Gigabyte GA-F2A85X-UP4 Mainboard & AMD A10-5800K Processor Review (Part 8)
    Reference 3A Episode Loudspeaker
    Top 10
    G-360 And G-550 Power Supply Devices Review (Part 4)
    G-360 And G-550 Power Supply Devices Review (Part 2)
    Canon IXUS 140 Camera - Great Color Reproduction
    Nikon Coolpix S5200 Camera - 10fps Continuous Shooting Mode
    Corsair Neutron GTX 240GB - A Fast Performing SSD
    G-360 And G-550 Power Supply Devices Review (Part 3)
    G-360 And G-550 Power Supply Devices Review (Part 1)
    OCZ Vector 256GB - One Of The Dominant Names In SSD
    Don’t Pay For Office 2013 (Part 2)
    Don’t Pay For Office 2013 (Part 1)