svcename - TCP/IP service name configuration parameter

This parameter contains the name of the TCP⁄IP port which a database server will use to await communications from remote client nodes. This name must be the reserved for use by the database manager.

Configuration type
Database manager
Applies to
  • Database server with local and remote clients
  • Database server with local clients
  • Partitioned database server with local and remote clients
Parameter type
Configurable
Default
Null

In order to accept connection requests from a Data Server Runtime Client using TCP⁄IP, the database server must be listening on a port designated to that server. The system administrator for the database server must reserve a port (number n) and define its associated TCP/IP service name in the services file at the server.

The database server port (number n) and its TCP/IP service name need to be defined in the services file on the database client.

On Linux® and UNIX systems, the services file is located in: /etc/services

The svcename parameter should be set to the port number or the service name associated with the main connection port so that when the database server is started, it can determine on which port to listen for incoming connection requests.

If DB2COMM contains both TCP/IP and SSL, the port specified by svcename must not be the same as ssl_svcename. Otherwise, the instance starts up without either TCP/IP or SSL protocol support.