5 – Detailed Descriptions of Command LineTools
File Management Tools
-f hostfile - file with hosts in cluster, default is
/etc/sysconfig/iba/hosts.
-u user - user to perform copy to, default is current user code
source_file: the name of files to copy from this system, relative to the
current directory. Multiple files may be listed.
source_dir: the name of directory to copy from this system, relative to the
current directory.
dest_file or dest_dir: is the name of the file or directory on the
destination system to copy to. It is relative to the home directory of the
specified user code (an absolute path name may be specified if desired).
When performing directory copies using the -t option, the destination directory
is optional. If not specified it defaults to the present directory name. If both the
source and destination directory names are omitted, they both default to the
current directory name.
Example:
# copy a single file
scpall MPI-PMB /root/MPI-PMB
# efficiently copy an entire directory tree
scpall -p -t /opt/iba/src/mpi_apps /opt/iba/src/mpi_apps
# copy a group of files
scpall a b c /root/tools/
# copy to an explitly specified set of hosts
scpall -h 'arwen elrond' a b c /root/tools
HOSTS='arwen elrond' scpall a b c /root/tools
NOTE:
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.
To copy from hosts in the cluster to this host, use uploadall.
5-20
The tool scpall can only copy from this system to a group of systems
in cluster. The user@ style syntax cannot be used in the arguments to
scpall.
Q
D000006-000 Rev A
Need help?
Do you have a question about the Fast Fabric and is the answer not in the manual?