Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Exchange Mailbox Database - ContentIndex State = Failed

Posted on 2013-06-06
16
Medium Priority
?
2,193 Views
Last Modified: 2013-08-21
Hey Guys,

Hope you can help with this one.

I am running Exchange 2010 with a DAG setup between 2 mailbox servers. The database on the passive server MBX02 had a state of "Failed and Suspended" after recreating the dag it went into a healthy state. And after a couple of hours the database automatically failed over to MBX02 making it the passive node and showed that the database which used to be Healthy on MBX01 was now in a Failed and Suspended state.

So I investigated a bit and cannot seem to get it in a healthy state again.

I tried a couple of EMS scripts in the hope of resolving the issue and these were the results:

Update-MailboxDatabaseCopy "Management 2.5GB\MBX01" -CatalogOnly
Update-MailboxDatabaseCopy "Management 2.5GB\MBX01" -CatalogOnly
Troubleshoot-CI.ps1 -Database "Management 2.5GB" -ActionDetectAndResolve
Troubleshoot-CI.ps1 -Database "Management 2.5GB" -ActionDetectAndResolve
Tried to force the database to suspend (Suspend-MailboxDatabaseCopy -Identity "Management 2.5GB\MBX01") and then resubmitted the Update-MailboxDatabaseCopy as mentioned above with the same result
Suspend-MailboxDatabaseCopy -Identity "Management 2.5GB\MBX01"
And I also ran the following and am very concerned that both databases (Active and Passive) has a failed ContentIndex State

Get-MailboxDatabaseCopyStatus -Identity "Management 2.5GB"
Get-MailboxDatabaseCopyStatus -Identity "Management 2.5GB"
Does anyone know how I can get the active copy in a Healthy ContentIndex State without moving every mailbox to a new database or doing a restore from backup?

As always your help would be greatly appreciated.

Thanks in advance :)
0
Comment
Question by:Hendrik Wiese
[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
  • 9
  • 7
16 Comments
 
LVL 15

Accepted Solution

by:
jrhelgeson earned 2000 total points
ID: 39227460
Try running a MB DB repair:
New-MailboxRepairRequest -Database "Management 2.5GB" -CorruptionType SearchFolder, AggregateCounts, ProvisionedFolder, FolderView
0
 
LVL 21

Author Comment

by:Hendrik Wiese
ID: 39232957
Hi there,

I ran the script above and the active database state has changed to crawling.

Results below:
New-MailboxRepairRequest -Database "Management 2.5GB" -CorruptionType SearchFolder, AggregateCounts, ProvisionedFolder, FolderView
Get-MailboxDatabaseCopyStatus -Identity "Management 2.5GB"
Get-MailboxDatabaseCopyStatus -Identity "Management 2.5GB"
So I guess I need to wait for it to rebuild now?
0
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 39233621
Yes, lets see what the repair results return. Check the event logs for any informational/error messages relating to the repair and db copy and post them here.
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 21

Author Closing Comment

by:Hendrik Wiese
ID: 39233821
I re-Updated Mailbox Database Copy and now have 2 healthy mailbox database copies. Thanks a lot jrhelgeson, much appreciated.

You have yourself a lovely day.

Cheers!!!
0
 
LVL 21

Author Comment

by:Hendrik Wiese
ID: 39233885
Both databases are in a failed ContentIndex State again. So any new suggestions would be great.
0
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 39234532
Well, that victory was short lived.

Run the following Exchange Powershell commands:
[PS] C:\>Get-MailboxDatabaseCopyStatus | fl name, contentindexstate

Name              : MB01\DB1
ContentIndexState : Failed

Name              : MB02\DB1
ContentIndexState : Healthy

Open in new window


Get the name of the database showing unhealthy/failed from the command above, (MB01\DB1) and use it in the following command:
[PS] C:\>Update-MailboxDatabaseCopy "MB01\DB1" -CatalogOnly

Open in new window

Then re-run the first command and it will show healthy.
[PS] C:\>Get-MailboxDatabaseCopyStatus | fl name, contentindexstate

Name              : MB01\DB1
ContentIndexState : Healthy

Name              : MB02\DB1
ContentIndexState : Healthy

Open in new window

0
 
LVL 21

Author Comment

by:Hendrik Wiese
ID: 39236764
Hi there,

Thanks again for your help, but I ran both scripts and the status is still in a "failed" state:

Update
Get
Any other suggestions?
0
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 39240291
I need the output from the following command:
Get-MailboxDatabaseCopyStatus | fl name, contentindexstate

The output above shows you ran the command on "Management 2.5GB\SVEXCHMBX-02", did you try running it on '-01'?

Update-MailboxDatabaseCopy "Management 2.5GB\SVEXCHMBX-02" -CatalogOnly

Update-MailboxDatabaseCopy "Management 2.5GB\SVEXCHMBX-01" -CatalogOnly
0
 
LVL 21

Author Comment

by:Hendrik Wiese
ID: 39240342
Hi,

As requested:

Get-MailboxDatabaseCopyStatus -identity "Management 2.5GB" | fl name, contentindexstate
Get-MailboxDatabaseCopyStatus -identity "Management 2.5GB" | fl name, contentindexstate
Update-MailboxDatabaseCopy "Management 2.5GB\SVEXCHMBX-02" -CatalogOnly
AND
Update-MailboxDatabaseCopy "Management 2.5GB\SVEXCHMBX-01" -CatalogOnly
Update-MailboxDatabaseCopy "Management 2.5GB\SVEXCHMBX-01" -CatalogOnly / SVEXCHMBX-02
I think the main problem here is the fact that both copies has a failed ContentIndex State

Thanks again for the help
0
 
LVL 21

Author Comment

by:Hendrik Wiese
ID: 39240369
0
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 39241204
Have you tried deleting the passive copy of the db, running the repairs on the single db instance, then re-creating the DAG?
0
 
LVL 21

Author Comment

by:Hendrik Wiese
ID: 39258723
Hi,

Yes I have tried all that.

Regards,
Hendrik Wiese
0
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 39260224
What about trying it without the -CatalogOnly command:

Update-MailboxDatabaseCopy "Management 2.5GB\SVEXCHMBX-02"
AND
Update-MailboxDatabaseCopy "Management 2.5GB\SVEXCHMBX-01"
0
 
LVL 21

Author Comment

by:Hendrik Wiese
ID: 39313428
Tried it an it fails with the following:

Update-MailboxDatabaseCopy
0
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 39320921
We should go back to what worked last. We should remove the copy from SVEXCHMBX-02 and clean all remnants off of that server.

Then run the mailbox repair on the copy that remains:
New-MailboxRepairRequest -Database "Management 2.5GB" -CorruptionType SearchFolder, AggregateCounts, ProvisionedFolder, FolderView

After the repair, run:
Update-MailboxDatabaseCopy "Management 2.5GB\SVEXCHMBX-01" -CatalogOnly

If we come back with no errors, then re-create the DAG.
If we still  run into problems, I'd just create a new mailbox database, and move the mailboxes from the old DB into the newly created one, then delete the old mailbox db.
0
 
LVL 21

Author Comment

by:Hendrik Wiese
ID: 39429153
I have tried everything above which did not resolve the issue. I logged a call with MS and we are busy trying to resolve the issue.

Thanks for all the help anyway.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

670 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