Collecting Supporting Information for Intel® Ethernet Fabric Suite Issues
How do I use the ethcapture command?
The ethcapture command captures critical system information into a zipped tar file. The resulting tar file should be sent to Customer Support along with any Intel® Ethernet Fabric problem report regarding this system.
Note | The resulting host capture file can require significant amounts of space on the host. The actual size varies, but sizes can be multiple megabytes. Intel recommends ensuring that adequate disk space is available on the host system. |
Syntax: ethcapture [-d detail] output_tgz_file
Options:
--help: Produces full help text.
-d detail: Captures level of detail:
1 (Local): Obtains local information from host. This is the default if no options are entered.
2 (Fabric): In addition to Local, also obtains basic fabric information by queries to the SM and fabric error analysis using ethreport.
3 (Analysis): In addition to Fabric, also obtains ethallanalysis results. If ethallanalysis has not yet been run, it is run as part of the capture.
Note | Detail levels 2–3 can be used when fabric operational problems occur. If the problem is node-specific, detail level 1 should be sufficient. Detail levels 2–3 require an operational Fabric. Typically, your support representative requests a given detail level. If a given detail level takes excessively long or fails to be gathered, try a lower detail level. For detail levels 2–3, the additional information is only available on a node with Intel® Ethernet Fabric Suite FastFabric Toolset installed. |
output_tgz_file: Specifies the name of a file to be created by ethcapture. The file name specified is overwritten if it already exists. Intel recommends using the .tgz suffix in the file name supplied. If the filename given does not have a .tgz suffix, the .tgz suffix is added.
Examples:
ethcapture mycapture.tgz
ethcapture -d 3 030127capture.tgz
How do I use the ethpacaptureall command?
The ethcaptureall command captures supporting information for a problem report from all hosts and uploads to this system.
When a host ethcaptureall is performed, ethcapture is run to create the specified capture file within ~root on each host (with the .tgz suffix added as needed). The files are uploaded and unpacked into a matching directory name within upload_dir/hostname/ on the local system. The default file name is hostcapture.
The uploaded captures are combined into a .tgz file with the file name specified and the suffix .all.tgz added.
Options:
--help: Produces full help text.
-p: Performs capture upload in parallel on all hosts.
-f hostfile: Specifies the file with hosts in cluster. Default is /etc/ethtools/hosts file.
-h hosts: Specifies the list of hosts on which to perform a capture.
-d upload_dir: Specifies the directory to upload to. Default is uploads. If not specified, the environment variable UPLOADS_DIR is used.
-D detail_level: Specifies the level of detail of the capture passed to host ethcapture.
1 (Local): Obtains local information from each host.
2 (Fabric): In addition to Local, also obtains basic fabric information by queries to the fabric and fabric error analysis using ethreport.
3 (Analysis): In addition to Fabric, also obtains ethallanalysis results. If ethallanalysis has not yet been run, it is run as part of the capture.
Note | For detail levels 2-3, the additional information is only gathered on the node running the ethcaptureall command. |
file: Specifies the name for capture file. The suffix .tgz is appended if it is not specified in the name.
Examples:
ethcaptureall
# Creates a hostcapture directory in upload_dir/hostname/ for each host in
/etc/eth-tools/hosts file, then creates hostcapture.all.tgz.
ethcaptureall mycapture
# Creates a mycapture directory in upload_dir/hostname/ for each host in
/etc/eth-tools/hosts file, then creates mycapture.all.tgz.
ethcaptureall -h 'arwen elrond' 030127capture
# Gets the list of hosts from arwen elrond file and creates
030127capture.tgz file.
Environment variables
The following environment variables are also used by this command:
- HOSTS: List of hosts, used if -h option not supplied.
- HOSTS_FILE: File containing a list of hosts, used in the absence of -f and -h.
- UPLOADS_DIR: Directory to upload to, used in the absence of -d.
- FF_MAX_PARALLEL: When the -p option is used, maximum concurrent operations are performed.
More information
When performing ethcaptureall against hosts, internally SSH is used. The command ethcaptureall requires that password-less SSH be set up between the host running Intel® Ethernet Fabric Suite FastFabric Toolset and the hosts ethcaptureall is operating against. The ethsetupssh command can aid in setting up password-less SSH.
Note | The resulting host capture files can require significant amounts of space on the Intel® Ethernet Fabric Suite FastFabric Toolset host. Actual size varies, but sizes can be multiple megabytes per host. Intel recommends that you ensure adequate space is available on the Intel® Ethernet Fabric Suite FastFabric Toolset system. In many cases, it may not be necessary to run ethcaptureall against all hosts; instead, a representative subset may be sufficient. Consult with your support representative for further information. |