Preparing your HP-UX machine
This section includes information for setting up your operating system for WebSphere Portal with Cloudscape. Other components might require additional steps; see the product documentation for the specific components you want to install for information.
Configure HP-UX kernel settings before installing
To set kernel parameters, perform the following steps:
- Log into the host machine with superuser (root) privileges.
- Determine the physical memory, which know to avoid setting certain kernel parameters above the physical capacity:
- Start the HP-UX System Administration Manager (SAM) utility.
- Select Performance Monitors > System Properties > Memory.
- Note the value for Physical Memory and click OK.
- Exit from the SAM utility.
- Set the maxfiles and maxfiles_lim parameters to at least 4096. (The table below recommends 8000 and 8196, respectively. first edit the /usr/conf/master.d/core-hpux file, to allow the SAM utility to set values greater than 2048:
- Open the file /usr/conf/master.d/core-hpux 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. Old values might be stored in the /var/sam/boot.config file. Force the SAM utility to create a new boot.config file:
- 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 exists.
Alternatively, rebuild the boot.config file with this command:
# /usr/sam/lbin/getkinfo -b- Set new kernel parameter values:
- Start 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.
- Click OK.
When WebSphere Portal and DB2 are installed on the same machine, some kernel values are higher than those shown in the table below. If you are using this configuration, refer to the following topics for more information:
- Recommended HP-UX kernel configuration parameters for DB2 V8
- Recommended HP-UX kernel configuration parameters for DB2 V7
Typical kernel settings for running WebSphere Portal appear in the following table:
Parameter Value dbc_max_pct 25 maxdsiz 805306358 maxdsiz 2048000000 (when WebSphere Application Server Base and Network Deployment products are on the same machine) maxfiles_lim 8196 (Change this one before maxfiles.) maxfiles 8000 maxssiz 8388608 maxswapchunks 8192 max_thread_proc 3000 maxuprc 512 maxusers 512 msgmap 2048 msgmax 65535 msgmax 131070 (when WebSphere Application Server Base and Network Deployment products are on the same machine) msgmnb 65535 msgmnb 131070 (when WebSphere Application Server Base and Network Deployment products are on the same machine) msgmni 50 msgseg 32767 msgssz 32 msgtql 2046 nfile 58145 nflocks 3000 ninode 60000 nkthread 7219 nproc 4116 npty 2024 nstrpty 1024 nstrtel 60 sema 1 (with Embedded Messaging) semaem 16384 (with Embedded Messaging) semmap 514 semmni 2048 semmns 16384 (with Embedded Messaging) semmnu 1024 semume 200 semvmx 32767 (with Embedded Messaging) shmmax 2147483647 shmem 1 (with Embedded Messaging) shmmni 1024 shmseg 1024 STRMSGSZ 65535 - Select Actions > Process New Kernel.
- Click Yes on the information window to confirm your decision to restart the machine.
Follow on-screen instructions to restart your machine and to enable the new settings.
See also
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.