Using the DB2 database Toolkit in a Serviceguard Cluster in HP-UX Release README: B.06.00

7. Share (export) instance owner home directory (/home/payroll_inst in
this case)
to make it available to all cluster members. NFS example is shown
below.
[root@node1/]> share -F nfs /home/payroll_inst
8. On the remaining cluster nodes mount the directory exported in step
6.
[root@node2/]> mount .F nfs node1:/home/db2inst1 /home/db2inst1
9. In case of multi partitioned database installation , edit
DB2 node
configuration file (db2nodes.cfg) in the exported instance
owner home
directory to define the database partitions that participate
in a DB2
instance. For example,
[payroll_inst@node1 ~]> vi /home/payroll_inst/sqllib/db2nodes.cfg
0 node1 0 node1
1 node1 1 node1
To enable the communication between the partitions, fill in the
service,
/etc/hosts, .rhosts file with the required entries.
10. Edit ~/.rhosts file for the instance owner
[payroll_inst@node1 ~]> vi home/payroll_inst/.rhosts
node1 payroll_inst
node2 payroll_inst
11. As root, edit /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