Deregistering the Db2 server

Deregistration of an instance from LDAP also removes all the node, or alias, objects, and the database objects referring to the instance.

About this task

Deregistration of the Db2 server on either a local or a remote computer requires the LDAP node name be specified for the server.

Procedure

To deregister the Db2 server from LDAP:

  • From the command line, use the DEREGISTER command:
       db2 deregister db2 server in ldap
          node node_name
  • From a client application, call the db2LdapDeregister API.

Results

When the Db2 server is deregistered, any LDAP node entry and LDAP database entries referring to the same instance of the Db2 server are also uncataloged.