-
Notifications
You must be signed in to change notification settings - Fork 9
/
gpmulti.1
116 lines (91 loc) · 3.87 KB
/
gpmulti.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
.TH GPMASTER 1 "MAY 2014" LOCAL "gpmulti" -*- nroff -*-
.SH NAME
gpmulti - run swift benchmarking getput tool on multiple systems in parallel
.SH SYNOPSIS
gpmulti --creds file --nodes filename --numnodes [--sshkey key ] [--sync secs] [--venv base]
options...
.SH DESCRIPTION
gpmulti runs the getput benchmarking tool on multiple client nodes. Unlike
getput itself which can run multiple combinations of tests on a single machine,
gpmulti instructs getput to run a single test at a time so that it can coordinate
their synchronization across multiple machines.
.SH OPTIONS
Almost all switches and their values are passed as-is to getput with the
exception of the following which actually control the operation of gpmulti
itself:
.B --creds file
.RS
For details of the creds file format see the getput man page.
.RE
.B --nodes filename
.RS
This names a file containing the addresses mamchines on which to run the getput
command on via ssh. If you want to run ssh with a different username other
than the one currently in use, include --username.
.RE
.B --numnodes number
.RS
Gpmulti does not necessarily use all the nodes in the specified filename but rather
uses this number to tell it how many to use, making it possible to call gpmulti from
a higher level script and vary this number over multiple passes.
.RE
.B --sshkey key
.RS
An optional switch to be used if you don't have passwordless ssh configured
but rather use keys. Pass the public key associated with all the addresses
here, noting you MUST use the same key for all client machines.
.RE
.B --sync secs
.RS
This optional switch allows you to coordinate the start times of getput across
multiple nodes, its default value is 5. Gpmulti calculates the time, that number
of seconds from now as a UCT timestamp and passes that to getput as a time to start.
Note that the getput --sync time, which is rarely used when running it by itself,
is a UCT time whereas this --sync is seconds from now.
.RE
.B --username name
.RS
If specified, use this for the username in the ssh command.
.RE
.B --venv path
.RS
If specified getput is to be run in a virtual environment by first sourcing
path/bin/activate before running getput
.RE
.RE
Additional Required Switches
Since this script runs getput, one needs to make sure all its required switches
are also specified, specifically:
.B -c container, -o object, -n number and/or -r runtime, -s bytes, -t test(s)
.RS
See the getput manpage for the descriptions of these switches
.RE
Optional Switches
There are a lot of these and none are required to run.
.B --cont-nodelete, --ctype, --exclog*, --insecure, --latexc, --ldist, --logops, --nohead, --objopts,
--policy, --preauthtoken, --pretest, --procs, --proxies, --quiet, --runtime, --utc, --warnexit
.RS
See the getput manpage for the descriptions of these switches as well as their default values.
* exclog is special in that it doesn't take any options and whatever name is supplied is prepended
to the name of each host getput is run on, assuring each log has a unique name.
.RE
Development/Testing
.B -d | --debug mask
.RS
This switch is provided for testing and debugging, typically used when something
doesn't run as expected. To use it see the list of values in the beginning of
getput and add together all those you're intested in using. The best one to start
with is 1, to see how gpmulti is initializing and 2 to see what commands its running
or 3 to see both. There are many more combinations.
.RE
.B --flavor string
.RS
Occasionally one may wish to experiment with a hacked version of getput and to
be able to run that version without fear of losing the original. Not a problem,
simply rename getput to something like getput-xxx and run gpmulti with --flavor xxx. It
with then run the script named getput-flavor via ssh.
.RE
.SH AUTHOR
This program was written by mark Seger ([email protected])
.br
Copyright 2013-2015 Hewlett-Packard Development Company, LP