opascpall(8)
π¦ opascpall(8) β IFSFFCLIRG (Man Page), but make it group chat π¦
π NAME π
Okay so listen, bestie: opascpall is the Linux tool that copies files or directories from the current system to multiple hosts in the fabric. No cap. When copying large directory trees, use the -t option to improve performance β it tars and compresses the tree, transfers the resulting compressed tarball to each node, and untars it on each node. Itβs giving efficient, honestly. β¨
Use this tool for copying data files, operating system files, or applications to all the hosts (or a subset of hosts) within the fabric. Main character copy energy. π
NOTE: π¨ - 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, useopauploadall. -user@style syntax cannot be used when specifying filenames.
β¨ Syntax β¨
Two moods, both iconic:
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. Parallel bestie era. π«Ά-rβ performs recursive copy of directories. Directory tree, but recursive. π³-tβ performs optimized recursive copy of directories using tar.dest_diris optional. Ifdest_diris not specified, it defaults to the current directory name. If bothsource_diranddest_dirare omitted, they both default to the current directory name. This is the βlarge directory treesβ slay option. π₯-h hostsβ specifies the list of hosts to copy to. Your chosen squad. π―-f hostfileβ specifies the file with hosts in cluster. Default is/etc/opa/hostsfile. ποΈ-u userβ specifies the user to perform copy to. Default is current user code. (Yes, βcodeβ β we keep the receipts. π )source_fileβ specifies the a file or list of source files to copy. Keeping the original βthe aβ energy, no notes. πsource_dirβ specifies the name of the source directory to copy. The original line says:If omitted. is used.π€¨ (yes, weβre keeping that exact energy).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. π―
π Example π
Here are the copy-paste moments:
# 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 explitly specified set of hosts
opascpall -h 'arwen elrond' a b c /root/tools
HOSTS='arwen elrond' opascpall a b c /root/tools
π Environment Variables π
The following environment variables are also used by this command:
HOSTSβ list of hosts; used if-hoption not supplied. πHOSTS_FILEβ file containing list of hosts; used in absence of-fand-h. ποΈFF_MAX_PARALLELβ when the-poption is used, maximum concurrent operations are performed. Parallel limit, periodt. β‘
Alright bestie, thatβs the whole page. π Copyright(C) 2015-2019 Intel Corporation Β· opascpall(8) Β· IFSFFCLIRG (Man Page) energy β footer folded, vibe intact. Mwah. π
π¦ where this page comes from
- centos-stream 9: opa-fastfabric 1:10.12.1.0.6-1.el9 Β· BSD or GPLv2
- opensuse-leap 16.0: opa-fastfabric 10.14.4.0.20-160000.3.2 Β· BSD-3-Clause OR GPL-2.0-only
- Copyright 2015-2019, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms