Your server can support multiple communication protocols concurrently; however, you only need to enable the protocols that you want to use.
You must update the db2comm registry variable with the protocol that you now want to support, if you have:
The db2comm registry variable determines which protocol's connection managers will be enabled when the database manager is started. You can set this variable for multiple communication protocols by separating the keywords with commas.
For your DB2 server, DB2COMM can be any combination of the following keywords:
![]() | To avoid problems with the Control Center and the Client Configuration
Assistant, ensure that the DB2COMM parameter is set in the DB2
registry using the db2set command. It is not recommended
that you use any other mechanism to set the DB2COMM value.
For more information on the DB2 registry, refer to the Administration Guide. |
To set the db2comm registry variable for the current instance, enter the db2set DB2COMM=protocol_names command. Change the protocol_names parameter to reflect those protocols that you want to start when the database manager is started.
For example, to set the database manager to start connection managers for the APPC and TCP/IP communication protocols, enter the following command:
db2set DB2COMM=appc,tcpip db2stop db2start
When the db2start command is reissued, connection managers for
the protocols specified by the db2comm registry parameter are
started.
![]() |
If you are setting up communications for the Administration Server, enter the db2set command: db2set DB2COMM=appc,tcpip -i DB2DAS00 db2admin stop db2admin start where: DB2DAS00 represents the name of the Administration Server. If you are not sure of the Administration Server name, enter the following command: db2set DB2ADMINSERVER |
If the db2comm registry variable is undefined or set to null, no
protocol connection managers are started when the database manager is
started.
![]() |
If there are problems starting a protocol's connection managers, a warning message appears and the error messages are logged in the db2diag.log file. For more information on the db2diag.log file, refer to
the Troubleshooting Guide.
|
![]() |
You are now ready to configure the server workstation to use any of the following communication protocols:
|