HP-UX vPars and Integrity VM V6.1.5 Administrator Guide (5900-2295, April 2013)
The following example sets the device /dev/rdisk/disk100 as a restricted device:
# hpvmdevmgmt -a rdev:/dev/rdisk/disk100
11.2.5 Unpresenting SAN devices to Integrity VSPs
Unpresenting SAN devices that were configured to be used by guests causes the guest to fail to
start. If SAN devices must be unpresented, guests configured to use those devices should be
reconfigured to no longer require them. After unpresenting a device special file, remove it from
the Integrity VSP using the following command:
# rmsf –a device_special_file
The device special file can be derived from the wwid_string, obtained from the SAN appliance,
as follows:
# scsimgr -p get_attr -a wwid -a device_file current all_lun | grep wwid_string
11.2.6 Changes to the hpvmstatus command
The Runsysid and Rmt Host columns of the hpvmstatus command output have been
renamed to allow for the display of additional information. The hpvmstatus command now displays
the virtual machine type, as follows:
The following example shows the output of the hpvmstatus command:
# hpvmstatus
Virtual Machine Name VM # Type OS Type State #VCPUs #Devs #Nets Memory
==================== ===== ==== ======= ========= ====== ===== ===== =======
vPar0002 2 VP HPUX Off 3 0 0 2048 MB
guest1 3 SH UNKNOWN Off 4 0 0 10 GB
ux1 1 SH HPUX Off 4 2 1 3 GB
The hpvmstatus -V option has been modified to display the new attributes, after the "Runnable
status" and associated attributes.
Graceful stop timeout : 30
Runnable status : Disabled
Not runnable setby : Migrate
Not runnable reason : Guest has been migrated to host colonial6.
Modify status : Disabled
Not modify setby : Migrate
Not modify reason : Guest has been migrated to host colonial6.
Visible status : Disabled
Not visible setby : Migrate
Not visible reason : Guest has been migrated to host colonial6.When these attributes are enabled the string
"Enabled" will be displayed.
If you need to parse the output of the hpvmstatus command, use the -M option, which provides
output in a machine-readable format. The hpvmstatus manpage explains the -M option:
-M displays verbose attribute and resource information in machine-readable format including
information about migrating virtual machines.
11.3 Monitoring guests
To display information about all the vPars/VM configured on the VSP, enter the hpvmstatus
command.
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ======== ====== ===== ===== ======= ========
config1 1 HPUX Off 1 5 1 512 MB 0
config2 2 HPUX On (OS) 1 7 1 1 GB 0
guest1 5 HPUX Off 1 5 1 1 GB 0
The vPar/VM status is displayed in the State column and indicates whether the virtual machine
is powered off or on. When the vPar/VM is on, the status also includes one of the following:
174 Managing vPars/VMs