DB2 Version 9.7 for Linux, UNIX, and Windows

UPDATE LDAP NODE command

Updates the protocol information associated with a node entry that represents the DB2® server in Lightweight Directory Access Protocol (LDAP).

Authorization

None

Required connection

None

Command syntax

Read syntax diagramSkip visual syntax diagram
>>-UPDATE LDAP--NODE--nodename--+--------------------------+---->
                                '-HOSTNAME--+------------+-'   
                                            +-hostname---+     
                                            '-IP address-'     

>--+--------------------+--+------------------+----------------->
   '-SVCENAME--svcename-'  '-WITH--"comments"-'   

>--+----------------------------------------+------------------><
   '-USER--username--+--------------------+-'   
                     '-PASSWORD--password-'     

Command parameters

NODE nodename
Specifies the node name when updating a remote DB2 server. The node name is the value specified when registering the DB2 server in LDAP.
HOSTNAME hostname | IP address
Specifies the TCP/IP host name or IP address.
  • If it is a TCPIP node, the host name will be resolved to an IPv4 or IPv6 address.
  • If it is a TCPIP4 node, the host name will be resolved to an IPv4 address only.
  • If it is a TCPIP6 node, the host name will be resolved to an IPv6 address only.
SVCENAME svcename
Specifies the TCP/IP service name or port number.
WITH "comments"
Describes the DB2 server. Any comment that helps to describe the server registered in the network directory can be entered. Maximum length is 30 characters. A carriage return or a line feed character is not permitted. The comment text must be enclosed by double quotation marks.
USER username
Specifies the user's LDAP distinguished name (DN). The LDAP user DN must have sufficient authority to create and update the object in the LDAP directory. If the user's LDAP DN is not specified, the credentials of the current logon user will be used.
PASSWORD password
Account password.