opascpall(8)

opascpall8

Usage

opascpall [-p] [-r] [-f hostfile] [-h 'hosts'] [-u user]

source_file dest_file

opascpall [-t] [-p] [-f hostfile] [-h 'hosts'] [-u user] [source_dir [dest_dir]]

Options

--help

Produces full help text.

-p

Performs copy in parallel on all hosts.

-r

Performs recursive copy of directories.

-t

Performs optimized recursive copy of directories using tar. dest_dir is optional. If dest_dir is not specified, it defaults to the current directory name. If both source_dir and dest_dir are omitted, they both default to the current directory name.

-h hosts

Specifies the list of hosts to copy to.

-f hostfile

Specifies the file with hosts in cluster. Default is /etc/opa/hosts file.

-u user

Specifies the user to perform copy to. Default is current user code.

source_file

Specifies the a file or list of source files to copy.

source_dir

Specifies the name of the source directory to copy. If omitted. is used.

dest_file or dest_dir

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.

Examples

# efficiently copy an entire directory tree

opascpall -t -p /usr/src/opa/mpi_apps /usr/src/opa/mpi_apps

# copy a group of files

opascpall a b c /root/tools/

# copy to an explicitly specified set of hosts

opascpall -h 'arwen elrond' a b c /root/tools

HOSTS='arwen elrond' opascpall a b c /root/tools

Environment

The following environment variables are also used by this command:

HOSTS

List of hosts; used if -h option not supplied.

HOSTS_FILE

File containing list of hosts; used in absence of -f and -h.

FF_MAX_PARALLEL

When the -p option is used, maximum concurrent operations are performed.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

From opa-fastfabric 10.10.3.0.11-1+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.