HP-UX vPars and Integrity VM V6.3 Administrator Guide

B.1.2 Using the hpvmcollect command on vPars or VMs
To use the hpvmcollect command on the vPar and VM guest, you must first install the vPar and
VM guest VirtualBase software on the vPar and VM guest (if it is not already installed) as described
in Section 2.6.2 (page 35).
Table 40 (page 278) lists the options that can be used with the hpvmcollect command on the
guest.
Table 40 Options to the hpvmcollect command on guests
DescriptionOption
Includes the latest crash dump directory in the archive. This option is used
if the vPar and VM guest or the VSP fails or hangs.
-c
Forces an archive to be overwritten, if it exists, rather than renamed with
an appended time stamp.
-f
Deletes old vPar and VM guest t 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 VSP name to receive the archive, which is copied using the scp
command. Verify that you can log in to the VSP without a password.
-s host
When you use the hpvmcollect command on the vPar and VM guest, do not specify the vPar
and VM guest name. By default, the vPar and VM 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 VMhost1:
host1# hpvmcollect -c
HPVM guest crash/log collection tool version B.06.10.05
Gathering info for post-mortem analysis on guest (hostname 'host1')
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
278 Reporting problems with vPars and Integrity VM