Now that I've got DB2 V8.1 running on my HP-UX system, I noticed something interesting about the ports the 32-bit and 64-bit instances bind to when I start them.
Here are the DB2 contents in the /etc/services file
Code:
$ grep db2 /etc/services
db2cdb2inst1 50000/tcp # Connection port for DB2 instance db2inst1
db2idb2inst1 50001/tcp # Interrupt port for DB2 instance db2inst1
DB2_db2inst8 60000/tcp
DB2_db2inst8_1 60001/tcp
DB2_db2inst8_2 60002/tcp
DB2_db2inst8_END 60003/tcp
db2c_db2inst8 50002/tcp
DB2_db2ins64 60004/tcp
DB2_db2ins64_1 60005/tcp
DB2_db2ins64_2 60006/tcp
DB2_db2ins64_END 60007/tcp
You see three ports listed for the 64-bit instance.
When I start the 32-bit instance, it binds to port db2c_db2inst8 (and that service name is shown in netstat output).
When I start the 64-bit instance, it binds to port 50064 and that port isn't listed in the services file.
Does anyone know why the 64-bit instance installer wouldn't update the services file with the default port used by the instance?
It's not a big deal since everything works but I'm curious about this.
Thanks!
Peace...