In this type of monitoring, Directory Proxy Server performs a search on each connection to each data source at a regular interval. In this way, Directory Proxy Server detects closed connections and prevents connections from being dropped because of inactivity.
You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
Set the monitoring mode for the data source to proactive.
$ dpconf set-ldap-data-source-prop -h host -p port datasource monitoring-mode:proactive
Set the time interval after which Directory Proxy Server sends a request to a data source to prevent connections from being dropped.
$ dpconf set-ldap-data-source-prop -h host -p port datasource \ monitoring-inactivity-timeout:time
By default, the inactivity timeout is 120 seconds.
(Optional) Configure the proactive monitoring to bind as a specific user.
$ dpconf set-ldap-data-source-prop ldap-data-source monitoring-bind-dn:uid=user-id monitoring-bind-pwd-file:password-file
Replace the user-id with a valid dn such as uid=bjensen,dc=example,dc=com and password-file with a path to the file containing password.
By default, the bind is performed as anonymous, that is, both the monitoring-bind-dn and monitoring-bind-pwd attributes are set to none.
Configure an alert to be sent when a data source is detected as offline or online, as described in Configuring Administrative Alerts for Directory Proxy Server.