Registers the DB2 server in the network directory server.
Authorization
None
Required Connection
None
Command Syntax
>>-REGISTER----+-----------------+---+-| NWBINDERY path |-+----><
'-DB2 SERVER--IN--' '-| LDAP path |------'
NWBINDERY path
|---NWBINDERY--USER--username--+---------------------+----------|
'-PASSWORD--password--'
LDAP path
|---LDAP AS--nodename------------------------------------------->
>----PROTOCOL--+-TCPIP--+---------------------+---+---------------------+---+-------------------+-+>
| '-HOSTNAME--hostname--' '-SVCENAME--svcename--' '-SECURITY--SOCKS---' |
+-NETBIOS--+---------------+-------------------------------------------------------+
| '-NNAME--nname--' |
+-| APPN path |--------------------------------------------------------------------+
+-IPXSPX--+-----------------------+------------------------------------------------+
| '-IPX_ADDRESS--ipxaddr--' |
'-NPIPE----------------------------------------------------------------------------'
>-----+-------------------+---+---------------------+----------->
'-REMOTE--computer--' '-INSTANCE--instance--'
>-----+------------------------+---+-----------------+---------->
| .-SERVER--. | '-OSTYPE--ostype--'
'-NODETYPE--+-MPP-----+--'
'-DCS-----'
>-----+-------------------+------------------------------------->
'-WITH--"comments"--'
>-----+------------------------------------------+--------------|
'-USER--username--+---------------------+--'
'-PASSWORD--password--'
APPN path
|---APPN---NETWORK--net_id---PARTNERLU--partner_lu-------------->
>----MODE--mode----+------------------+------------------------->
'-TPNAME--tp_name--'
>-----+------------------------+---+--------------------------+->
'-SECURITY--+-NONE----+--' '-LANADDRESS--lan_address--'
+-SAME----+
'-PROGRAM-'
>-----+-------------------------------+-------------------------|
'-CHGPWDLU--change_password_lu--'
Command Parameters
| Note: | NETBIOS and NPIPE are not supported on AIX and Solaris operating systems, however these protocols can be registered for a remote server using an operating system such as Windows NT. |
Usage Notes
Registering a DB2 server in NWBINDERY is only relevant when using file server addressing to connect a client and a server.
Register the DB2 server once for each protocol that the server supports. For example, if the DB2 server supports both NetBIOS and TCP/IP, the REGISTER command must be invoked twice:
db2 register db2 server in ldap as tcpnode protocol tcpip db2 register db2 server in ldap as nbnode protocol netbios
The REGISTER command should be issued once for each DB2 server instance to publish the server in the directory server. If the communication parameter fields are reconfigured, or the server network address changes, update the DB2 server on the network directory server.
To update the DB2 server in LDAP, use the UPDATE LDAP NODE command after the changes have been made.
To update the DB2 server in NWBINDERY, deregister the DB2 server before making the changes, then register it again after the changes have been made.
If any protocol configuration parameter is specified when registering a DB2 server locally, it will override the value specified in the database manager configuration file.
For APPN, only the TPNAME is found in the database manager configuration file. To register APPN properly, values for the following mandatory parameters must be specified: NETWORK, PARTNERLU, MODE, TPNAME, and SECURITY. Values for the following optional parameters can also be specified: LANADDRESS and CHGPWDLU.
If the REGISTER command is used to register a local DB2 instance in LDAP, and one or both of NODETYPE and OSTYPE are specified, they will be replaced with the values retrieved from the local system. If the REGISTER command is used to register a remote DB2 instance in LDAP, and one or both of NODETYPE and OSTYPE are not specified, the default value of SERVER and Unknown will be used, respectively.
If the REGISTER command is used to register a remote DB2 server in LDAP, the computer name and the instance name of the remote server must be specified along with the communication protocol for the remote server.
When registering a host database server, a value of DCS must be specified for the NODETYPE parameter.
See Also
db2ipxad - Get IPX/SPX Internetwork Address