DB2 Version 10.1 for Linux, UNIX, and Windows

DEREGISTER command

Deregisters the DB2® server from the network directory server.

Authorization

None

Required connection

None

Command syntax

Read syntax diagramSkip visual syntax diagram
>>-DEREGISTER--+------------+--+----+--------------------------->
               '-DB2 SERVER-'  '-IN-'   

>--LDAP--NODE--nodename--+----------------------------------------+-><
                         '-USER--username--+--------------------+-'   
                                           '-PASSWORD--password-'     

Command parameters

IN
Specifies the network directory server from which to deregister the DB2 server. The valid value is LDAP for an LDAP (Lightweight Directory Access Protocol) directory server.
USER username
This is the user's LDAP distinguished name (DN). The LDAP user DN must have sufficient authority to delete the object from the LDAP directory. The user name is optional when deregistering in LDAP. If the user's LDAP DN is not specified, the credentials of the current logon user will be used.
PASSWORD password
Account password.
NODE nodename
The node name is the value that was specified when the DB2 server was registered in LDAP.

Usage notes

This command can only be issued for a remote machine when in the LDAP environment. When issued for a remote machine, the node name of the remote server must be specified.

The DB2 server is automatically deregistered when the instance is dropped.