WebSphere WebSphere Enterprise Service Bus, Version 6.0.1 Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Setting kernel values on HP-UX systems

Several HP-UX kernel values are typically too small for a WebSphere ESB, installation. You must set selected kernel parameters to higher values.

Why and when to perform this task

To set kernel parameters, perform the following steps:

Steps for this task

  1. Log into the host machine as root.
  2. Determine the physical memory, which you must know to avoid setting certain kernel parameters above the physical capacity. To determine the physical memory, perform the following steps:
    1. Start the HP-UX System Administration Manager (SAM) utility.
    2. Select Performance Monitors > System Properties > Memory.
    3. Note the value for Physical Memory and select OK.
    4. Exit from the SAM utility.
  3. Because you need to set certain parameters such as maxfiles and maxfiles_lim to values higher than 2048, you must first edit the /usr/conf/master.d/core-hpux file, so the SAM utility can set values greater than 2048. To edit this file, perform the following steps:
    1. Open the /usr/conf/master.d/core-hpux file in a text editor.
    2. Change the line "*range maxfiles<=2048" to "*range maxfiles<=60000".
    3. Change the line "*range maxfiles_lim<=2048" to "*range maxfiles_lim<=60000".
    4. Save and close the file.
      Because old values might be stored in the /var/sam/boot.config file, you must force the SAM utility to create a new boot.config file by performing the following steps:
      1. Move the existing version of the /var/sam/boot.config file to another location, such as the /tmp directory.
      2. Start the SAM utility.
      3. Select Kernel Configuration > Configurable Parameters. When the Kernel Configuration window opens, a new boot.config file exists.
      Alternatively, rebuild the boot.config file with the following command:
      # /usr/sam/lbin/getkinfo -b
  4. Set the new kernel parameter values by doing the following:
    1. In the SAM utility, select Kernel Configuration > Configurable Parameters.
    2. For each of the parameters in the following table, perform this procedure:
      1. Highlight the parameter to change.
      2. Select Actions > Modify Configurable Parameter.
      3. Type the new value in the Formula/Value field.
      4. Select OK.
      Change typical kernel settings for running WebSphere ESB in the order shown in Table 1.
      Table 1. Recommended kernel settings for WebSphere ESB
      Parameter Value
      STRMSGSZ 65535
      dbc_max_pct 25
      maxdsiz 805306358 (0x30000000)
      maxdsiz 2048000000 (when running multiple profiles on the same system)
      maxfiles_lim 8196 (Change this one before maxfiles.)
      maxfiles 8000
      maxssiz 8388608
      maxswapchunks 8192
      maxusers 512
      nkthread 7219
      max_thread_proc 3000
      nproc 4116 (Change this one before maxuprc.)
      maxuprc 512
      msgtql 2046
      msgmap 2048
      msgssz 32 (Change this one before msgmax.)
      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 50
      nfile 58145
      nflocks 3000
      ninode 60000
      npty 2024
      nstrpty 1024
      nstrtel 60
      sema 1
      semaem 16384 (0x4000)
      semmns 16384 (0x4000) (Change this one before semmap.)
      semmni 2048 (Change this one before semmap.)
      semmap 514
      semmnu 1024
      semume 200
      semvmx 32767
      shmem 1
      shmmax 2147483647 (0x7FFFFFFF)
      shmmni 1024
      shmseg 1024

      When WebSphere ESB and IBM DB2 are on the same machine, some kernel values are higher than those shown in Table 1.

      See the recommended HP-UX kernel configuration parameters for DB2 Universal Database, Version 8.x, in the DB2 information center: http://publib.boulder.ibm.com/infocenter/db2help/index.jsp.

  5. Select Actions > Process New Kernel.
  6. Select Yes on the information window to confirm your decision to restart the machine.

    Follow the on-screen instructions to restart your machine and to enable the new settings.

  7. If you plan to redirect displays to non-HP machines, perform the following steps before running the WebSphere ESB Installation Wizard:
    1. Issue the following command to obtain information on all the public locales that are accessible to your application:
      # locale -a
    2. 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

Task topic

Terms of Use | Rate this page

Timestamp iconLast updated: 13 Dec 2005
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.wesb.doc\doc\tins_set_kernel_hpux.html

(C) Copyright IBM Corporation 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)