DEREGISTER command
The DEREGISTER command deregisters the Db2® server from the network directory server.
Authorization
None
Required connection
None
Command syntax
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.
