Cataloging a TCP/IP node from a client using the CLP
Cataloging a TCP/IP node adds an entry to the Data Server Client node directory that describes the remote node. This entry specifies the chosen alias (node_name), the hostname (or ip_address), and the svcename (or port_number) that the client uses to access the remote host.
Before you begin
You must have System Administrative (SYSADM) or System Controller (SYSCTRL) authority, or have the catalog_noauth option set to ON. You cannot catalog a node using root authority.
Procedure
To catalog a TCP/IP node:
Example
To catalog a node that you want to call
db2node
on
a remote server myserver.ibm.com
that is using port
number 50000, you would enter the following from a db2 prompt:
db2 => catalog tcpip node db2node remote myserver server 50000
DB20000I The CATALOG TCPIP NODE command completed successfully.
DB21056W Directory changes may not be effective until the directory cache is
refreshed.
db2 => terminate
DB20000I The TERMINATE command completed successfully.