Sun Java System Directory Server Enterprise Edition 6.2 Administration Guide

ProcedureTo Monitor a Data Source by Periodically Establishing Dedicated Connections

Directory Proxy Server creates a dedicated connection to a data source if there have been no requests to or responses from the data source for a specified interval.

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.

  1. Set the monitoring mode for the data source to proactive.


    $ dpconf set-ldap-data-source-prop -h host -p port datasource monitoring-mode:proactive
  2. Set the maximum time for which Directory Proxy Server detects no activity from a data source before establishing a dedicated connection.


    $ dpconf set-ldap-data-source-prop -h host -p port datasource \
     monitoring-inactivity-timeout:time
    

    By default, the inactivity timeout is 120 seconds.

  3. 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.