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

HP-UX Handbook Rev 13.00 Page 38 (of 49)
Chapter 18 Integrity Virtual Machines (HPVM)
October 29, 2013
- To migrate vmguest2 to virtual host vmhostB
vmhost:/>hpvmmigrate -P vmguest2 -h vmhostB
hpvmcollect
The hpvmcollect command collects log files, system status, device information, system and
Integrity Virtual Machines configuration, guest information, and, optionally, crash dumps.
When run on a VM Host, it collects systemwide information as well as information for a
specified guest.
When run in a guest, it collects only the information associated with the guest.
The hpvmcollect command creates a directory and produces a tar archive or a compressed tar
archive containing the collected information and places it in your current directory (default) or
the directory you specify with the d option on the host you specify with h option.
Example:
Collect host and guest data for a single guest name “vmguest1” into /tmp (/tmp/hpvmcollect_archive/ gets created)
# hpvmcollect d /tmp P vmguest1
Note: Please use it prior to logging a call.
hpvminfo
Allows you to determine whether you are running in a guest or on the VM Host. When run in a
guest, this command returns information to identify the VM Host.
Example:
Run in a VM host
vmhost:/>hpvminfo
hpvminfo: Running on an HPVM host.
- Run in a guest:
vmguest1:/>hpvminfo -V
hpvminfo: Running inside an HPVM guest.
Host chassis information
Host model string : ia64 hp server rx4640
Host serial number : DEH4547A7B
Host partition ident : f00974b0-7bb3-11da-954d-08663df866e2
Host machine ident : f00974b0-7bb3-11da-954d-08663df866e2
Host Inet information
Hostname : vmhost
Number of host IPv6 Addresses : 0