powervc-diag command

The powervc-diag command collects diagnostic data from your IBM® Power® Virtualization Center installation. The diagnostic data is collected into a single compressed archive file.  It is most commonly used during problem determination activities.

The powervc-diag command is located in the /usr/bin directory. It is not required to specify the path when running the command.
Important: The SSH service must be enabled on the HMC before running this command.

When you run the command, all buffered log information is written to log files on disk. For a list of command options, run powervc-diag --help.

If authentication fails, the following files are not collected:
From the nova info folder:
  • flavorlist.info
  • hypervisorstats.info
  • extensions.info
From the glance info folder:
  • imagedetails.info

Examples

  • Collect HMC host logs:
    /usr/bin/powervc-diag -hmcinfo [HMC IP]
  • Run the environment validator and collect validation results: PowerVC services:
    /usr/bin/powervc-diag -v
  • Collect NovaLink logs:
    /usr/bin/powervc-diag --novalinkinfo [HOSTNAME]
Note: NovaLink logs are collected by default unless -l/--novalinkinfo is used to collect individual NovaLink logs.