Entries in LDIF file are not replicated
When you use the idsldif2db command with the -r yes option, you might find that entries are not being replicated. The -r yes option indicates that the entries in the file are to be replicated. Use the troubleshooting information to resolve the problem.
For the -r yes option to work for a server, the server must have a server ID defined in the configuration file. The server ID is created the first time that the server starts if it is not already defined. In addition, the replication topology entries (especially the replication subentries) defined in the directory information tree in the LDIF file must match the server ID for the server to be able to replicate.
Ways in which problems can occur include the following situations:
- The server ID is not defined in the configuration file. This problem can happen when the idsldif2db command is used immediately after an instance is newly created and before the server is started for the first time.
- The server ID is defined in the configuration file, but the replication subentries (attribute ibm-replicaServerId) defined in the directory information tree in the LDIF file do not match the server ID in the configuration file. If you change the ibm-replicaServerId attribute in the LDIF file to match the server ID in the configuration file and then run the idsldif2db command with the -r yes option, replication occurs correctly.