Tivoli Directory Integrator, Version 7.1.1

Sun Directory Change Detection Connector

The Sun Directory Change Detection Connector is a specialized instance of the LDAP Connector; this connector was previously called the Netscape/iPlanet Changelog Connector.

In Sun/iPlanet Directory Server 5.0, the format of the changelog was modified to a proprietary format. In earlier versions of iPlanet Directory Server, the change log was accessible through LDAP. Now the changelog is intended for internal use by the server only. If you have applications that must read the changelog, you will need to use the iPlanet Retro Change Log Plug-in for compatibility with earlier versions.

Since it is not always possible to run the Sun/iPlanet Directory Server in Retro Changelog mode, the Connector is able to run in two different Delivery Modes:

  1. Changelog mode - in this mode the Connector will iterate through the changelog (enabled by the iPlanet Retro Change Log Plug-in) and after delivering all Entries it will poll for new changes or use change notifications
  2. Realtime mode - in this mode, only changes received as notifications will be delivered and offline changes will be lost. The Connector will not use the changelog in this mode. This delivery mode is necessary for Sun/Netscape/iPlanet Servers that do not support a changelog

This Connector supports Delta Tagging, in two different operation modes:

The Connector will detect modrdn operations in the Server's changelog, see Detect and handle modrdn operation for more information.

Note:
This component is not available in the Tivoli® Directory Integrator 7.1.1 General Purpose Edition.

Attribute merge behavior

In older versions of Tivoli Directory Integrator, in the Sun Directory Change Detection Connector merging occurs between Attributes of the changelog Entry and changed Attributes of the actual Directory Entry. This creates issues because you cannot detect the attributes that have changed. The Tivoli Directory Integrator 7.1.1 version of the Connector has logic to address these situations, configured by a parameter: Merge Mode. The modes are:

Delta tagging is supported in all merge modes and entries can be transferred between different LDAP servers without much scripting.

Note that in Realtime mode when the LDAP search base is different than "cn=changelog", the Connector cannot determine which attributes of Directory Entry are changed so no matter what value the Merge Mode parameter has, the output entry will still be the same. Of course, in Realtime mode when the server supports changelog and search base is set to "cn=changelog" the output entry is merged according to the chosen Merge Mode.

Configuration

The Connector needs the following parameters:

LDAP URL
The LDAP URL for the connection (ldap://host:port).
Login username
The LDAP distinguished name used for authentication to the server. Leave blank for anonymous access.
Login password
The credentials (password).
Iterator State Key
Specifies the name of the parameter that stores the current synchronization state in the User Property Store of the IBM® Tivoli Directory Integrator. This must be a unique name for all parameters stored in one instance of the IBM Tivoli Directory Integrator User Property Store.

Pressing the Delete button causes this state information to be deleted from the User Property Store.

Start at changenumber
Specifies the starting changenumber. Each Changelog entry is named changenumber=intvalue and the Connector starts at the number specified by this parameter and automatically increases by one. The special value EOD means start at the end of the Changelog.

Note that this parameter is only used when the Iterator State is blank or not saved.

Pressing the Query button causes the first and last change numbers to be retrieved from the Server.

Authentication Method
Type of LDAP authentication. Can be one of the following:
Use SSL
If Use SSL is true, the Connector uses SSL to connect to the LDAP server. Note that the port number might need to be changed accordingly.
ChangeLog/Notifications Base
Specifies the search base where the Changelog is kept. The standard DN for this is cn=changelog. Also known as Notification Context for 'Realtime' Delivery Mode.
Extra Provider Parameters
Allows you to pass a number of extra parameters to the JNDI layer. It is specified as name:value pairs, one pair per line.
State Key Persistence
Governs the method used for saving the Connector's state to the System Store. The default and recommended setting is End of Cycle, and choices are:
After read
Updates the System Store when you read an entry from the Sun Directory Server change log, before you continue with the rest of the AssemblyLine.
End of cycle
Updates the System Store with the change log number when all Connectors and other components in the AssemblyLine have been evaluated and executed.
Manual
Switches off the automatic updating of the System Store with this Connector's state information; instead, you will need to save the state by manually calling the iPlanet Directory Server Changelog Connector's saveStateKey() method, somewhere in your AssemblyLine.
Merge Mode
Governs the method used for merging attributes of the Changelog Entry and changed attributes of the actual Directory Entry. The default is Return only changed data, and choices are:
Merge changelog and changed data
The Connector merges the attributes of the Changelog Entry with changed attributes of the actual Directory Entry. This option selects the behavior of older versions of Tivoli Directory Integrator and maintains compatibility with earlier versions.
Return only changed data
Returns only the modified or added attributes.
Return both
Returns entry with Changelog Attributes prefixed by "changelog." plus changed attributes of the Directory Entry.
Delivery Mode
Specifies whether to use changelog or (realtime) notifications entries. If the LDAP Server doesn't maintain a changelog, Realtime is the only applicable option. The default is Changelog.
Use Notifications
Specifies whether to use notification when waiting for new changes in Sun Directory Server. If enabled, the Connector will not sleep or timeout (and corresponding parameters are ignored) but instead wait for a Notification event from the Sun Directory Server.
Batch retrieval
Specifies how searches are performed in the changelog. When unchecked, the Connector will perform incremental lookups (backward compatible mode). When checked, and the server supports "Sort Control", searches will be performed with query "changenumber>=some_value", corresponding to the last retrieval you made. By default, this option is unchecked.
Timeout
Specifies the number of seconds the Connector waits for the next Changelog entry. The default is 0, which means wait forever.
Sleep Interval
Specifies the number of seconds the Connector sleeps between each poll. The default is 60.
Detailed Log
If this field is checked, additional log messages are generated.
Note:
Changing Timeout/SleepInterval values will automatically adjust its peer to a valid value after being changed (for example, when timeout is greater than sleep interval the value that was not edited is adjusted to be in line with the other). Adjustment is done when the field editor looses focus.

See also

Standard Changelog in the Sun Directory Server,
Retro Changelog in the Sun Directory Server,
LDAP Connector,
Active Directory Change Detection Connector,,
IBM Directory Server Changelog Connector
z/OS LDAP Changelog Connector.
[ Top of Page | Previous Page | Next Page | Contents | Terms of use | Feedback ]
(C) Copyright IBM Corporation, 2003, 2012. All Rights Reserved.
IBM Tivoli Directory Integrator 7.1.1