MSExchangeGuru.com

Learn Exchange the Guru way !!!

 

Cannot Activate Database Copy: Content Index Catalog Files in Failed State

This post address an issue where the index status shows status “failed” with Exchange 2010 DAG

Check the Database copy status on both the nodes

get-mailboxdatabasecopystatus -server ABCAX123

Check the content index status for any failed database

get-mailboxdatabasecopystatus -server XYZAX123

Check the content index status for any failed database

Name Status CopyQueue Length ReplayQueue ContentIndex State
XYZAX123-DB08-0125\XYZAX123 Healthy 0 0 Healthy
XYZAX123-DB09-0125\XYZAX123 Healthy 0 0 Healthy
XYZAX123-DB41-0125\XYZAX123 Healthy 0 0 Healthy
XYZAX123-DB42-0125\XYZAX123 Healthy 0 0 Healthy
XYZAX123-DB43-0125\XYZAX123 Healthy 0 0 Healthy
XYZAX123-DB44-0125\XYZAX123 Healthy 0 0 Healthy
XYZAX123-DB45-0125\XYZAX123 Healthy 0 0 Healthy
XYZAX123-DB46-2000\XYZAX123 Healthy 0 0 Healthy
XYZAX123-DB47-2000\XYZAX123 Healthy 0 0 Healthy
XYZAX123-DB81-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB82-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB85-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB83-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB84-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB86-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB87-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB90-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB88-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB89-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB10-0125\XYZAX123 Healthy 0 0 Failed
XYZAX123-DB91-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB76-MISC\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB93-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB94-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB95-0125\XYZAX123 Mounted 0 0 Healthy
XYZAX123-DB92-0125\XYZAX123 Mounted 0 0 Healthy

Before following the below steps make sure the Copy queue length and Replay Queue length is 0.

  1. Login to the server in which the database got affected.
  2. Open Powershell
  3. Navigate to script folder (default will be on D:\Program Files\Microsoft\Exchange Server\V14\Scripts) In this case I have installed the application on D drive, once you have navigated to script folder type Troubleshooting-CI.ps1

Follow the steps below to check the database

[PS] D:\Program Files\Microsoft\Exchange Server\V14\Scripts>.\Troubleshoot-CI.ps1 -Database XYZAX123-DB10-0125

Name                        IsDeadLocked        CatalogStatusArray

—-                              ————             ——————

XYZAX123                  False                 {XYZAX123-DB10-0125\XYZAX123}

This shows the defective database which has the content Index in FAILED status

How to fix this?

Type the command:

[PS] D:\Program Files\Microsoft\Exchange Server\V14\Scripts>.\Troubleshoot-CI.ps1 -Database XYZAX123-DB10-0125 –Action  DetectAndResolve

This will complete the seeding process in a few minutes. Once the seeding process is completed

Execute the following command.

Get-mailboxdatabasecopystatus –identity XYZAX123-DB10-0125

[PS] D:\Program Files\Microsoft\Exchange Server\V14\Scripts>.\Troubleshoot-CI.ps1 -Database XYZAX123-DB10-0125 –Action  DetectAndResolve

This will complete the seeding process in a few minutes. Once the seeding process is completed

Execute the following command.

Get-mailboxdatabasecopystatus –identity XYZAX123-DB10-0125

Name                                                                           Status          CopyQueue ReplayQueue   ContentIndex

                                                                                     Length        Length              Length            State

—-                                                                               ——          ———            ———–          ————

XYZAX010-DB10-0125\ XYZAX123                 Healthy           0                       0                     Healthy

XYZAX010-DB10-0125\ ABCAX123                 Mounted         0                       0                     Healthy


Swaminathan
Team @ MSExchangeGuru

4 Responses to “Cannot Activate Database Copy: Content Index Catalog Files in Failed State”

  1. Rebeca Says:

    Thank you for this post. I could add this information to my build document.

  2. ali Says:

    Hi,
    i have exchange 2013 Cu3 DAG of 2 Server, my Content Index State: Unknown on one server.. can you help.
    i try to fix it by stoping the search service and update-mailboxdatabasecopy db\servername -catelogonly command etc.
    Regards

  3. Prabhat Nigam Says:

    @Ali
    Stop search service
    Remove the current catalog files
    Start search service

  4. ali Says:

    Hi,
    this method will work for DAG ? i think this method is just for single server.
    i have a dag and one of the member Content Index State: Unknown not faild or suspended state.
    thanks

Leave a Reply

Categories

Archives

MSExchangeGuru.com