Ignite-UX Custom Configuration files

You looked at _hp_sec_swap earlier in the configuration file to see how it was defined. The only
place you can give it a value is by using the Additional button on the Basic tab in the Ignite-UX
GUI. You can manually define secondary swap using the File system tab, but you must manually
select the disk to avoid it being on the same disk as primary swap. The configuration enables you
to have secondary swap/dump. You only have to care about its size, not placement.
So if the variable _hp_sec_swap is >0MB, swap/dump space is created. If there is more than
one disk in the root volume group, this swap/dump space is created on the second disk. If you
provide equal sized primary and secondary swap, it creates an interleaved swap setup.
Also, you set the options required for this swap space to also be used as a dump space (contiguous
allocation and bad block relocation off), and lastly you set the size to be _hp_sec_swap.
Secondary swap, if not used for dump, does not require contiguous allocation and bad_block
relocation to be _relocate set to true.
_hp_sec_swap > 0Mb {
logical_volume {
usage = SWAP_DUMP
mount_point = "secondary"
(num_vgdisks > 1)
{
# This maps the secondary swap space to
# the second disk when one is defined.
vgdisk[1]
}
contiguous_allocation = true # allows use as dump
bad_block_relocate = false # allows use as dump
size = _hp_sec_swap
}
}
Next /stand is defined. Of course, it must be HFS since the HP9000 secondary load cannot read
a VxFS file system. Only HP Integrity servers (starting with HP-UX B.11.23) can have a VxFS file
system in /stand. The block and fragment sizes are initialized from constants defined earlier. If you
have a disk less than 2050MB, /stand defaults to 84MB. A disk greater than or equal to
2050MB but less than 3075MB is 112MB in size; otherwise you get a 300MB /stand file system
by default.
logical_volume {
mount_point = "/stand"
# /stand must be HFS!
usage = HFS
blksize = _hp_HFS_blksize
fragsize = _hp_HFS_fragsize
# The /stand volume needs to be able to hold at least 5 kernels,
# for various debugging reasons. The typical 11i kernel is
# about 18Mb. The debug IA kernel is 42Mb. The smallest /stand
# area needs to be at least twice the largest possible kernel.
# Unless a user tries to put on more than the "normal" amount of
# software on a system with a large root disk, the default /stand
# directory will be 300Mb. To see the use of the size option,
# see the man page for "instl_adm".
disk[_hp_root_disk].size < 3075Mb {
disk[_hp_root_disk].size < 2050Mb {
# Most 2G drives are actually bigger than exactly 2G
size = 84Mb
56