Quick Beginnings

Updating Kernel Configuration Parameters

This section applies only to DB2 clients running on HP-UX and NUMA-Q/PTX systems, and the Solaris** Operating Environment.

If you are installing a DB2 client on AIX, Linux, or SGI IRIX systems, go to Installing Your DB2 Client.

Before installing your DB2 client on a HP-UX, PTX or Solaris system, you may need to update your system's kernel configuration parameters. We recommend that you set your system's kernel configuration parameters to the values in the following sections:

HP-UX Kernel Configuration Parameters

Table 9 lists the recommended values for HP-UX kernel configuration parameters. These values are valid for DB2 clients running on HP-UX Version 11.
Note:You must reboot your machine after updating any kernel configuration parameters.

Table 9. HP-UX Kernel Configuration Parameters (Recommended Values)
Kernel Parameter Recommended Value
msgseg
msgmnb
msgmax
msgssz

8192
65535  (1)
65535  (1)
16
 

Notes:

  1. Parameters msgmnb and msgmax must be set to 65535 or higher.

  2. To maintain the interdependency among kernel parameters, change parameters in the same sequence in which they appear in Table 9.

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.

After you have updated your kernel parameters, go to Installing Your DB2 Client to continue with the installation.

NUMA-Q/PTX Kernel Configuration Parameters

Table 10 lists the recommended values for NUMA-Q/PTX kernel configuration parameters for DB2 clients.
Note:You must reboot your machine after updating any kernel configuration parameters.

Table 10. NUMA-Q/PTX Kernel Configuration Parameters (Recommended Values)
Kernel Parameter Recommended Value
msgmax
msgmnb
msgseg
msgssz

65535
65535
8192
16
 

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.

Step  9.

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.

Step 11.

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.

Notes:

  1. The msgmax and msgmnb must be set to 65535 or larger.

  2. The msgseg parameter must be set no higher than 32767.

  3. The shmmax must be set to 2147483647 or larger.

After you have updated your kernel parameters, go to Installing Your DB2 Client to continue with the installation.

Solaris Kernel Configuration Parameters

Table 11 lists the recommended values for Solaris kernel configuration parameters.
Note:You must reboot your machine after updating any kernel configuration parameters.

Table 11. Solaris Kernel Configuration Parameters (Recommended Values)
Kernel Parameter Recommended Value
msgsys:msginfo_msgmax
msgsys:msginfo_msgmnb
msgsys:msginfo_msgseg
msgsys:msginfo_msgssz

65535  (1)
65535  (1)
8192
16

Notes:

  1. Parameters msgsys:msginfo_msgmnb and msgsys:msginfo_msgmax must be set to 65535 or higher.

To set a kernel parameter, add a line at the end of the /etc/system file as follows:

   set parameter_name = value

where parameter_name represents the parameter you want to change.

For example, to set the value of parameter msgsys:msginfo_msgmax, add the following line to the end of the /etc/system file:

   set msgsys:msginfo_msgmax = 65535

After you have updated your kernel parameters, go to Installing Your DB2 Client to continue with the installation.


[ Top of Page | Previous Page | Next Page ]