Ignite-UX Custom Configuration files

automatical
ly selected; otherwise, if this is a server selected, then "Kernel Config for
Servers" will be selected. If neither of these are selected, the "Kernel Config for
Workstations" will be selected.
( sw_sel "B9789AA,r=1.3.1.09.08" ) {
init sw_sel "Kernel Config for Java" = TRUE
} else {
( HARDWARE_MODEL ~ "9000/8" | MODEL ~ "ia64.*server" ) {
init sw_sel "Kernel Config for Servers" = TRUE
} else {
init sw_sel "Kernel Config for Workstations" = TRUE
}
}
It is important to understand that, starting with HP-UX B.11.23, the format of the cplx-string
arguments to mod_kernel, set_kernel, and rm_kernel have changed and are incompatible
with the previous format. The following information is from the Ignite-UX Reference:
"Beginning with the B.11.23 release, the format for cplx
-string arguments is enhanced.
There are additional formats:
mod_kernel += "tunable name
value"
mod_kernel += "module name
[state]"
The first performs the same as it did previously with the addition of the keyword tunable. The
second describes how kernel modules are added to the client. The optional state argument has
one of four values: static, auto, loaded, and best. No syntax checking is performed for
this value. See kcmodule(1M) for more information."
So to tune maxdsiz at HP-UX B.11.11, you would need to set it as follows:
set_kernel = "maxdsiz 0x4000000"
At HP-UX B.11.23, you should use:
set_kernel = "tunable maxdsiz 0x4000000"
Under a lot of circumstances configuration files are not shared between HP-UX revisions, so this
does not create an immediate problem. However, if you do share a configuration file that tunes the
kernel between HP-UX releases, you should probably do it as follows. This example assumes that
you wish different tunables for HP-UX B.11.11, B.11.23, and B.11.31:
...
( release == "B.11.11" ) {
set_kernel = "maxdsiz 0x4000000"
set_kernel += "maxusers 64"
} else {
( release == "B.11.23" ) {
set_kernel = "maxdsiz 0x4000000"
} else {
( release == "B.11.31" ) {
set_kernel = "tunable maxdsiz 0x4000000"
} else {
error +="release " + ${release} + " not supported by this
configuration."
126