HP Integrity Virtual Machines Installation, Configuration, and Administration Version A.03.50

-l
Leaves the collected information in the directory rather than an
archiving it. Valid on both the VM Host and the guest.
-s hostname
Specifies a hostname to receive the archive, which is copied using
scp. Verify that you can login to the host without a password.
Valid on both the VM Host and the guest.
-h
Displays the help message. Valid on both the VM Host and the
guest.
-P vm_name
Specifies the unique name of the virtual machine to be archived.
Valid on the VM Host only.
The -P and -p options are mutually exclusive.
-p vm_number
Specifies the unique number of the virtual machine to be
archived. The vm_number is displayed by the hpvmstatus
command. Valid on the VM Host only.
The -P and -p options are mutually exclusive.
RETURN VALUES
The hpvmcollect command exits with one of the following values:
0: Successful completion.
1: One or more error conditions occurred.
DIAGNOSTICS
Thehpvmcollect command displays the status of each collection line by line:
OK: The item collection was successful.
NO: The option was not used to collect the item.
N/A:hpvmcollect was supposed to collect the item but failed. Possible reasons include:
The command is not available (for example, it may not be in $PATH).
The command exited with an error; thus, there was no collection.
The condition that triggers the log file generation did not occur.
EXAMPLES
On a VM Host, collect VM Host and guest myguest information:
# hpvmcollect -P myguest
HPVM host crash/log collection tool version 3.0
Gathering info for post-mortem analysis of guest 'myguest' on host
Copying host's device database ...................................... N/A
Collecting I/O configuration info ................................... OK
Collecting filesystem info .......................................... OK
Collecting system info .............................................. OK
Collecting lan info ................................................. OK
Running lanshow ..................................................... NO
Collecting installed sw info ........................................ OK
Collecting command logs ............................................. OK
Collecting messages from vmm ........................................ OK
Collecting lv info .................................................. N/A
Collecting vgdisplay info ........................................... OK
Collecting vxprint info ............................................. OK
Collecting disk info ................................................ OK
Collecting passthru disk info ....................................... N/A
Collecting file backing store info .................................. OK
Copying guest's log file ............................................ OK
Copying guest's tombstone file ...................................... N/A
Copying guest's console log file .................................... OK
193