IBM Books

Quick Beginnings for UNIX


Step 3. Catalog the TCP/IP Node

You must add an entry to the DB2 Connect workstation's node directory to describe 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 will use to access the remote host.

To catalog a TCP/IP node, perform the following steps:

Step  1.

Log on to the system as a user with System Administrative (SYSADM) or System Controller (SYSCTRL) authority.

Step  2.

Set up the instance environment and invoke the DB2 command line processor. Run the start-up script as follows:

   . INSTHOME/sqllib/db2profile    (for Bourne or Korn shell)
   source INSTHOME/sqllib/db2cshrc (for C shell)

where INSTHOME is the home directory of the instance.

Step  3.

Catalog the node by entering the following commands:

   catalog tcpip node node_name remote [hostname|ip_address]
    server [svcename|port_number]
    terminate

For example, to catalog the remote host nyx on the node called db2node, using the service name host1, enter the following:

   catalog tcpip node db2node remote nyx server host1
   terminate

To catalog a remote server with the IP address 9.21.15.235 on the node called db2node, using the port number 3700, enter the following:

   catalog tcpip node db2node remote 9.21.15.235 server 3700
   terminate



Figure hint not displayed.

If you need to change values that were set with the catalog node command, perform the following steps:

Step  1.

Run the uncatalog node command in the command line processor as follows:

   uncatalog node node_name

Step  2.

Recatalog the node with the values that you want to use.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]