HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

for an unspecified time or closed after a specific period of time. It is faster to keep the
connections open, but it uses more resources. For slow connections, it may be desirable
to limit the connection time. A value of 0 indicates there is no limit. By default, the value
is set to 0.
2.4.7.1.2 Managing connections to the remote server from the command line
Use ldapmodify to add connection attributes to the database link entry.
The default connection management attributes are stored in the following entry:
cn=default instance config,cn=chaining database,cn=plugins,cn=config
The connection management attributes for a specific database link are stored in the following entry:
cn=database_link,cn=chaining database,cn=plugins,cn=config
The connection management attributes specified in this entry take precedence over the attributes
specified in the cn=default instance config entry.
Table 6 Database link connection management attributes
DescriptionAttribute name
Maximum number of LDAP connections that the database link establishes
with the remote server. The default value is 20 connections per database link
instance.
nsOperationConnectionsLimit
Maximum number of TCP connections that the database link establishes with
the remote server. The default value is 3 connections.
nsBindConnectionsLimit
Maximum number of outstanding operations per LDAP connection. The default
value is 2 operations per connection.
nsConcurrentOperationsLimit
Maximum number of outstanding bind operations per TCP connection. The
default value is 10 outstanding bind operations.
nsConcurrentBindLimit
Number of times a database link attempts to bind to the remote server. A
value of zero (0) indicates that the database link will try to bind only once.
The default value is 3 attempts.
nsBindRetryLimit
Connection lifetime, in seconds. Connections between the database link and
the remote server can be kept open for an unspecified time or closed after
nsConnectionLife
a specific period of time. It is faster to keep the connections open, but it uses
more resources. For example, it may be wise to limit the connection time for
a slow connection. A value of 0 indicates there is no limit. By default, the
value is set to 0. When the value is 0 and there is a list of failover servers in
the nsFarmServerURL attribute, the first server is never contacted after
failover to the alternate server. The default value is 0 seconds.
Amount of time, in seconds, before the bind attempt times out. The default
value is 15 seconds.
nsBindTimeout
Number of seconds that pass before the server checks for abandoned
operations. The default value is 1 second.
nsAbandonedSearchCheckInterval
For the list of database link configuration attributes, see Table 3 (page 61).
2.4.7.2 Detecting errors during normal processing
Protect server performance by detecting errors during the normal chaining operation between the
database link and the remote server. The database link has two attributes —
nsMaxResponseDelay and nsMaxTestResponseDelay, which work together to determine
if the remote server is no longer responding.
The first attribute, nsMaxResponseDelay, sets a maximum duration for an LDAP operation to
complete. If the operation takes more than the amount of time specified in this attribute, the database
link's server suspects that the remote server is no longer online.
2.4 Creating and Maintaining Database Links 75