DB2 Connect Quick Beginnings for UNIX**

2. Configure the DB2 Connect Workstation

The steps in this section configure TCP/IP on the DB2 Connect Workstation. Replace the sample values with your worksheet values.

A. Resolve the Host's IP Address



Figure 00002671 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.

Figure 00002674 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 14. Location of the Local Hosts and Services Files
Platform Location
Windows 9x windows directory
Windows NT and Windows 2000 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.

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

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 00002671 not displayed.

If you are planning to catalog a TCP/IP node using a port number (port_number), skip this step and go to 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. 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.

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 ]