Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Basic replication error log z/OS IBM Tivoli Directory Server Administration and Use for z/OS SC23-6788-00 |
|
A replication error log holds information about each error that occurs during basic replication. To avoid stalling basic replication, the failed replication operation is taken off the replication queue so that replication can continue with the next operation. Depending on the error, the LDIF of the failed operation is set aside (added) to the error log. There is one error log for each replica of a backend. The file name of the error log for a replica is specified by the ibm-slapdLog attribute in the replica entry for that replica within the backend. The file name must be unique across the LDAP server. If the attribute does not exist in the replica entry or the attribute has no value, no errors are logged or replication operations set aside during this backend's replication to that replica. In this case, basic replication to that replica stalls every time a failure occurs. The ibm-slapdReplMaxErrors attribute in the replica entry is set to control how many failed replication operations can be set aside each time the LDAP server is started before basic replication stalls for that replica. In a sysplex environment, consider having the basic replication error log file shared by the LDAP servers which are sharing the replicating backend. Only the LDAP server that is the owner of the backend in the sysplex performs replication and writes to the replication error log if an error occurs. However, if that LDAP server stops, another LDAP server in the sysplex becomes owner and handles basic replication. If the error log file is shared, then the new owner can add error information to the same error log rather than beginning a new error log. This centralizes error information and eliminates the need to look for error logs on each server that might have become the backend owner. The replication error log is used to correct basic replication
in two ways:
The following is an example of an error log entry:
The basic replication error log consists of three messages, each
using one or more lines:
All non-LDIF information is prefixed with the comment character # so that the error log can be run through ldapmodify to synchronize the two servers. Following is an example in which a replication error condition
is logged but no set-aside of the modification is needed:
There is no LDIF. Notice the third message indicates that request is being ignored. |
Copyright IBM Corporation 1990, 2014
|