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
- When you run
powervc-diag
without any other arguments, by default, logs from management node, all HMCs, all NovaLink and all network nodes will be collected./usr/bin/powervc-diag
When using this command, consider increasing the wait time using -w option as HMC & NovaLink log collection takes more time.
- Collect only management node
logs:
or/usr/bin/powervc-diag --management-node-only
/usr/bin/powervc-diag --m
- Collecting specific logs for HMC and NovaLink node along with management node
logs:
/usr/bin/powervc-diag --hmcinfo [HMC IP] --novalinkinfo [NovaLink IP]
- Option
--management-node-only
cannot be used with options--hmcinfo
or--novalinkinfo
as they contradict each other.powervc-diag -m -l -c
Note: NovaLink logs are collected
by default unless
-l/--novalinkinfo
is used to collect individual NovaLink logs.