opacaptureall(8) | Master map: IFSFFCLIRG (Man Page) | opacaptureall(8) |
opacaptureall
(Chassis and Host) Captures supporting information for a problem report from all hosts or Intel(R) Omni-Path Chassis and uploads to this system.
For Hosts: When a host opacaptureall is performed, opacapture 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.
For Chassis: When a chassis opacaptureall is performed, opacapture is run on each chassis and its output is saved to upload_dir/chassisname/file on the local system. The default file name is chassiscapture.
For both host and chassis capture, the uploaded captures are combined into a .tgz file with the file name specified and the suffix .all.tgz added.
opacaptureall [-C] [-p] [-f hostfile] [-F
chassisfile] [-h 'hosts']
[-H 'chassis'] [-t portsfile] [-d upload_dir] [-S] [-D
detail_level]
[ file]
1 (Local) Obtains local information from each host.
2 (Fabric) In addition to Local, also obtains basic fabric information by queries to the SM and fabric error analysis using opareport.
3 (Fabric+FDB) In addition to Fabric, also obtains the Forwarding Database (FDB), which includes the switch forwarding tables from the SM.
4 (Analysis) In addition to Fabric+FDB, also obtains opaallanalysis results. If opaallanalysis has not yet been run, it is run as part of the capture.
NOTE: Detail levels 2-4 can be used when fabric operational problems occur. If the problem is node-specific, detail level 1 should be sufficient. Detail levels 2-4 require an operational Intel(R) Omni-Path Fabric Suite Fabric Manager. 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-4, the additional information is only gathered on the node running the opacaptureall command. The information is gathered for every fabric specified in the /etc/opa/ports file.
opacaptureall
# Creates a hostcapture directory in upload_dir/hostname/ for each host in
/etc/opa/hosts file, then creates hostcapture.all.tgz.
opacaptureall mycapture
# Creates a mycapture directory in upload_dir/hostname/ for each host in
/etc/opa/hosts file, then creates mycapture.all.tgz.
opacaptureall -h 'arwen elrond' 030127capture
# Gets the list of hosts from arwen elrond file and creates 030127capture.tgz
file.
opacaptureall -C
# Creates a chassiscapture file in upload_dir/chassisname/ for each chassis
in /etc/opa/chassis file, then creates chassiscapture.all.tgz.
opacaptureall -C mycapture
# Creates a mycapture.tgz file in upload_dir/chassisname/ for each chassis
in /etc/opa/chassis file, then creates mycapture.all.tgz.
opacaptureall -C -H 'chassis1 chassis2' 030127capture
# Captures from chassis1 and chassis2, and creates 030127capture.tgz file.
The following environment variables are also used by this command:
When performing opacaptureall against hosts, internally SSH is used. The command opacaptureall requires that password-less SSH be set up between the host running Intel(R) Omni-Path Fabric Suite FastFabric Toolset and the hosts opacaptureall is operating against. The opasetupssh command can aid in setting up password-less SSH.
When performing operations against chassis, Intel recommends that you set up SSH keys using opasetupssh. If SSH keys are not set up, Intel recommends that all chassis be configured with the same admin password and that you use of the -S option to avoid keeping the password in configuration files.
NOTE: The resulting host capture files can require significant amounts of space on the Intel(R) Omni-Path 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(R) Omni-Path Fabric Suite FastFabric Toolset system. In many cases, it may not be necessary to run opacaptureall against all hosts or chassis; instead, a representative subset may be sufficient. Consult with your support representative for further information.
Intel Corporation | Copyright(C) 2015-2018 |