HP-UX HB v13.00 Ch-18 - HPVM

HP-UX Handbook Rev 13.00 Page 26 (of 49)
Chapter 18 Integrity Virtual Machines (HPVM)
October 29, 2013
You will see two warnings that are expected (please ignore them):
Warning: creating filesystem that does not conform to ISO-9660.
Warning: ISO-9660 filenames longer than 31 may cause buffer overflows in the
OS.
The command will take several minutes to complete and will be fairly verbose.
f) Rendering the ISO mountable and bootable
The final ISO image (virtual DVD) will be both a bootable DVD (via the LIF image) and a file
system that can be mounted by HP-UX. To enable the ISO image to function both ways,
instl_combine is used as follows:
# /opt/ignite/lbin/instl_combine -C /scratch/B.11.31.iso
g) Validating the ISO image
Now that the ISO image is complete, verify that it is a valid LIF image:
# lifls /scratch/B.11.31.iso
which will simply list its contents. If it fails or produces error messages, then your ISO image is
either too large for lifls to read (over 2GB) or it is corrupt.
In the event that the ISO image is larger than 2GB, lifls will produce the following message:
lifls(open): Value too large to be stored in data type
lifls: Can't list /scratch/B.11.31.iso; file not opened
To check whether this (large) image is, in fact, valid use the workaround for this problem - copy
the first 600MB to another file with dd and run lifls on the resulting file.
Loading VM Guest from DVD/ISO
A VM may be configured with a virtual DVD by specifying the virtual DVD definition with
commands such as hpvmcreate and hpvmmodify. To check what virtual DVD devices (if any)
are defined for a VM, execute the following:
# hpvmstatus -P vmguest2 | grep dvd
dvd scsi 0 1 0 1 0 file /hpvm/ISO/B.11.31.iso
From the above we deduce that there is, indeed, a virtual DVD device associated with vmguest2
which is associated with the file /hpvm/ISO/B.11.31.iso. If no such device exists, it can be
added as follows:
# hpvmmodify -P vmguest2 -a dvd:scsi::file:/hpvm/ISO/B.11.31.iso