Blame IbaTools/man/opacaptureall.manPage

Packit 857059
.\" .\" *********************************************************************
Packit 857059
.\" .\" *                                                                   *
Packit 857059
.\" .\" *             Copyright 2015-2019, Intel Corporation                *
Packit 857059
.\" .\" *                                                                   *
Packit 857059
.\" .\" *                       All Rights Reserved.                        *
Packit 857059
.\" .\" *                                                                   *
Packit 857059
.\" .\" *********************************************************************
Packit 857059
Packit 857059
.TH opacaptureall 8 "Intel Corporation" "Copyright(C) 2015\-2019" "IFSFFCLIRG (Man Page)"
Packit 857059
.SH NAME
Packit 857059
opacaptureall
Packit 857059
Packit 857059
Packit 857059
.PP
Packit 857059
Packit 857059
\fB(Chassis and Host)\fR
Packit 857059
Captures supporting information for a problem report from all hosts or Intel(R) Omni-Path Chassis and uploads to this system.
Packit 857059
.PP
Packit 857059
Packit 857059
\fBFor Hosts:\fR
Packit 857059
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\(uldir/\fIhostname\fR/ on the local system. The default file name is hostcapture.
Packit 857059
.PP
Packit 857059
Packit 857059
\fBFor Chassis:\fR
Packit 857059
When a chassis opacaptureall is performed, opacapture is run on each chassis and its output is saved to upload\(uldir/\fIchassisname\fR/\fIfile\fR on the local system. The default file name is chassiscapture.
Packit 857059
.PP
Packit 857059
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.
Packit 857059
.SH Syntax
Packit 857059
opacaptureall [-C] [-p] [-f  \fIhostfile\fR] [-F  \fIchassisfile\fR] [-h \[aq]\fIhosts\fR\[aq]]
Packit 857059
.br
Packit 857059
Packit 857059
[-H \[aq]\fIchassis\fR\[aq]] [-t  \fIportsfile\fR] [-d  \fIupload\(uldir\fR] [-S] [-D  \fIdetail\(ullevel\fR]
Packit 857059
.br
Packit 857059
Packit 857059
[ \fIfile\fR]
Packit 857059
.SH Options
Packit 857059
Packit 857059
.TP 10
Packit 857059
--help
Packit 857059
Packit 857059
Produces full help text.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-C
Packit 857059
Packit 857059
Performs capture against chassis. Default is hosts.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-p
Packit 857059
Packit 857059
Performs capture upload in parallel on all host/chassis. For a host capture, this only affects the upload phase.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-f \fIhostfile\fR
Packit 857059
Packit 857059
Specifies the file with hosts in cluster. Default is /etc/opa/hosts file.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-F \fIchassisfile\fR
Packit 857059
Packit 857059
Specifies the file containing a list of chassis in the cluster. Default is /etc/opa/chassis file.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-h \fIhosts\fR
Packit 857059
Packit 857059
Specifies the list of hosts on which to perform a capture.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-H \fIchassis\fR
Packit 857059
Packit 857059
Specifies the list of chassis on which to perform a capture.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-t \fIportsfile\fR
Packit 857059
Packit 857059
Specifies the file with list of local HFI ports used to access fabric(s) for switch access. Default is /etc/opa/ports file.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-d \fIupload\(uldir\fR
Packit 857059
Packit 857059
Specifies the directory to upload to. Default is uploads. If not specified, the environment variable \fBUPLOADS\(ulDIR\fR is used. If that is not exported, the default ./uploads is used.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-S
Packit 857059
Packit 857059
Securely prompts for password for administrator on a chassis.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-D \fIdetail\(ullevel\fR
Packit 857059
Packit 857059
Specifies the level of detail of the capture passed to host opacapture. (Only used for host captures; ignored for chassis captures.)
Packit 857059
.RS
Packit 857059
.TP 10
Packit 857059
Packit 857059
.sp
Packit 857059
1 (Local)
Packit 857059
Obtains local information from each host.
Packit 857059
.RE
Packit 857059
Packit 857059
.RS
Packit 857059
.TP 10
Packit 857059
Packit 857059
.sp
Packit 857059
2 (Fabric)
Packit 857059
In addition to \fILocal\fR, also obtains basic fabric information by queries to the SM and fabric error analysis using opareport.
Packit 857059
Packit 857059
.RE
Packit 857059
Packit 857059
.RS
Packit 857059
.TP 10
Packit 857059
Packit 857059
.sp
Packit 857059
3 (Fabric+FDB)
Packit 857059
In addition to \fIFabric\fR, also obtains the Forwarding Database (FDB), which includes the switch forwarding tables from the SM.
Packit 857059
Packit 857059
.RE
Packit 857059
Packit 857059
.RS
Packit 857059
.TP 10
Packit 857059
Packit 857059
.sp
Packit 857059
4 (Analysis)
Packit 857059
In addition to \fIFabric+FDB\fR, also obtains opaallanalysis results. If opaallanalysis has not yet been run, it is run as part of the capture.
Packit 857059
Packit 857059
.RE
Packit 857059
Packit 857059
Packit 857059
.TP 10
Packit 857059
.BR
Packit 857059
Packit 857059
.PP
Packit 857059
Packit 857059
.B NOTE:
Packit 857059
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.
Packit 857059
Packit 857059
.PP
Packit 857059
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.
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fIfile\fR
Packit 857059
Packit 857059
Specifies the name for capture file. The suffix .tgz is appended if it is not specified in the name.
Packit 857059
Packit 857059
.SH Examples
Packit 857059
Packit 857059
Packit 857059
.SH Host Capture Examples
Packit 857059
opacaptureall
Packit 857059
.br
Packit 857059
Packit 857059
# Creates a hostcapture directory in upload\(uldir/hostname/ for each host
Packit 857059
.br
Packit 857059
in
Packit 857059
/etc/opa/hosts file, then creates hostcapture.all.tgz.
Packit 857059
.br
Packit 857059
Packit 857059
Packit 857059
.br
Packit 857059
Packit 857059
opacaptureall mycapture
Packit 857059
.br
Packit 857059
Packit 857059
# Creates a mycapture directory in upload\(uldir/hostname/ for each host
Packit 857059
.br
Packit 857059
in
Packit 857059
/etc/opa/hosts file, then creates mycapture.all.tgz.
Packit 857059
.br
Packit 857059
Packit 857059
Packit 857059
.br
Packit 857059
Packit 857059
opacaptureall -h \[aq]arwen elrond\[aq] 030127capture
Packit 857059
.br
Packit 857059
Packit 857059
# Gets the list of hosts from arwen elrond file and creates
Packit 857059
.br
Packit 857059
030127capture.tgz file.
Packit 857059
Packit 857059
Packit 857059
.SH Chassis Capture Examples
Packit 857059
opacaptureall -C
Packit 857059
.br
Packit 857059
Packit 857059
# Creates a chassiscapture file in upload\(uldir/chassisname/ for each
Packit 857059
.br
Packit 857059
chassis
Packit 857059
in /etc/opa/chassis file, then creates chassiscapture.all.tgz.
Packit 857059
.br
Packit 857059
Packit 857059
Packit 857059
.br
Packit 857059
Packit 857059
opacaptureall -C mycapture
Packit 857059
.br
Packit 857059
Packit 857059
# Creates a mycapture.tgz file in upload\(uldir/chassisname/ for each
Packit 857059
.br
Packit 857059
chassis
Packit 857059
in /etc/opa/chassis file, then creates mycapture.all.tgz.
Packit 857059
.br
Packit 857059
Packit 857059
Packit 857059
.br
Packit 857059
Packit 857059
opacaptureall -C -H \[aq]chassis1 chassis2\[aq] 030127capture
Packit 857059
.br
Packit 857059
Packit 857059
# Captures from chassis1 and chassis2, and creates 030127capture.tgz file.
Packit 857059
.SH Environment Variables
Packit 857059
Packit 857059
.PP
Packit 857059
The following environment variables are also used by this command:
Packit 857059
.TP 10
Packit 857059
\fBHOSTS\fR
Packit 857059
Packit 857059
List of hosts, used if -h option not supplied.
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fBCHASSIS\fR
Packit 857059
Packit 857059
List of chassis, used if -C is used and -h option is not supplied.
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fBHOSTS\(ulFILE\fR
Packit 857059
Packit 857059
File containing a list of hosts, used in the absence of -f and -h.
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fBCHASSIS\(ulFILE\fR
Packit 857059
Packit 857059
File containing a list of chassis, used in the absence of -F and -H.
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fBUPLOADS\(ulDIR\fR
Packit 857059
Packit 857059
Directory to upload to, used in the absence of -d.
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fBFF\(ulMAX\(ulPARALLEL\fR
Packit 857059
Packit 857059
When -p option is used, maximum concurrent operations are performed.
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fBFF\(ulCHASSIS\(ulLOGIN\(ulMETHOD\fR
Packit 857059
Packit 857059
How to log into chassis. Can be Telnet or SSH.
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fBFF\(ulCHASSIS\(ulADMIN\(ulPASSWORD\fR
Packit 857059
Packit 857059
Password for administrator on all chassis. Used in absence of -S option.
Packit 857059
Packit 857059
.SH More Information
Packit 857059
Packit 857059
.PP
Packit 857059
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.
Packit 857059
.PP
Packit 857059
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.
Packit 857059
.PP
Packit 857059
Packit 857059
.B NOTE:
Packit 857059
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.