1
2ethdownloadall(8)            EFSFFCLIRG (Man Page)           ethdownloadall(8)
3
4
5

NAME

7       ethdownloadall
8
9
10
11       Copies  one  or more files to a group of hosts from a system. Since the
12       file contents to copy may be different for each host, a separate direc‐
13       tory  on  this  system is used for the source files for each host. This
14       can also be used in conjunction with ethuploadall to upload a host-spe‐
15       cific  configuration  file, edit it for each host, and download the new
16       version to all the hosts.
17
18       NOTE: The tool ethdownloadall 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 ethuploadall.
21
22
23

Syntax

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

Options

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

Example

99       ethdownloadall -h 'arwen elrond' irqbalance vncservers /etc
100
101       # Copies two files to 2 hosts
102
103
104
105       ethdownloadall -p irqbalance vncservers /etc
106
107       # Copies two files to all hosts
108

Environment Variables

110       The following environment variables are also used by this command:
111
112       HOSTS
113
114                 List of hosts; used if -h option not supplied.
115
116
117       HOSTS_FILE
118
119                 File containing list of hosts; used in absence of -f and -h.
120
121
122       FF_MAX_PARALLEL
123
124                 When the -p option is used, the maximum concurrent operations
125                 are performed.
126
127
128       DOWNLOADS_DIR
129
130                 Directory to download from, used in absence of -d.
131
132
133
134Copyright(C) 2020-2021         Intel Corporation             ethdownloadall(8)
Impressum