IBM Books

Administration Guide


Attaching to a Remote Server

In the LDAP environment, you can attach to a remote database server using the LDAP node name on the ATTACH command:

   db2 attach to <ldap_node_name>

When a client application attaches to a node or a database for the first time, since the node is not in the local node directory, DB2 searches the LDAP directory for the target node entry. If the entry is found in the LDAP directory, the database location and the protocol information of the remote server is retrieved. Using this information, DB2 automatically catalogs a database entry and a node entry on the local machine. The next time the client application attaches to the same node or database, the information in the local database directory is used without having to search the LDAP directory.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]