Configure instance communication and startup

You must configure TCP/IP for the instance to enable remote clients to connect to the database server. You will also use this connection information to configure each client to access this instance.

You can configure TCP/IP later, using the Control Center or the Command Line Processor (CLP). For information on manually updating the TCP/IP settings, see http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.qb.server.doc/doc/t0004727.html

The TCP/IP Service name and Port number are used by a DB2® instance to listen for incoming DB2 connections.

Note:
The Service name field is not present for non-root installations.

If the DB2 Setup wizard detects TCP/IP for the current installation, the Configure radio button is selected automatically.

The DB2 Setup wizard generates a default value for the Service name, which is the name that is associated with the port number.

The DB2 Setup wizard also generates a default value for the Port number, which designates the particular TCP/IP port on which the server listens for requests from IBM® Data Server clients.

Note:
  • For root installations, the Port number and Service name values are reserved in the services file on this computer.
  • For non-root installations, the DB2 Setup wizard cannot reserve the Port number value in the services file. After your DB2 product is installed, the services file can be updated by a root user, either by manually editing the file or by running the db2rfe command. Details about the db2rfe command are available at http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.qb.server.doc/doc/t0050570.html

It is recommended that you accept the default values for Service name and Port number unless they conflict with other services on your computer. If you need to change these values, choose values that will not conflict with existing entries in the services file. Both fields are mandatory and must be unique on the computer.

The Service name cannot exceed 14 characters.

The Port number value must be in the range 1024 to 65535.

To clear the values you have typed and restore any values that are generated by the DB2 Setup wizard, click Restore default settings.

If the DB2 Setup wizard does not detect TCP/IP, the Do not configure at this time radio button is selected automatically.

If you want to configure TCP/IP at this time, click Configure and type your own values in the appropriate fields.

Click Autostart the instance at system startup to automatically start the instance. Automatically starting the instance eliminates the need to manually start the instance each time you start your system.

Note:
For non-root installations, the Autostart the instance at system startup option does not display. Instead, the Start the instance after the installation is complete option is displayed.