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

NAME

7       opadownloadall
8
9
10
11       (Linux)  Copies  one  or  more files to a group of hosts from a system.
12       Since the file contents to copy may be different for each host, a sepa‐
13       rate  directory  on  this  system is used for the source files for each
14       host. This can also be used in conjunction with opauploadall to  upload
15       a host-specific configuration file, edit it for each host, and download
16       the new version to all the hosts.
17
18       NOTE: The tool opadownloadall can only copy from this system to a group
19       of  hosts  in  the  cluster. To copy files from hosts in the cluster to
20       this host, use opauploadall.
21
22
23

Syntax

25       opadownloadall [-rp] [-f hostfile] [-d download_dir] [-h 'HOSTS']
26       [-u user] source_file ... dest_file
27

Options

29       --help    Produces full help text.
30
31
32       -r        Performs recursive download of directories.
33
34
35       -p        Performs copy in parallel on all hosts.
36
37
38       -f hostfile
39                 Specifies the file with hosts  in  cluster.  The  default  is
40                 /etc/opa/hosts.
41
42
43       -d download_dir
44                 Specifies  the  directory to download files from. The default
45                 is downloads. If  not  specified,  the  environment  variable
46                 DOWNLOADS_DIR  is  used. If that is not exported, the default
47                 is used.
48
49
50       -h HOSTS  Specifies the list of hosts to download files to.
51
52
53       -u user   Specifies the user to perform the copy. The  default  is  the
54                 current user code.
55
56
57
58
59
60       NOTE:  The  user@ style syntax cannot be used in the arguments to opad‐
61       ownloadall.
62
63
64
65       source_file
66                 Specifies the list of source files to copy from the system.
67
68
69                 The option  source_file is  relative  to   download_dir/host‐
70                 name.  A  local directory within download_dir/ must exist for
71                 each host being downloaded to. Each downloaded file is copied
72                 from  download_dir/hostname/source_file.
73
74       dest_file Specifies  the  name of the file or directory on the destina‐
75                 tion hosts to copy to.
76
77
78                 If more than one  source  file  is  specified,  dest_file  is
79                 treated as a directory name. The given directory must already
80                 exist on the destination host. The copy fails for hosts where
81                 the directory does not exist.
82

Example

84       opadownloadall -h 'arwen elrond' irqbalance vncservers /etc
85       # Copies two files to 2 hosts
86
87       opadownloadall -p irqbalance vncservers /etc
88       # Copies two files to all hosts
89

Environment Variables

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