Creating and Maintaining Database Links
Chapter 3
Configuring Directory Databases
115
Providing an LDAP URL
On the server containing your database link, you have to identify the remote server
that the database link connects with using an LDAP URL. Unlike the standard
LDAP URL format, the URL of the remote server does not specify a suffix. It takes
the following form:
ldap://
hostname
:
portnumber
You specify the URL of the remote server using the
nsFarmServerURL
attribute in
the
cn=
database_link_name
,cn=chaining database,cn=plugins,cn=config
entry
of the configuration file. For example, the
nsFarmServerURL
might appear as
follows:
nsFarmServerURL: ldap://example.com:389/
Do not forget to use the trailing slash (/) at the end of the URL.
If you want the database link to connect to the remote server using LDAP over SSL,
the LDAP URL of the remote server takes the following form:
ldaps://
hostname
:
portnumber
For more information about chaining and SSL, refer to “Chaining Using SSL,” on
page 120.
Providing a List of Failover Servers
You can include additional LDAP URLs for servers to use in the case of failure. To
do so, add alternate servers to the
nsFarmServerURL
attribute, separated by spaces.
For example, you might enter the following:
nsFarmServerURL: ldap://example.com us.example.com:389
africa.example.com:1000/
In this sample LDAP URL, the database link first contacts the server
example.com
on the standard port to service an operation. If it does not respond, the database
link then contacts the server
us.example.com
on port
389
. If this server fails, it
then contacts
africa.example.com
on port
1000
.
Summary of Database Link Configuration Attributes
The following table lists the attributes available for configuring a database link.
Some of these attributes were discussed in the earlier sections.
Attributes marked with an asterisk (*) can be both global or instance attributes. All
instance attributes are defined in the
cn=
database_link_name
,cn=chaining
database,cn=plugins,cn=config
entry.
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...