Technical data
Virtual Partitions (vPars) Management on nPartitions
Configuring vPar Autoboot
HP System Partitions Guide: Administration for nPartitions, rev 5.1
498
When the nPartition reboots to its BCH interface, it will proceed to boot
the device path you specified using nPartition boot paths and path flags.
The nPartition then will execute the device’s AUTO file contents that you
specified, to load the /stand/vpmon vPars monitor. Finally, because the
vPars monitor is invoked with the -a option, it will automatically
load/boot all vPars that have autoboot configured.
Example 11-1 Autoboot Configuration Example for Virtual Partitions (vPars)
In this example, the user first confirms that the vPars database
(/stand/vpdb) and vPars monitor (/stand/vpmon) are in the /stand
directory and thus can be referenced and booted.
The bdf command displays the logical volume associated with the
/stand directory, and the the lvdisplay command then displays the
device file associated with the logical volume.
# ls /stand/vp*
/stand/vpdb /stand/vpmon
# bdf /stand
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol1 512499 71581 389668 16% /stand
# lvdisplay -vk /dev/vg00/lvol1 | grep dev
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
/dev/dsk/c1t5d0 128 128
#
The first lifcp command that follows displays the original contents of
the boot device’s AUTO file. Originally, this device is configured with the
AUTO file default, hpux, which invokes the hpux loader with no options
and thus the /stand/vmunix kernel would be booted.
The mkboot command that follows sets the AUTO file contents so that
the hpux loader will boot the /stand/vpmon vPars monitor with the -a
option. Issuing the lifcp command again shows the new contents of the
device’s AUTO file.
# lifcp /dev/dsk/c1t5d0:AUTO -
hpux
# mkboot -a "hpux boot /stand/vpmon -a" /dev/dsk/c1t5d0
# lifcp /dev/dsk/c1t5d0:AUTO -
hpux boot /stand/vpmon -a
#










