Installing HP-UX 11.0 and Updating HP-UX 10.x to 11.0 HP 9000 Computers Edition 1

Appendix C 271
Ignite-UX System Administration
Section 9: Setting Install Parameters Dynamically
This could also be added to the “config” file created for automatic installs
(see Section 4). Note that if the “_hp_pri_swap” parameter is set later
in the order of files searched in the “cfg” definition, this setting will be
overwritten. The order the files are evaluated is documented in the
instl_adm(4) man page. Also be aware that the config file used for
automatic installs is overwritten as part of the install process. Again, see
Section 4 for details.
2. In this example, we’ll force the load of a patch bundle if we determine
the target machine matches the regular expression “71*”, such as a 710
or 712.
Add the following lines to the end of the file:
/var/opt/ignite/data/Rel_B.11.00/core_700_archive_cfg
# check for H/W model 71x
# and add the Misc_Patches bundle if true
(hardware_model ~ “9000/71*”) {
init “Misc_Patches” = true
}
3. This example will run a previously created post install script and
increase a tunable kernel parameter if we determine our target machine
is a Model 755. If not, it sets a default value for the kernel parameter:
post_config_script += “/var/opt/ignite/scripts/755special”
HARDWARE_MODEL == “9000/755” {
post_config_script += “/var/opt/ignite/scripts/755special”
mod_kernel += “maxuprc 300”
}
else
{
mod_kernel += “maxuprc 100”
}
4. In this example we’ll load an entirely different configuration based on
the size of the system RAM and disk. For this to have effect, it must go
into the INSTALLFS file by using the instl_adm command as described
in Section 3
# For a system with only one disk and small memory, select
# the “small system configuration”
(num_disks == 1 & memory < 64MB )