Partial replication
Partial replication is an advanced replication feature that replicates only the specified entries and a subset of attributes for the specified entries within a subtree. The entries and attributes that are to be replicated are specified by an LDAP administrator with the appropriate authority. See Administrative group and roles for more information about administrative role authority. Using partial replication, an administrator can enhance the replication bandwidth depending on the deployment requirements. With partial replication support, an LDAP administrator can allow entries that have certain object class values to be replicated to a consumer server. For example, entries that have an objectclass of person and only the cn, sn, userPassword attributes are allowed to be replicated but not the description attribute.
The replication filter entry can be specified in each individual replication agreement entry in the ibm-replicationFilterDN attribute value. For more information, see Replication agreements. A replication filter entry has a structural objectclass of ibm-replicationFilter. For the required attribute values for the ibm-replicationFilter objectclass., see Table 1. If an ibm-replicationFilterDN attribute value is not a valid replication filter entry or does not exist, replication for the replication agreement is suspended. If replication from the replication agreement is suspended, the replication filter entry must be added to the directory or the ibm-replicationFilterDN attribute value must be removed from the replication agreement entry. When replication is suspended for the replication agreement, it can be resumed by using the Control replication extended operation in the LDAPEXOP utility. For more information about the LDAPEXOP utility, see LDAPEXOP (ldapexop utility) in z/VM: TCP/IP Planning and Customization.
The attributes that are to be replicated are specified using a replication filter in the ibm-replicationFilterAttr attribute. A set of attributes pertaining to an object class constitutes a replication filter. The list of attributes selected for an object class can either be a part of an inclusion list or an exclusion list. An inclusion list is list of attributes that are selected for replication while an exclusion list is list of attributes that are not selected for replication. For the required attribute values for the format of the ibm-replicationFilterAttr attribute values, see Table 1.
| Attribute description and example |
|---|
| cn Common name of the replication filter entry. This attribute does not affect advanced replication configuration. Example:
|
| ibm-replicationFilterAttr A multi-valued attribute that specifies a replication filter. A replication filter is based on the object class values of entries that are replicated. The filter can be an inclusion or exclusion filter. The following
is the replication filter format:
where,
The following attributes
are always replicated, irrespective of their presence in the exclusion
list:
Notes:
Example:
|
- Entries with an objectclass of person only have their cn and sn attribute values replicated.
- Entries with other objectclasses are not replicated.