1
2opascpall(8)           Master map: IFSFFCLIRG (Man Page)          opascpall(8)
3
4
5

NAME

7       opascpall
8
9
10
11       (Linux) Copies files or directories from the current system to multiple
12       hosts in the fabric. When copying large directory  trees,  use  the  -t
13       option  to  improve  performance.  This  option tars and compresses the
14       tree, transfers the resulting compressed  tarball  to  each  node,  and
15       untars it on each node.
16
17       Use this tool for copying data files, operating system files, or appli‐
18       cations to all the hosts (or a subset of hosts) within the fabric.
19
20       NOTE:
21
22
23       ·      This tool can only copy from this system to a group  of  systems
24              in  the cluster. To copy from hosts in the cluster to this host,
25              use opauploadall.
26
27       ·      user@ style syntax cannot be used when specifying filenames.
28
29

Syntax

31       opascpall [-p] [-r] [-f hostfile] [-h 'hosts'] [-u user]
32       source_file ... dest_file
33
34
35
36       opascpall [-t] [-p] [-f hostfile] [-h 'hosts'] [-u user]
37       [ source_dir[ dest_dir]]
38
39
40

Options

42       --help    Produces full help text.
43
44       -p        Performs copy in parallel on all hosts.
45
46       -r        Performs recursive copy of directories.
47
48       -t        Performs optimized recursive copy of directories  using  tar.
49                 dest_dir  is  optional.  If  dest_dir  is  not  specified, it
50                 defaults to the current directory name.  If  both  source_dir
51                 and  dest_dir  are  omitted, they both default to the current
52                 directory name.
53
54
55       -h hosts  Specifies the list of hosts to copy to.
56
57       -f hostfile
58                 Specifies  the  file  with  hosts  in  cluster.  Default   is
59                 /etc/opa/hosts file.
60
61       -u user   Specifies  the  user  to  perform copy to. Default is current
62                 user code.
63
64       source_file
65                 Specifies the a file or list of source files to copy.
66
67
68       source_dir
69                 Specifies the name of the source directory to copy. If  omit‐
70                 ted. is used.
71
72
73       dest_file or dest_dir
74                 Specifies  the  name  of the destination file or directory to
75                 copy to. If more than one source file, this must be a  direc‐
76                 tory. If omitted current directory name is used.
77
78

Example

80       # copy a single file
81       opascpall MPI-PMB /root/MPI-PMB
82
83       # efficiently copy an entire directory tree
84       opascpall -t -p /usr/src/opa/mpi_apps /usr/src/opa/mpi_apps
85
86       # copy a group of files
87       opascpall a b c /root/tools/
88
89       # copy to an explitly specified set of hosts
90       opascpall -h 'arwen elrond' a b c /root/tools
91       HOSTS='arwen elrond' opascpall a b c /root/tools
92

Environment Variables

94       The following environment variables are also used by this command:
95
96       HOSTS     List of hosts; used if -h option not supplied.
97
98
99       HOSTS_FILE
100                 File containing list of hosts; used in absence of -f and -h.
101
102
103       FF_MAX_PARALLEL
104                 When the -p option is used, maximum concurrent operations are
105                 performed.
106
107
108
109Copyright(C) 2015-2018         Intel Corporation                  opascpall(8)
Impressum