question

Marcus-9726 avatar image
0 Votes"
Marcus-9726 asked Marcus-9726 commented

Exchange 2013 DAG All Active and Passive databases content index "Unknown"

I have 2 nodes Exchange 2013 Cu 17 in DAG. When getting mailbox database copy status it shows that both active and passive copy is having "Unknown" in content index status. I was unable to update the database catalog since none of them has healthy copy.

I searched around few article and saw the following options that I could try:

  1. Check if ContentSubmitters group exist in AD, if not then create it and assign Full control to administrators and network services accordingly. Restart Exchange search host services

  2. Rebuild the database content indexes

As for option no.2, since my environment is a 2 node DAG, can I still rebuild the content index on Active node, and then update the database catalog on passive copy? Because what I can see people mostly saying that this solution is for standalone Exchange server which is not a member of DAG.

Thank you.



office-exchange-server-administrationoffice-exchange-server-itprooffice-exchange-server-deploymentoffice-exchange-server-devoffice-exchange-server-ha
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

joyceshen-MSFT avatar image
0 Votes"
joyceshen-MSFT answered Marcus-9726 commented

Hi @Marcus-9726

Yes, like you said above, if content index of all database including active database and passive database copy is unhealthy. Rebuild content index doesn't resolve this problem. Please check if there is any error log recorded in the application log through event viewer as well.

Below is the solution provided in a thread which discussed about the similar issue as yours: Exchange 2013 Content Index status "unknown",

Recreate the Search Foundation from scratch

  • Stop and disable the search services and rename the Data Folder "C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data"

  • Open power shell and navigate to C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Installer

  • Run the command : .\installconfig.ps1 -action I -dataFolder "c:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data"

  • Output should be like

[PS] C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Installer>.\installconfig.ps1 -action I -dataFolder "C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data"
Configuring Search Foundation for Exchange....
Successfully configured Search Foundation for Exchange

  • Rename the Index files for the database that are active on the node .

  • Start the Search Services

Removed a configuration entry that refers to the ContentSubmitters group. This entry is present in four XML files. Each file is called WcfConfigurator.

  • you can find each file in the following folder: %ExchangeInstallPath%\Bin\Search\Ceres\HostController\Data\Nodes\Fsis\NODENAME\Configuration\Local

  • Here, “%ExchangeInstallPath%” is the Exchange installation root path, and the placeholder NODENAME represents one of the following names. (There is one name for each of the four files that are to be edited.)

AdminNode1
ContentEngineNode1
IndexNode1
InteractionEngineNode1

  • These are text files. You can use Notepad or any other convenient plain text editor to change them. Make sure that you make only the change that is described here.

  • Each file contains at most one line that contains the following: <AuthorizedRole>ContentSubmitters</AuthorizedRole>

  • Remove this line, and then save the file. Repeat this operation for each of the four files, and then restart the Microsoft Exchange Search Host Controller service.

  • Found the Index files in Crawling state as expected instead of Unknown.

Once all the Active copies are healthy and still the copies in failed and suspended state, then you can reseed the catalog files only using the below command
Update-MailboxDatabaseCopy -Identity BD\MBserver –CatalogOnly

In addtion, I mentioned that you Exchange server version in old now, it's better to upgrade your Exchange server to a newer version to get better support. Exchange Server 2013, and some tips for your upgrade

The general process for applying upgrades to a DAG member is as follows:
1. Put the DAG member in maintenance mode.
2. Install the update.
3. Take the DAG member out of maintenance mode and put it back into production.


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Joyce,

After some troubleshooting the active node is now healthy but 2 other nodes are still showing "Unknown", I've tried to reseed the catalog but showing error "Microsoft Fast Search" & "Host Controller" not running.

I've restarted the services but still having the same issue.

0 Votes 0 ·

Hi,

Thanks for providing further information, could you please share the result running this command?

Get-MailboxDatabaseCopyStatus * | sort name | Select name,status,contentindexstate

For an Exchange server that is a member of a database availability group the content index can be fixed by reseeding it from a healthy copy.

For example: Update-MailboxDatabaseCopy DB05\EX2016SRV2 -CatalogOnly -BeginSeed


Detailed information here: Repairing a Failed Content Index in Exchange Server 2016 (applied to 2013 as well)


0 Votes 0 ·

Hi @Marcus-9726

Any progress about your issue so far?

0 Votes 0 ·

Hi @joyceshen-MSFT

I've tried to restart the Microsoft Exchange Search & Search Host Controller services in the active Exchange server and now the Active database copies content index showing "Failed" and some are "FailedandSuspended". For all other passive copies they were showing "Unknown".

I've tried to create ContentSubmitters security group in root & child domain as well with Administrators & Network Service Full Control. Restarted the Search & Search Host Controller services again but still showing the same content index status.

0 Votes 0 ·
Show more comments

Thanks a lot!

After rebuilding the search foundation on affected server, the database copies became Failed to Healthy.

0 Votes 0 ·