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:
- Identify the communication parameter values for the remote
database server. Use the following
worksheets:
- 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.
- Catalog the server node from the client. Instructions are
provided for each communications protocol:
- Catalog the database that you want to connect to on the
client. For more details, see Cataloging a database from a client by using the CLP.
- Test the client-to-server connection. For more
details, see Testing the client-to-server connection using the CLP.