Several HP-UX kernel values are typically too small for
a WebSphere® ESB installation.
You must set selected kernel parameters to higher values.
About this task
Use the following procedure to set kernel parameters for
use with
WebSphere ESB:
Procedure
- If you are not already logged into the host workstation
as root, do so.
- Determine the physical memory. Knowing the memory limits
of your machine is important in order to avoid setting certain kernel
parameters higher than the available physical capacity. To determine
the physical memory, perform the following steps:
- Start the HP-UX System Administration Manager (SAM)
utility with the /usr/sbin/sam command.
- Select Performance Monitors > System Properties >
Memory.
- Note the value for Physical Memory and select OK.
- Exit from the SAM utility.
- Certain parameters such as maxfiles and maxfiles_lim need
values higher than 4096. In order to do this, you must first edit
the /usr/conf/master.d/core-hpux file so that the SAM utility
can set values greater than 2048. The following table recommends 8000
and 8196, respectively. To edit this file, perform the following steps:
- Open the /usr/conf/master.d/core-hpux file
in a text editor.
- Change the line "*range maxfiles<=2048" to "*range
maxfiles<=60000".
- Change the line "*range maxfiles_lim<=2048" to "*range
maxfiles_lim<=60000".
- Save and close the file.
- The SAM utility stores old values in the /var/sam/boot.config file.
To retain the new values, force the SAM utility to create a new boot.config file
by performing the following steps:
- Move the existing version of the /var/sam/boot.config file
to another location, such as the /tmp directory.
- Start the SAM utility.
- Select Kernel Configuration > Configurable Parameters.
When the Kernel Configuration window opens, a new boot.config file
is created.
Alternatively, rebuild the
boot.config file with
the following command:
# /usr/sam/lbin/getkinfo -b
- Set the new kernel parameter values by doing the following:
- Start the SAM utility with the /usr/sbin/sam command.
- In the SAM utility, select Kernel Configuration >
Configurable Parameters.
- For each of the parameters in the following table, perform
this procedure:
- Highlight the parameter to change.
- Select Actions > Modify Configurable Parameter.
- Type the new value in the Formula/Value field.
- Select OK.
Change typical kernel settings for running
WebSphere ESB in
the order shown in the following table.
Parameter |
Value |
swchunk |
8192 |
shmseg |
512 |
maxdsiz |
3221225472 |
maxdsiz_64bit |
64424509440 |
maxfiles_lim |
10000 (Change this one before maxfiles.) |
maxfiles |
8192 |
semume |
512 |
semmsl |
3072 |
msgssz |
512 (Change this one before msgmax) |
nkthread |
10000 |
max_thread_proc |
4096 |
nproc |
8192 (Change this one before maxuprc) |
maxuprc |
4096 |
nflocks |
11585 |
ninode |
8110 |
msgmap |
13109 |
msgseg |
32767 (Change this one before msgmax) |
msgmnb |
65535 (0x10000) (Change this one before msgmax) |
msgmnb |
131070 (when running multiple profiles on the
same system) |
msgmax |
65535 (0x10000) |
msgmax |
131070 (when running multiple profiles
on the same system) |
msgmni |
4634 |
semmns |
11586 |
semmni |
8192 |
semmnu |
8180 |
shmmax |
185513715302 |
shmmni |
8192 |
STRMSGSZ |
65535 |
dbc_max_pc |
10 |
nstrpty |
60 |
cmc_plat_poll |
15 |
msgtql |
13107 |
When WebSphere ESB and IBM® DB2® are
on the same workstation, some kernel values are higher than those
shown in the table.
See the recommended HP-UX kernel configuration
parameters for DB2 Universal Database™, version 8.x, in the DB2 information center: DB2 Information
Center.
- Select Actions > Process New Kernel.
- Select Yes on the information window to confirm
your decision to restart the workstation.
Follow the
on-screen instructions to restart your workstation and to enable the
new settings.
- If you plan to redirect displays to non-HP workstations,
perform the following steps before running the WebSphere ESB installation
wizard:
- Issue the following command to obtain information on
all the public locales that are accessible to your application:
# locale -a
- Choose a value for your system from the output that
is displayed and set the LANG environment variable to this value.
Here is an example command that sets the value of LANG to en_US.iso88591:
# export LANG=en_US.iso88591