LDAP Replication and Indexing on DS5.1SP4

Dear experts,

>

We are helping customer to setup a replica directory server that we will replicate data from a master directory server. The master directory server contains 13GB data with index built. We found that search operation failed even we initialized data from master to replica. We need to rebuild index in replica node in order to make search operations work. We have several questions would seek for some help.

1. Is it a must to rebuild index at replica node after initializing data from master ldap console?

2. If indexes are created in consumer node before initialize consumer, do we need to rebuild indexes after consumer initialization?

3. If we export data (db2ldif -r) from master and import data (ldif2db) to replica, do we need to rebuild index at replica node in order to make ldapsearch work?

4. Which one is the best practice?

Any help would be appreciated. Thx.

Kindly regards,

AY

[969 byte] By [anyiua] at [2007-11-27 6:11:50]
# 1

Hi

1. If the index was configured prior to the initialization, it does not need to be rebuilt. However, DS 5.1(SP4) is a pretty old version of DS and there might still be some bug in the indexing code (I know some got fixed in 5.2patch2 or 3).

2. No you shouldn't.

3. No you do not need.

4. Best practice is to configure the Consumer replica before initializing. This should bring the Consumer replica up to date and fully operational.

Another best practice is to use the most recent version of Directory Server (6.0).

Regards,

Ludovic

ludovicpa at 2007-7-12 17:18:25 > top of Java-index,Web & Directory Servers,Directory Servers...