IBM Books

Installation and Configuration Supplement


Step 2. Configure the DB2 Connect Workstation

The following steps configure this protocol on the DB2 Connect Workstation. Replace the sample values with your worksheet values.

A. Resolve the Host's IP Address



Figure car not displayed.

If your network has a name server, or you are planning to directly specify the IP address (ip_address) of the server, skip this step and proceed to B. Update the Services File.

The DB2 Connect workstation must know the address of the host system to which it is attempting to establish communications. If a name server does not exist on your network, you may directly specify a hostname that maps to the IP address (ip_address) of the host system in the local hosts file. See Table 9 for the location of the hosts file for your particular platform.

Figure hint not displayed.

If you are planning on supporting a UNIX client that is using Network Information Services (NIS), and you are not using a domain name server on your network, you must update the hosts file located on your NIS master server.

Table 24. Location of the Local Hosts and Services Files
Platform Location
Windows 9x windows directory
Windows NT winnt\system32\drivers\etc directory
UNIX /etc directory
OS/2

Specified by the etc environment variable. Enter the set etc command to determine the location of your local hosts or services files.
Note:For DOS and WIN-OS2 sessions, you might need to update the hosts and services files located in the tcpip_product\dos\etc directory.

Windows 3.x Typically in the tcpip_product\etc directory, but it depends on the products that you have installed.

Refer to your TCP/IP documentation for more information.

Using a text editor, add an entry to the DB2 Connect workstation's hosts file for the host system's hostname. For example:

   9.21.15.235     nyx   # host address for nyx

where:

9.21.15.235
represents the ip_address

nyx
represents the hostname

#
represents a comment describing the entry


Figure hint not displayed.

If the host system is not in the same domain as the DB2 Connect Workstation, you must provide a fully qualified domain name such as nyx.spifnet.ibm.com, where spifnet.ibm.com is the domain name.

B. Update the Services File



Figure car not displayed.

If you are planning to catalog a TCP/IP node using a port number (port_number), skip this step and go to Step 3. Catalog the TCP/IP Node.

Using a text editor, add the Connection Service name and port number to the DB2 Connect workstation's services file. This file is located in the same directory as the local hosts file that you may have edited in A. Resolve the Host's IP Address. See Table 9 for the location of the services file for your particular platform. For example:

   host1  3700/tcp  # DB2 connection service port

where:

host1
represents the Connection Service name

3700
represents the Connection port number

tcp
represents the communication protocol that you are using

#
represents a comment describing the entry

The port number used on the DB2 Connect workstation must match the port number used on the host system. Also, ensure that you did not specify a port number that is being used by any other process.

Figure hint not displayed.

If you are planning on supporting a UNIX client that uses Network Information Services (NIS), you must update the services file located on your NIS master server.


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

[ DB2 List of Books | Search the DB2 Books ]