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

NAME

7       opauploadall
8
9
10
11       (Linux)  Copies one or more files from a group of hosts to this system.
12       Since the file name is the same on each host, a separate  directory  on
13       this system is created for each host and the file is copied to it. This
14       is a convenient way to upload log  files  or  configuration  files  for
15       review.  This  tool can also be used in conjunction with opadownloadall
16       to upload a host specific configuration file, edit it  for  each  host,
17       and download the new version to all the hosts.
18
19       NOTE:  To copy files from this host to hosts in the cluster, use opasc‐
20       pall or opadownloadall. user@ style syntax cannot be used when specify‐
21       ing filenames.
22
23

Syntax

25       opauploadall [-rp] [-f hostfile] [-d upload_dir] [-h 'hosts'] [-u user]
26       source_file... dest_file
27

Options

29       --help    Produces full help text.
30
31       -p        Performs copy in parallel on all hosts.
32
33       -r        Performs recursive upload of directories.
34
35       -f hostfile
36                 Specifies the file with hosts in cluster.
37                 Default is /etc/opa/hosts file.
38
39       -h hosts  Specifies the list of hosts to upload from.
40
41       -u user   Specifies the user to perform copy  to.  Default  is  current
42                 user code.
43
44       -d upload_dir
45                 Specifies  the directory to upload to. Default is uploads. If
46                 not specified, the environment variable UPLOADS_DIR is  used.
47                 If that is not exported, the default, /uploads, is used.
48
49       source_file
50                 Specifies  the name of files to copy to this system, relative
51                 to the current directory. Multiple files may be listed.
52
53       dest_file Specifies the name of the file or directory on this system to
54                 copy  to.  It  is  relative  to  upload_dir/HOSTNAME .A local
55                 directory within  upload_dir/ is created for each host.  Each
56                 uploaded  file  is  copied  to  upload_dir/HOSTNAME/dest_file
57                 within the local system. If more  than  one  source  file  is
58                 specified, dest_file is treated as a directory name.
59

Example

61       # upload two files from 2 hosts
62       opauploadall -h 'arwen elrond' capture.tgz /etc/init.d/ipoib.cfg.
63
64       # upload two files from all hosts
65       opauploadall -p capture.tgz /etc/init.d/ipoib.cfg.
66
67       # upload network config files from all hosts
68       opauploadall capture.tgz /etc/init.d/ipoib.cfg pre-install
69

Environment Variables

71       The following environment variables are also used by this command:
72
73       HOSTS     List of hosts; used if -h option not supplied.
74
75
76       HOSTS_FILE
77                 File containing list of hosts; used in absence of -f and -h.
78
79
80       UPLOADS_DIR
81                 Directory to upload to, used in absence of -d.
82
83
84       FF_MAX_PARALLEL
85                 When the -p option is used, maximum concurrent operations are
86                 performed.
87
88
89
90Copyright(C) 2015-2018         Intel Corporation               opauploadall(8)
Impressum