Blame IbaTools/man/opadownloadall.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 opadownloadall 8 "Intel Corporation" "Copyright(C) 2015\-2019" "IFSFFCLIRG (Man Page)"
Packit 857059
.SH NAME
Packit 857059
opadownloadall
Packit 857059
Packit 857059
Packit 857059
.PP
Packit 857059
Packit 857059
\fB(Linux)\fR
Packit 857059
Copies one or more files to a group of hosts from a system. Since the file contents to copy may be different for each host, a separate directory on this system is used for the source files for each host. This can also be used in conjunction with opauploadall to upload a host-specific configuration file, edit it for each host, and download the new version to all the hosts.
Packit 857059
.PP
Packit 857059
Packit 857059
.B NOTE:
Packit 857059
The tool opadownloadall can only copy from this system to a group of hosts in the cluster. To copy files from hosts in the cluster to this host, use opauploadall.
Packit 857059
Packit 857059
Packit 857059
.SH Syntax
Packit 857059
opadownloadall [-rp] [-f  \fIhostfile\fR] [-d  \fIdownload\(uldir\fR] [-h \[aq]\fIHOSTS\fR\[aq]]
Packit 857059
.br
Packit 857059
[-u  \fIuser\fR]
Packit 857059
source\(ulfile ...  \fIdest\(ulfile\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
-r
Packit 857059
Packit 857059
Performs recursive download of directories.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-p
Packit 857059
Packit 857059
Performs copy in parallel on all hosts.
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.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-d \fIdownload\(uldir\fR
Packit 857059
Packit 857059
Specifies the directory to download files from. Default is downloads. If not specified, the environment variable \fBDOWNLOADS\(ulDIR\fR is used. If that is not exported, the default is used.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-h \fIHOSTS\fR
Packit 857059
Packit 857059
Specifies the list of hosts to download files to.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-u \fIuser\fR
Packit 857059
Packit 857059
Specifies the user to perform the copy. Default is the current user code.
Packit 857059
Packit 857059
.TP 10
Packit 857059
.BR
Packit 857059
Packit 857059
.PP
Packit 857059
Packit 857059
.B NOTE:
Packit 857059
The user@ style syntax cannot be used in the arguments to opadownloadall.
Packit 857059
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fIsource\(ulfile\fR
Packit 857059
Packit 857059
Specifies the list of source files to copy from the system.
Packit 857059
Packit 857059
.IP
Packit 857059
The option  \fIsource\(ulfile\fR is relative to  \fIdownload\(uldir\fR/\fIhostname\fR. A local directory within \fIdownload\(uldir\fR/ must exist for each host being downloaded to. Each downloaded file is copied from  \fIdownload\(uldir\fR/\fIhostname\fR/\fIsource\(ulfile\fR.
Packit 857059
.TP 10
Packit 857059
\fIdest\(ulfile\fR
Packit 857059
Packit 857059
Specifies the name of the file or directory on the destination hosts to copy to.
Packit 857059
Packit 857059
.IP
Packit 857059
If more than one source file is specified, \fIdest\(ulfile\fR is treated as a directory name. The given directory must already exist on the destination host. The copy fails for hosts where the directory does not exist.
Packit 857059
.SH Example
Packit 857059
opadownloadall -h \[aq]arwen elrond\[aq] irqbalance vncservers /etc
Packit 857059
.br
Packit 857059
Packit 857059
# Copies two files to 2 hosts
Packit 857059
.br
Packit 857059
Packit 857059
Packit 857059
.br
Packit 857059
Packit 857059
opadownloadall -p irqbalance vncservers /etc
Packit 857059
.br
Packit 857059
Packit 857059
# Copies two files to all hosts
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
\fBHOSTS\(ulFILE\fR
Packit 857059
Packit 857059
File containing list of hosts; used in absence of -f and -h.
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fBFF\(ulMAX\(ulPARALLEL\fR
Packit 857059
Packit 857059
When the -p option is used, the maximum concurrent operations are performed.
Packit 857059
Packit 857059
.TP 10
Packit 857059
\fBDOWNLOADS\(ulDIR\fR
Packit 857059
Packit 857059
Directory to download from, used in absence of -d.