description = "Kernel Configuration sets"

}

sw_source "Kernel Configuration" { source_format = cmd load_order = 11

}

The first sw_sel defines a set of kernel parameters that can be applied to a system when Java is installed. The only new items here are the exrequisite statement and set_kernel. The set_kernel statements enable you to easily set the formula as the value to be assigned to a kernel tunable since Ignite-UX does not attempt to check the value being assigned to the kernel tunable. It is simply set to that value.

The exrequisite ensures that if this sw_sel is selected, none of the exrequisites are also selected (they are unselected when this sw_sel is selected).

sw_sel "Kernel Config for Java" {

description =

"Tunable settings required for Java 1.4.2"

sw_source = "site commands"

sw_category =

"KernelConfig"

exrequisite =

"Kernel Config for Servers"

exrequisite += "Kernel Config for Workstations"

set_kernel = "maxusers 400"

set_kernel +=

"max_thread_proc maxusers*3"

set_kernel +=

"maxfiles 2048"

set_kernel +=

"maxfiles_lim 2048"

set_kernel +=

"ncallout 2*((((nproc*7)/4)+16)*2)"

set_kernel +=

"nkthread 2*max_thread_proc"

set_kernel +=

"nfile (2*nproc)+1000"

set_kernel +=

"nproc ((maxusers*5)+64)"

}

The next two sw_sels reinforce the use of exrequisites. Because all the sw_sel clauses explicitly state that if one is selected the other two cannot be, only one of them can be selected at any time.

sw_sel "Kernel

Config for Servers" {

description

= "Tunable settings required for Servers"

sw_source =

"site commands"

sw_category

= "KernelConfig"

exrequisite

= "Kernel Config for Java"

exrequisite

+= "Kernel Config for Workstations"

set_kernel = "maxdsiz 0x4000000" set_kernel += "maxusers 128"

}

sw_sel "Kernel Config for Workstations" {

description = "Tunable settings required for Workstations" sw_source = "site commands"

sw_category = "KernelConfig" exrequisite = "Kernel Config for Java" exrequisite += "Kernel Config for Servers" set_kernel = "maxdsiz 0x4000000" set_kernel += "maxusers 96"

}

In the following example, you have a configuration that will automatically select which sw_sel containing the kernel configuration changes to apply. If the sw_sel "B9789AA, r=1.3.1.09.08" is selected, then the sw_sel "Kernel Config for Java" will be

125