Commit graph

17 commits

Author SHA1 Message Date
jaffee
8e9ccb0422 use temp location for pilosactl and pilosa binaries
I did it this way instead of using mktemp because
a) mktemp would have created a different filename on every host, which would
make the client side logic much more confusing
b) mktemp isn't guaranteed to be available everywhere, so we're not losing much
by assuming /tmp exists.
2017-01-25 15:17:06 -06:00
Matthew Jaffee
dbd633ee2c Merge pull request #270 from pilosa/benchmark-day
Benchmark day
2017-01-23 12:02:00 -06:00
jaffee
192a06c1fa add explanatory prints to stderr in pilosactl 2017-01-20 16:55:24 -06:00
jaffee
b75c605985 more error context 2017-01-19 10:44:02 -06:00
jaffee
7533ca4ab1 don't connect to hosts twice when creating remote cluster 2017-01-13 14:52:42 -06:00
jaffee
c6aa941521 rename ssh stuff for consistency and less stuttering 2017-01-12 14:32:50 -06:00
jaffee
58e173ba57 options to build and copy pilosa binary for cluster creation
also some refactoring
2017-01-12 14:32:50 -06:00
jaffee
01a5d8592f build and copy pilosactl to remote agents 2016-12-22 12:19:18 -06:00
jaffee
f477d5f857 refactor/cleanup remote file creation 2016-12-22 09:23:55 -06:00
jaffee
d649a48c21 creator can set GOMAXPROCS for remote pilosa nodes 2016-12-14 15:05:50 -06:00
jaffee
7b55adc39b cleanup cluster shutdown and extra logging 2016-12-14 10:53:14 -06:00
jaffee
37d11b858e clean up remote create, kill remote cluster
Had to jump through some hoops to kill the remote cluster reliably. Not all ssh
server implementations respect signals, so in order to kill the cluster, we
request a pty for the ssh session. This allows us to send the byte 0x03 which is
effectively the same has hitting Ctrl-c in an interactive ssh session. With a
pty, just closing the session also seems to kill the remote process.
2016-12-13 16:36:52 -06:00
jaffee
bbb88e910f create - start cluster over ssh when given hosts 2016-12-13 10:14:09 -06:00
jaffee
e78fa1bc74 json output and local cluster log handling 2016-12-12 11:32:56 -06:00
jaffee
0588e0398c rename imports umbel->pilosa 2016-11-28 15:45:18 -07:00
jaffee
0df040c9df add cluster creation to pilosactl 2016-11-28 15:45:17 -07:00
jaffee
85f78e4e5a add creator pkg for standing up cluster
just has code for local clusters at the moment
2016-11-28 15:45:17 -07:00