ethuploadall(8)
π ethuploadall β the upload-all-your-hosts glow-up π
okay bestie, listen. This is the ethuploadall(8) page from the EFSFFCLIRG manual, and it's genuinely one of my faves. Let me put you on.
β¨ NAME β¨
ethuploadall</purl> β copies one or more files from a whole group of hosts back to this system. π«Ά
Since the file name is the same on each host, a separate directory on this system is created for each host, and the file gets copied into it. It's literally the most convenient way to pull log files or config files over for review. no cap.
You can also run it in tandem with ethdownloadall to do the iconic three-step: upload a host-specific config file, edit it for each host, then download the new version to all the hosts. it's giving workflow. β¨
NOTE: π - To copy files from this host to hosts in the cluster, useethscpallorethdownloadallinstead. (Wrong direction, babe. π) -user@syntax cannot be used in filenames specified. π - A local directory withinupload_dir/is created for each hostname. - Each uploaded file is copied toupload_dir/hostname/dest_filewithin the local system. - If more than one source file is specified ordest_filehas a trailing/, adest_filedirectory will be created.
πΈ Syntax πΈ
ethuploadall [-rp] [-f hostfile] [-d upload_dir] [-h 'hosts'] [-u
user] source_file ... dest_file
π Options π
--helpβ produces the full help text. The classic. π-pβ performs the copy in parallel on all hosts. speed, babe. π₯-rβ performs a recursive upload of directories. π¦-fhostfile β specifies the file with hosts in the cluster. Default is the/etc/eth-tools/hostsfile.-hhosts β specifies the list of hosts to upload from.-uuser β specifies the user to perform copy to. Default is the current user.-dupload_dir β specifies the directory to upload to. Default isuploads. If not specified, the environment variableUPLOADS_DIRis used. If that is not exported, the default,uploads, is used.- source_file β specifies the name of files to copy to this system, relative to the current directory. Multiple files may be listed. (Go off, list as many as you want. π)
- dest_file β specifies the name of the file or directory on this system to copy to. It is relative to
upload_dir/hostname.
π Example π
# upload two files from 2 hosts
ethuploadall -h 'arwen elrond' capture.tgz /etc/init.d/ipoib.cfg.
# upload two files from all hosts
ethuploadall -p capture.tgz /etc/init.d/ipoib.cfg.
# upload network config files from all hosts
ethuploadall capture.tgz /etc/init.d/ipoib.cfg pre-install
see how clean that is?? πβ¨
π Environment Variables π
The following environment variables are also used by this command:
HOSTSβ list of hosts; used if the-hoption is not supplied.HOSTS_FILEβ file containing list of hosts; used in absence of-fand-h.UPLOADS_DIRβ directory to upload to, used in absence of-d.FF_MAX_PARALLELβ when the-poption is used, maximum concurrent operations are performed.
gentle reminder bestie: filenames are relative to the current directory on the host side, anddest_fileis relative toupload_dir/hostname. Don't come for me when it lands somewhere you didn't expect. ππ«Ά
and that's the whole page, periodt. π
This one came from EFSFFCLIRG (Man Page), and it's wearing a Copyright(C) 2020-2024 Intel Corporation stamp, dated right alongside its ethuploadall(8) era. iconic behavior, honestly. β¨ππ¦π
π¦ where this page comes from
- centos-stream 9: eth-tools-fastfabric 1:12.1.0.0-4.el9 Β· BSD
- fedora 43: eth-tools-fastfabric 1:12.1.0.0-151.fc43 Β· BSD-3-Clause
- fedora 44: eth-tools-fastfabric 1:12.1.0.1-6.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: eth-fastfabric 11.7.0.0-160000.2.2 Β· BSD-3-Clause OR GPL-2.0-only
- Copyright 2020-2024, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms