Configuring client-to-server connections using the command line processor

This task describes how to configure a connection from an IBM® data server client to a remote database server using the command line processor (CLP).

Before you begin

Before you configure a client to server connection, ensure:
  • Network communications is set up between the machine with the IBM data server client and the machine with the Db2® server. One way to verify this for the TCP/IP protocol is to use the ping command.
  • The Db2 server is configured to work on the network. This is normally done as part of installing and configuring the Db2 server product.

Procedure

Separate topics are provided to guide you through each of the following steps. Some steps have a version for each supported protocol:

  1. Identify the communication parameter values for the remote database server.
  2. If you are using TCP/IP, you have the option to update the client's hosts file and services file with communication parameter values for the remote database server. For more details, see Updating hosts and services files for TCP/IP connections. This step does not apply to Named Pipes.
  3. Catalog the server node from the client. Instructions are provided for each communications protocol:
  4. Catalog the database that you want to connect to on the client.
  5. Test the client-to-server connection.