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

12.1.2 Using the hpvmcollect Command on Guests
To use the hpvmcollect command on the guest, you must first install the guest management
software on the guest as described in Section 9.3 (page 127).
Table 12-2 describes the options to the hpvmcollect command on the guest.
Table 12-2 Options to the hpvmcollect Command on Guests
DescriptionOption
Includes the latest crash dump directory in the archive. This option is used
if the guest or the VM Host fails or hangs.
-c
Forces an archive to be overwritten, if it exists, rather than renamed with
an appended time stamp.
-f
Deletes old guest memory dump data as part of data collection.
-g
Displays the help message for the hpvmcollect command.-h
Leaves the collected information in a directory rather than in an archive
file. The directory name follows the same naming convention as the archive
name.
-l
Specifies the archive name with the specified label. If an archive with the
same name exists, it is renamed by appending a time stamp to the original
name before the new archive is created.
-b report-number
Specifies a target directory in which to create the hpvmcollect_archive
directory.
-d dir
Specifies the number of crash dumps to copy to the archive. By default,
the hpvmcollect command copies the latest crash dump directory (based
on the bounds file). This option can be used only with the -c option.
-n crash-dump
Specifies a hostname to receive the archive, which is copied using the scp
command. Verify that you can log in to the host without a password.
-s host
When you use the hpvmcollect command on the guest, do not specify the guest name. By
default, the guest name is used as an archive directory name. You can use the -d option to specify
the archive name. The following is an example of the hpvmcollect when it is run on the guest
compass1:
compass1# hpvmcollect -c
HPVM guest crash/log collection tool version 0.8
Gathering info for post-mortem analysis on guest (hostname 'compass1')
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 crash dump 1 ............................................ OK
Running crashinfo ................................................... NO
Collecting tombstone ................................................ N/A
Collecting system message buffer .................................... OK
Collecting system syslogs ........................................... OK
Collecting measureware log .......................................... N/A
Finished with the collection
Tar archiving and compressing ....................................... TAR
Remote copying the archive ......................................... NO
172 Reporting Problems with Integrity VM