This page describes all the available methods for collecting logs and diagnostic archives for Infinidat products.
Host PowerTools
There are two options to collect logs in Host PowerTools: from the command-line and from the web interface.
Collecting logs from the command-line
To collect from the command-line, run infinihost logs collect
; this command will generate a tgz archive with all the logs and output of the troubleshooting commands. There are several command-line options to pass to the utility:
Usage: infinihost logs collect [(--interactive | --only-infinihost-logs)] [--file=FILE] [--timestamp=DATETIME] [--span=TIME] Options: --timestamp=DATETIME date and time of logs to collect. see --span [default: now] --span=TIME number of seconds to go back from --timestamp to start collecting the logs [default: 86400] --only-infinihost-logs only collect infinihost log files --interactive interactively choose what to collect --file=FILE save the diagnostic archive as a specific path
Collecting logs from the GUI
There is another option to download the diagnostic archive from the web interface.
- Invoke the GUI by:
- Run
infinihost-gui
. The result is the URL of the GUI. - Paste the URL to a browser.
- Run
- Click Collect Logs from the top-right corner.
- Wait for the upload to complete before closing the browser.
Host PowerTools for VMware
In the Host PowerTools for VMware, there are two options to get the logs.
View log file
The first option, View Log File, open the following page in which you can see scroll and search in the most recent log file, download it, or collect all the log files:
Collect logs
See instructions here: 22157421 Troubleshooting guide for Host PowerTools for VMware.
OpenStack volume driver
The infinihost command-line utility, provided by the Host PowerTools package, collects the logs for our OpenStack volume driver.
InfiniMetrics
How to fetch a log from a browser
Use either of the following URLs:
- If you know the InfiniBox serial number, go to: http://<InfiniMetrics>/system/<serial>/collect_logs.
- If you do not have the InfiniBox serial number (in this case, all logs for all of your InfiniBox systems are collected), go to:http://<infinimetrics>/collect_logs
The log file is downloaded.
How to fetch a log from the command-line
- SSH to InfiniMetrics (follow the instructions described on: Upgrading InfiniMetrics.
- Run:
infinimetrics collect-logs
.
InfiniSnap engine for Commvault Simpana
When possible, our volume engine sends logs messages to the Simpana logging mechanism. More debug logs can be found at %SystemRoot%/Temp/infinidat_commvault* for Windows-based agents, and at /var/log/infinidat_commvault* or /tmp/infinidat_commvault* for UNIX-based agents, depending on write permissions.
Infinidat Storage Replication Adapter for VMware SRM
Our SRA package provides a command-line tool named infinisra-tools for collecting logs:
Usage: infinisra_tools logs-collect [--interactive] [--file=FILE] [--timestamp=DATETIME] [--span=TIME] Options: --interactive ask before collecting each log file --file=FILE output filename or path (optional) --timestamp=DATETIME date and time of logs to collect. see --span [default: now] --span=TIME time to go back from --timestamp to start collecting the logs [default: 1d
VSS Hardware Provider
The infinihost command-line utility, provided by the Host PowerTools package, collects the logs for out VSS provider; which are at %SystemRoot%/Temp/*infi_vss*.
Last edited: 2021-11-17 16:55:38 UTC
Comments