Installation guide
Section 5.4:Setting Up a DB2 Service 97
1. On both cluster systems, log in as root and add the IP address and host name that will be used to
access the DB2 service to /etc/hosts file. For example:
10.1.16.182 ibmdb2.class.cluster.com ibmdb2
2. Choose an unused partition on a shared disk to use for hosting DB2 administration and instance
data, and create a file system on it. For example:
# mke2fs /dev/sda3
3. Create a mount point on both cluster systems for the file system created in Step 2. For example:
# mkdir /db2home
4. On the first cluster system, devel0, mount the file system created in Step 2 on the mount point
created in Step 3. For example:
devel0# mount -t ext2 /dev/sda3 /db2home
5. On the first cluster system, devel0, mount the DB2 cdrom and copy the setup response file
included in the distribution to /root. For example:
devel0% mount -t iso9660 /dev/cdrom /mnt/cdrom
devel0% cp /mnt/cdrom/IBM/DB2/db2server.rsp /root
6. Modify the setup response file, db2server.rsp, to reflect local configuration settings. Make
sure that the UIDs and GIDs are reserved on both cluster systems. For example:
-----------Instance Creation Settings------------
-------------------------------------------------
DB2.UID = 2001
DB2.GID = 2001
DB2.HOME_DIRECTORY = /db2home/db2inst1
-----------Fenced User Creation Settings----------
--------------------------------------------------
UDF.UID = 2000
UDF.GID = 2000
UDF.HOME_DIRECTORY = /db2home/db2fenc1
-----------Instance Profile Registry Settings------
---------------------------------------------------
DB2.DB2COMM = TCPIP
----------Administration Server Creation Settings---
----------------------------------------------------
ADMIN.UID = 2002
ADMIN.GID = 2002