Q
5.3.2
uploadall
(Linux): Copies one or more files from a group of hosts to this system. Since
the file name will be the same on each host, a separate directory on this system
is created for each host and the file is copied to it. This is a convenient way to
upload log files or configuration files for review. It can also be used in conjunction
with downloadall to upload a host specific configuration file, edit it for each
host and download the new version to all the hosts.
Usage:
uploadall [-rp] [-f hostfile] [-d upload_dir] [-h 'hosts'] [-u
user]
Options:
-p - perform copy in parallel on all hosts
-r - recursive upload of directories
-f <HOST FILE> - file with hosts in cluster, default is
/etc/sysconfig/iba/hosts
-h hosts - list of hosts to upload from
-u user - user to perform copy to, default is current user code
-d upload_dir - directory to upload to, default is uploads. If not specified
the environment variable UPLOADS_DIR will be used, if that is not exported
the default (./uploads) will be used.
source_file - the name of files to copy to this system, relative to the current
directory. Multiple files may be listed.
dest_file - is the name of the file or directory on this system to copy to. It
is relative to upload_dir/<HOSTNAME>.
A local directory within upload_dir/ will be created for each host being
uploaded from. Each uploaded file will be copied to
upload_dir/<HOSTNAME>/dest_file. If more than one source file is
specified, dest_file will be treated as a directory name and the directories
upload_dir/<HOSTNAME>/dest_file/ will be created for each host and the
source_files will be uploaded to those directories.
D000006-000 Rev A
source_file ... dest_file
5 – Detailed Descriptions of Command LineTools
5-21
Need help?
Do you have a question about the Fast Fabric and is the answer not in the manual?
Questions and answers