HP Enterprise Cluster Master Toolkit User Guide (5900-2131, December 2011)

2 node2 0 node2
3 node2 1 node2
9. To enable the communication between the partitions, edit the /etc/services, /etc/
hosts, .rhosts file with the required entries.
Edit the/etc/hosts file by adding the IP address and hostname of the DB2 server.
For example:
[payroll_inst@node1 ~]> vi /etc/hosts
10.0.0.1 DBNODE.domainname.com DBNODE
Edit the ~/.rhosts file for the instance owner:
For example:
[payroll_inst@node1 ~]> vi home/payroll_inst/.rhosts
node1 payroll_inst
node2 payroll_inst
10. As root, edit the /etc/services file to ensure that enough ports are reserved for Fast
Communication Manager (FCM) to allow inter-partition communications. Add the following
entries in the /etc/services file. The number of ports reserved depends upon the
requirement.
[root@node1/]>vi /etc/services
db2c_payroll_inst 50000/tcp # DB2 connection service port
DB2_payroll_inst 60000/tcp
DB2_payroll_inst_1 60001/tcp
DB2_payroll_inst_2 60002/tcp
DB2_payroll_inst_3 60003/tcp
DB2_payroll_inst_4 60004/tcp
DB2_payroll_inst_5 60005/tcp
DB2_payroll_inst_6 60006/tcp
DB2_payroll_inst_7 60007/tcp
DB2_payroll_inst_8 60008/tcp
DB2_payroll_inst_END 60009/tcp
Setting Up the Application 73