Product specifications

5 – Detailed Descriptions of Command LineTools
D000006-000 Rev A 5-23
Q
-f hostfile - file with hosts in cluster. The default is
/etc/sysconfig/iba/hosts.
-h hosts - the list of hosts to download files to
-u user - the user to perform the copy. The default is current user code
-d download_dir - the directory to download files to. The default is
./downloads. If not specified, the environment variable DOWNLOADS_DIR
will be used. If that is not exported the default (./downloads) will be used.
source_file - the name of files to copy from the system. Multiple files may
be listed. The option source_file is relative to
download_dir/<HOSTNAME>.
A local directory within download_dir/ must exist for each host being
downloaded to Each downloaded file will be copied from
download_dir/<HOSTNAME>/source_file.
dest_file - is the name of the file or directory on the destination hosts to
copy to.
If more than one source file is specified, dest_file will be treated as a directory
name. The given directory must already exist on the destination hosts (the copy
will fail for hosts where the directory does not exist).
Example:
# copy two files to 2 hosts
downloadall -h 'arwen elrond' ics_srp.cfg ics_inic.cfg
/etc/sysconfig
# copy two files to all hosts
downloadall ics_srp.cfg ics_inic.cfg /etc/sysconfig
NOTE: The tool downloadall can only copy from this system to a group of
hosts in the cluster. The user@ style syntax cannot be used in the
arguments to downloadall.
To copy files from hosts in the cluster to this host use uploadall.
Environment Variables
The following environment variables are also used by this command:
HOSTS, HOSTS_FILE - see discussion on selection of hosts above.
FF_MAX_PARALLEL - when -p option is used maximum number of parallel
operations to perform at once.
DOWNLOADS_DIR - directory to download from, used in absence of -d.