On each system in the cluster, use the more
command to check the file /etc/services.
The following is an example for a DB2 UDB instance with two partitions, one port for each partition:
DB2_db2inst1 70000/tcp # Connection port for DB2 instance
DB2_db2inst1a 60003/tcp # Interrupt port for DB2 instance
DB2_db2inst10 50002/tcp # Connection port for DB2 instance
DB2_db2inst10 50003/tcp # Interrupt port for DB2 instance
The file shows the ports assigned when DB2 UDB creates a new instance. The first two lines in the example show a range of ports, 70000 through 70001, for two database partitions. The next three lines assign additional ports for use by the database instance. Inspect the file and verify there are no duplicate port numbers.
The following is an example for a DB2UDB instance with four partitions, a port for each partition.
The four instances are assigned 60000 through 60003.