Proxy Backend

A Proxy Backend forwards LDAP requests to other servers.

A Proxy Backend uses the proxied authorization control to forward LDAP requests on behalf of the proxy users. As a consequence, the remote servers must support the proxied authorization control and the proxy user must have appropriate privileges and permissions allowing them to use the control.

Parent

The Proxy Backend object inherits from Backend.

Dependencies

Proxy Backends depend on the following objects:

Properties

Use the --advanced option to access advanced properties.

Basic Properties

backend-id

SynopsisSpecifies a name to identify the associated backend.
DescriptionThe name must be unique among all backends in the server. The backend ID may not be altered after the backend is created in the server.
Default ValueNone
Allowed ValuesA string.
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyYes

base-dn

SynopsisSpecifies the base DN(s) for the data that the backend handles.
DescriptionA single backend may be responsible for one or more base DNs. Note that no two backends may have the same base DN although one backend may have a base DN that is below a base DN provided by another backend (similar to the use of sub-suffixes in the Sun Java System Directory Server). If any of the base DNs is subordinate to a base DN for another backend, then all base DNs for that backend must be subordinate to that same base DN. When the "route-all" property is set to "true" then the "base-dn" property is ignored.
Default ValueUnless route-all is enabled, a proxy with empty base DNs does not handle any requests. This helps incrementally building a proxy's configuration.
Allowed ValuesA valid DN.
Multi-valuedYes
RequiredNo
Admin Action RequiredNone
No administrative action is required.
AdvancedNo
Read-OnlyNo

connection-pool-idle-timeout

SynopsisThe time out period after which unused non-core connections will be closed and removed from the connection pool.
Default Value10s
Allowed ValuesA duration. Lower limit: 1 milliseconds.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

connection-pool-max-size

SynopsisMaximum size of the connection pool for each remote server
Default Value32
Allowed ValuesAn integer. Use "-1" or "unlimited" to indicate no limit. Lower limit: 0.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

connection-pool-min-size

SynopsisMinimum size of the connection pool for each remote server
Default Value4
Allowed ValuesAn integer. Use "-1" or "unlimited" to indicate no limit. Lower limit: 0.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

connection-timeout

SynopsisSpecifies the timeout used when connecting to servers, performing SSL negotiation, and for individual search and bind requests.
DescriptionIf the timeout expires then the current operation will be aborted and retried against another LDAP server if one is available.
Default Value3s
Allowed ValuesA duration. Lower limit: 10 milliseconds.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

discovery-interval

SynopsisInterval between two server configuration discovery executions.
DescriptionSpecifies how frequently to read the configuration of the servers in order to discover any configuration change.
Default Value60s
Allowed ValuesA duration. Lower limit: 1 seconds.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

enabled

SynopsisIndicates whether the backend is enabled in the server.
DescriptionIf a backend is not enabled, then its contents are not accessible when processing operations.
Default ValueNone
Allowed Valuestrue
false
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

heartbeat-interval

SynopsisSpecifies the heartbeat interval that the Proxy Backend will use when communicating with the remote servers.
DescriptionThe Proxy Backend sends a heartbeat request to the servers every heartbeat interval. The heartbeat serves 3 purposes: keepalive, heartbeat and recovery. The hearbeat requests are small requests sent to prevent the connection from appearing idle and being forcefully closed (keepalive). The heartbeat responses inform the Proxy Backend the server is available (heartbeat). If a heartbeat answer is not received within the interval, the Proxy Backend closes the unresponsive connection and connects to another server. After an unresponsive connection is closed, the server is contacted each heartbeat interval to determine whether it is available again (recovery).
Default Value10s
Allowed ValuesA duration. Lower limit: 10 milliseconds.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

load-balancing-algorithm

SynopsisHow to load balance between servers
Default Valueaffinity
Allowed Values

affinity: Always route requests with the same target DN to the same server

least-requests: Use the server with the least requests being currently serviced

Multi-valuedNo
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

partition-base-dn

SynopsisSpecifies the base DN(s) which will be used for partitioning entries when using the "affinity" load-balancing algorithm.
DescriptionThis settings only applies for "affinity" load-balancing algorithm and provides consistency for add/delete operations targeting entries within the same sub-tree. Entries immediately subordinate to the base DNs will be considered to be the root of a sub-tree whose entries belong to the same partition. For example, a partition base DN of "ou=people,dc=example,dc=com" would mean that "uid=bjensen,ou=people,dc=example,dc=com" and "deviceid=12345,uid=bjensen,ou=people,dc=example,dc=com" both belong to the same partition, and all operations targeting them would be routed to the same remote server.
Default ValueNo consistency for add/delete operations.
Allowed ValuesA valid DN.
Multi-valuedYes
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

proxy-user-dn

SynopsisThe bind DN that is used to forward LDAP requests to remote servers.
DescriptionThe proxy connects to the remote server using this bind DN and uses the proxied authorization control to forward requests on behalf of the proxy users. This bind DN must exist on all the remote servers.
Default ValueNone
Allowed ValuesA valid DN.
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

proxy-user-password

SynopsisClear-text password associated with the proxy bind DN.
DescriptionThe proxy password must be the same on all the remote servers.
Default ValueNone
Allowed ValuesA string.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
Changes to this property will take effect the next time that the Proxy Backend is accessed.
AdvancedNo
Read-OnlyNo

proxy-user-password-environment-variable

SynopsisSpecifies the name of the environment variable that contains the clear-text password associated with the proxy bind DN.
DescriptionThe proxy password must be the same on all the remote servers.
Default ValueNone
Allowed ValuesA string.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
Changes to this property will take effect the next time that the Proxy Backend is accessed.
AdvancedNo
Read-OnlyNo

proxy-user-password-file

SynopsisSpecifies the path to the text file whose only contents should be a single line containing the clear-text password associated with the proxy bind DN.
DescriptionThe proxy password must be the same on all the remote servers.
Default ValueNone
Allowed ValuesA string.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
Changes to this property will take effect the next time that the Proxy Backend is accessed.
AdvancedNo
Read-OnlyNo

proxy-user-password-property

SynopsisSpecifies the name of the Java property that contains the clear-text password associated with the proxy bind DN.
DescriptionThe proxy password must be the same on all the remote servers.
Default ValueNone
Allowed ValuesA string.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
Changes to this property will take effect the next time that the Proxy Backend is accessed.
AdvancedNo
Read-OnlyNo

route-all

SynopsisRoute requests to all discovered public naming contexts.
DescriptionWhen the "route-all" property is set to "true" then the "base-dn" property is ignored.
Default ValueNone
Allowed Valuestrue
false
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

service-discovery-mechanism

SynopsisMechanism for finding remote servers to forward LDAP requests to
Default ValueNone
Allowed ValuesThe name of an existing Service Discovery Mechanism.
Multi-valuedNo
RequiredYes
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

Advanced Properties

java-class

SynopsisSpecifies the fully-qualified name of the Java class that provides the backend implementation.
Default Valueorg.opends.server.backends.ProxyBackend
Allowed ValuesA Java class that extends or implements:
org.opends.server.api.Backend
Multi-valuedNo
RequiredYes
Admin Action RequiredThe object must be disabled and re-enabled for changes to take effect.
AdvancedYes
Read-OnlyNo