1
2ethuploadall(8) EFSFFCLIRG (Man Page) ethuploadall(8)
3
4
5
7 ethuploadall
8
9
10
11 Copies one or more files from a group of hosts to this system. Since
12 the file name is the same on each host, a separate directory on this
13 system is created for each host and the file is copied to it. This is a
14 convenient way to upload log files or configuration files for review.
15 This tool can also be used in conjunction with ethdownloadall to upload
16 a host specific configuration file, edit it for each host, and download
17 the new version to all the hosts.
18
19 NOTE: To copy files from this host to hosts in the cluster, use ethsc‐
20 pall or ethdownloadall. user@ style syntax cannot be used when specify‐
21 ing filenames.
22
23
25 ethuploadall [-rp] [-f hostfile] [-d upload_dir] [-h 'hosts'] [-u
26 user] source_file ... dest_file
27
29 --help
30
31 Produces full help text.
32
33 -p
34
35 Performs copy in parallel on all hosts.
36
37 -r
38
39 Performs recursive upload of directories.
40
41 -f hostfile
42
43 Specifies the file with hosts in cluster.
44 Default is /etc/eth-tools/hosts file.
45
46 -h hosts
47
48 Specifies the list of hosts to upload from.
49
50 -u user
51
52 Specifies the user to perform copy to. Default is current
53 user code.
54
55 -d upload_dir
56
57 Specifies the directory to upload to. Default is uploads. If
58 not specified, the environment variable UPLOADS_DIR is used.
59 If that is not exported, the default, /uploads, is used.
60
61 source_file
62
63 Specifies the name of files to copy to this system, relative
64 to the current directory. Multiple files may be listed.
65
66 dest_file
67
68 Specifies the name of the file or directory on this system to
69 copy to. It is relative to upload_dir/HOSTNAME .A local di‐
70 rectory within upload_dir/ is created for each hostname.
71
72
73 Each uploaded file is copied to upload_dir/HOSTNAME/dest_file
74 within the local system.
75
76 If more than one source file is specified or dest_file has a
77 trailing / , a dest_file directory will be created.
78
80 # upload two files from 2 hosts
81
82 ethuploadall -h 'arwen elrond' capture.tgz /etc/init.d/ipoib.cfg.
83
84
85
86 # upload two files from all hosts
87
88 ethuploadall -p capture.tgz /etc/init.d/ipoib.cfg.
89
90
91
92 # upload network config files from all hosts
93
94 ethuploadall capture.tgz /etc/init.d/ipoib.cfg pre-install
95
97 The following environment variables are also used by this command:
98
99 HOSTS
100
101 List of hosts; used if -h option not supplied.
102
103
104 HOSTS_FILE
105
106 File containing list of hosts; used in absence of -f and -h.
107
108
109 UPLOADS_DIR
110
111 Directory to upload to, used in absence of -d.
112
113
114 FF_MAX_PARALLEL
115
116 When the -p option is used, maximum concurrent operations are
117 performed.
118
119
120
121Copyright(C) 2020 Intel Corporation ethuploadall(8)