![]() | If you are installing DB2 EEE on a cluster, and you are not running
cluster software, you will have to run the DB2 Installer program on each
physical machine that you want to participate in your partitioned database
system.
If you are running SunCluster 2.2, you can use ctelnet or cconsole to perform your installation. For more information, see your product documentation. |
Before you begin the installation, be sure that you have the following items and information:
For configurations that use more than one machine for a single database
instance, NFS (Network File System) is used to share this file system.
Typically, one machine in a cluster will be used to export the file system via
NFS, and the remaining machines in the cluster will mount the NFS file system
from this machine. The machine that exports the file system will have
the file system mounted locally. To create this file system, perform
the following steps:
![]() | There are a number of ways to create a local file system on a Solaris system. If you want to use a product such as Veritas to create the file system, refer to the product's documentation. |
![]() | If you are using NIS or NIS+, groups and users must be created on the NIS server before running db2setup. |
You can have the DB2 Installer create these user names, or you can create them manually. The user names you create must conform to both your operating system's naming rules, and those of DB2. For more information on naming rules, see Appendix C, Naming Rules.
To create all three of these users, perform the following steps:
Step a. | Log on to the system as a user with root authority. | ||
Step b. | Create a primary group for the instance owner (for example, db2iadm1), the user that will execute UDFs or stored procedures (for example, db2fadm1), and the Administration Server (for example, db2asgrp) by entering the following commands: groupadd -g 999 db2iadm1 groupadd -g 998 db2fadm1 groupadd -g 997 db2asgrp
| ||
Step c. | Create a user that belongs to each group that you created in the previous step by entering the following commands: useradd -g db2iadm1 -u 1004 -d /nfshome/db2inst1 -m db2inst1 useradd -g db2fadm1 -u 1003 -d /nfshome/db2fenc1 -m db2fenc1 useradd -g db2asgrp -u 1002 -d /nfshome/db2as -m db2as | ||
Step d. | Set an initial password for each user that you created by entering the following commands: passwd db2inst1 passwd db2fenc1 passwd db2as | ||
Step e. | Log out.
|
Step a. | Log on to the system as a user with root authority. | ||||||||||||||||||||||||
Step b. | Update the kernel configuration parameters as follows:
Table 7. Solaris Kernel Configuration Parameters (Recommended Values)
Notes:
To set a kernel parameter, add a line at the end of the /etc/system file as follows: set parameter_name = value For example, to set the value of the msgsys:msginfo_msgmax parameter, add the following line to the end of the /etc/system file: set msgsys:msginfo_msgmax = 65535 Sample files for updating the kernel configuration parameters are provided in the /opt/IBMdb2/V7.1/cfg directory, or on your DB2 product CD-ROM in the /db2/install/samples directory. The names for these files are as follows:
Depending upon the amount of physical memory in your system, append the appropriate kernel configuration parameter file to the /etc/system file. If necessary, change the value of the shmsys:shminfo_shmmax parameter as described in Note 3 above. After updating the /etc/system file, reboot the system.
|