![]() | The instructions in this section assume that you are installing DB2 Enterprise - Extended Edition (DB2 EEE) for HP-UX on one system and running Multiple Logical Nodes (MLNs) to create your partitioned database system. If you are installing DB2 EEE on a cluster, you will have to run the DB2 Installer program on each physical machine that you want to participate in your partitioned database system. |
Before you begin the installation, be sure that you have the following items and information:
![]() | If you are using NIS or NIS+, groups and users must be created on the NIS server before running db2setup. |
The usernames you create must conform to both your operating system's naming rules, and those of DB2. You can have the DB2 Installer create these usernames, or you can create them manually. 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 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 /home2/db2inst1 -m db2inst1 useradd -g db2fadm1 -u 1003 -d /home2/db2fenc1 -m db2fenc1 useradd -g db2asgrp -u 1002 -d /home2/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.
|
![]() | The HP-UX operating system automatically reboots after changing the kernel configuration parameter values. |
Step a. | Log on to the system as a user with root authority. | ||||||||||||||
Step b. | Update the kernel configuration parameters as follows:
Table 5. HP-UX Kernel Configuration Parameters (Recommended Values)
Notes:
|
To change a value, perform the following steps:
Step 1. | Enter the SAM command to start the System Administration Manager (SAM) program. |
Step 2. | Double-click on the Kernel Configuration icon. |
Step 3. | Double-click on the Configurable Parameters icon. |
Step 4. | Double-click on the parameter that you want to change and enter the new value in the Formula/Value field. |
Step 5. | Click on OK. |
Step 6. | Repeat these steps for all of the kernel configuration parameters that you want to change. |
Step 7. | When you are finished setting all of the kernel configuration parameters, select Action --> Process New Kernel from the action menu bar.
|