Exchange 2010 database corruption in DAG layout

Hi all,

Suppose you have a DAG that comprises two mailbox server.  One server hosts the active copy of a DB and the other hosts the passive copy.

If the active copy of the DB becomes corrupt for whatever reason be it corrupt log files or general DB corruption (and not due to a problem with the underlying hardware) would Exchange detect the corruption in the active copy first and make sure it didn't happen to the passive copy?

Having said that I suppose the whole point in having a DAG is the seamless switchover in event of a db failure so the passive copy does need to always be as up to date as the active copy.

Does that even make sense?!!

Thanks in advance
Who is Participating?
ckeshavSr. Infrastructure SpecialistCommented:
Convert the Get-MailboxStatistics output from Bytes to MB or GB in Exchange 2007.

Exchange 2003 Administrators are used to using the old Exchange Console to view the size of the mailboxes in your Exchange organization.  The Exchange 2007 EMC unfortunately doesn’t have this feature anymore.  Here’s a little PowerShell script that will translate the output of the Get-MailboxStatistics command from Bytes to MB or GB.
For a single user:

    Get-MailboxStatistics <USERNAME> |  select-object DisplayName, {$_.TotalItemSize.Value.ToMB()}
    Get-MailboxStatistics <USERNAME> |  select-object DisplayName, {$_.TotalItemSize.Value.ToGB()}
    Get-MailboxStatistics <USERNAME> |  select-object DisplayName, {$_.TotalItemSize/1.0MB}
    Get-MailboxStatistics <USERNAME> |  select-object DisplayName, {$_.TotalItemSize/1.0GB}

To get the script to work for all users just add the “Get-Mailbox” command.
For all users:

    Get-Mailbox | Get-MailboxStatistics |  select-object DisplayName, {$_.TotalItemSize.Value.ToMB()}

To export to a csv:

    Get-Mailbox | Get-MailboxStatistics |  select-object DisplayName, {$_.TotalItemSize.Value.ToMB()} | export-csv -path c:\path\filename.csv
ysjwandaAuthor Commented:
I think you may have answered the qrong question?!!
ysjwandaAuthor Commented:
Yes!  That's exactly what I was looking for.  many thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.