DB2 Version 9.7 for Linux, UNIX, and Windows
Configuring >

Setting communication protocols for a DB2 instance

To perform this task you require sysadm authority.

Setting communication protocols for a DB2® instance is part of the main task of configuring TCP/IP or SSL communications for a DB2 instance.

The DB2COMM registry variable allows you to set communication protocols for the current DB2 instance. If the DB2COMM registry variable is undefined or set to null, no protocol connection managers are started when the database manager is started.

The DB2COMM registry variable can be set with one of the following keywords:

tcpip
starts TCP/IP support
ssl
starts SSL support

To set the communication protocol for the instance:

Enter the db2set DB2COMM command from the DB2 command window:

     db2set DB2COMM=tcpip 

For example, to set the database manager to start connection managers for the TCP/IP communication protocols, enter the following command:

   db2set DB2COMM=tcpip
   db2stop
   db2start
[ Top of Page | Previous Page | Next Page | Contents ]