IBM Tivoli Composite Application Manager for Application Diagnostics, Version 7.1.0.1

Determine the port number for an IBM DB2 instance that exists - UNIX

If you plan on using an existing IBM DB2 environment, you need to know the port number for the IBM DB2 instance by the time you enter IBM DB2 configuration information during installation of the Managing Server.

You can check the port number by completing the following steps:

  1. If the IBM DB2 environment is on a remote computer, enter xhost + hostname on the computer where you are sitting.

    The hostname is the fully qualified host name of the computer on which the Managing Server is being installed.

  2. Perform one of the following procedures to see the IBM DB2 instance port number:

    • If the DB2 Control Center was installed when installing IBM DB2, use the db2cc command:

      1. Open the DB2 Control Center and enter the db2cc command from a console window.

      2. In the left-hand pane, right-click one of the available instances for the local system.

      3. Select Setup Communications.

      4. Click Properties to the right of the TCP/IP choice.

      The port number will be listed there.

    • If the DB2 Control Center was not installed when installing IBM DB2, enter one of the following commands:

      • netstat -a | grep LISTEN

      • cat /etc/services


Parent topic:

(Optional) Gathering information needed for the installation

+

Search Tips   |   Advanced Search