Before you begin the installation, be sure that you have the following items and information:
Step a. | Select a disk partition or logical volume and use a utility like newfs to create this file system. For more information, enter the man newfs command. |
Step b. | Mount this file system locally and add an entry to the /etc/vfstab file so that this file system is mounted each time the system is rebooted.
|
![]() | 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.
|
![]() | For changes to the kernel configuration parameters to take effect, you will be required reboot the system. |
Step a. | Log on to the system as a user with root authority. | |||||
Step b. | Update the kernel configuration parameters as follows:
Table 6. PTX Kernel Configuration Parameters (Recommended Values)
Notes:
|
To modify your PTX kernel configuration parameters, perform the following steps:
Step 1. | Log on as a user with root authority. |
Step 2. | Enter the menu command. |
Step 3. | Press A to select the System Administration option. |
Step 4. | Press C to select the Kernel Configuration option. |
Step 5. | Press Ctrl+F in the Change Kernel Configuration Disk form. If you want to build the new kernel in a disk other than the root disk, enter the disk and press Ctrl+F. |
Step 6. | In the Compile, Configure, or Remove a Kernel window, select the kernel configuration type with which your current kernel is built and press K. |
Step 7. | In the Configure a kernel with site specific parameters form, go down one page (press Ctrl+D), press A for All in the Visibility level for parameter changes and then press Ctrl+F. |
Step 8. | In the Configure Files With Adjustable Parameters window select ALL (press Ctrl+T) and press Ctrl+F. |
In the Tunable Parameters window, use arrow keys to navigate. Press Ctrl+T to select the parameter you want to change and press Ctrl+F. | |
Step 10. | In the Detail of Parameter Expression(s) window, press s to set the new value. |
In the Add site specific 'set' parameter form, enter the new value and press Ctrl+F. | |
Step 12. | Repeat steps 9 through 11 to change the values of all other parameters that you want to change. |
Step 13. | Once you are done changing all the parameters, press Ctrl+E from the Tunable Parameters window. |
Step 14. | Compile the kernel. |
Step 15. | Press Ctrl+X to exit the menu. |
Step 16. | Reboot the system so that the changes can take effect.
|