WebSphere Enterprise Service Bus, Version 6.2.0 Operating Systems: AIX, HP-UX, i5/OS, 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.

About this task

Use the following procedure to set kernel parameters for use with WebSphere ESB:
Procedure
  1. If you are not already logged into the host workstation as root, do so.
  2. 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:
    1. Start the HP-UX System Administration Manager (SAM) utility with the /usr/sbin/sam command.
    2. Select Performance Monitors > System Properties > Memory.
    3. Note the value for Physical Memory and select OK.
    4. Exit from the SAM utility.
  3. 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:
    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.
  4. 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:
    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 is created.
    Alternatively, rebuild the boot.config file with the following command:
    # /usr/sam/lbin/getkinfo -b
  5. Set the new kernel parameter values by doing the following:
    1. Start the SAM utility with the /usr/sbin/sam command.
    2. In the SAM utility, select Kernel Configuration > Configurable Parameters.
    3. 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 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.

  6. Select Actions > Process New Kernel.
  7. 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.

  8. If you plan to redirect displays to non-HP workstations, 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 Task topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.doc/doc/tins_set_kernel_hpux.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).