|
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 opascpall 8 "Intel Corporation" "Copyright(C) 2015\-2019" "IFSFFCLIRG (Man Page)"
|
|
Packit |
857059 |
.SH NAME
|
|
Packit |
857059 |
opascpall
|
|
Packit |
857059 |
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.PP
|
|
Packit |
857059 |
|
|
Packit |
857059 |
\fB(Linux)\fR
|
|
Packit |
857059 |
Copies files or directories from the current system to multiple hosts in the fabric. When copying large directory trees, use the -t option to improve performance. This option tars and compresses the tree, transfers the resulting compressed tarball to each node, and untars it on each node.
|
|
Packit |
857059 |
.PP
|
|
Packit |
857059 |
Use this tool for copying data files, operating system files, or applications to all the hosts (or a subset of hosts) within the fabric.
|
|
Packit |
857059 |
.PP
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.B NOTE:
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.IP \(bu
|
|
Packit |
857059 |
This tool can only copy from this system to a group of systems in the cluster. To copy from hosts in the cluster to this host, use opauploadall.
|
|
Packit |
857059 |
.IP \(bu
|
|
Packit |
857059 |
user@ style syntax cannot be used when specifying filenames.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.SH Syntax
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.PP
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
opascpall [-p] [-r] [-f \fIhostfile\fR] [-h \[aq]\fIhosts\fR\[aq]] [-u \fIuser\fR]
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
source\(ulfile ... dest\(ulfile
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.PP
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
opascpall [-t] [-p] [-f \fIhostfile\fR] [-h \[aq]\fIhosts\fR\[aq]] [-u \fIuser\fR]
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
[ \fIsource\(uldir\fR [ \fIdest\(uldir\fR]]
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.SH Options
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
--help
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Produces full help text.
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-p
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Performs copy in parallel on all hosts.
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-r
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Performs recursive copy of directories.
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-t
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Performs optimized recursive copy of directories using tar. \fIdest\(uldir\fR is optional. If \fIdest\(uldir\fR is not specified, it defaults to the current directory name. If both \fIsource\(uldir\fR and \fIdest\(uldir\fR are omitted, they both default to the current directory name.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
-h \fIhosts\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Specifies the list of hosts to copy to.
|
|
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 |
.TP 10
|
|
Packit |
857059 |
-u \fIuser\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Specifies the user to perform copy to. Default is current user code.
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
\fIsource\(ulfile\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Specifies the a file or list of source files to copy.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
\fIsource\(uldir\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Specifies the name of the source directory to copy. If omitted. is used.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.TP 10
|
|
Packit |
857059 |
\fIdest\(ulfile\fR or \fIdest\(uldir\fR
|
|
Packit |
857059 |
|
|
Packit |
857059 |
Specifies the name of the destination file or directory to copy to. If more than one source file, this must be a directory. If omitted current directory name is used.
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.SH Example
|
|
Packit |
857059 |
# efficiently copy an entire directory tree
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
|
|
Packit |
857059 |
opascpall -t -p /usr/src/opa/mpi\(ulapps /usr/src/opa/mpi\(ulapps
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
|
|
Packit |
857059 |
# copy a group of files
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
|
|
Packit |
857059 |
opascpall a b c /root/tools/
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
|
|
Packit |
857059 |
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
|
|
Packit |
857059 |
# copy to an explitly specified set of hosts
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
|
|
Packit |
857059 |
opascpall -h \[aq]arwen elrond\[aq] a b c /root/tools
|
|
Packit |
857059 |
.br
|
|
Packit |
857059 |
|
|
Packit |
857059 |
HOSTS=\[aq]arwen elrond\[aq] opascpall a b c /root/tools
|
|
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, maximum concurrent operations are performed.
|