etcd-manager

command module
v0.0.0-...-8189bd2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2015 License: Apache-2.0 Imports: 12 Imported by: 0

README

etcd-manager

Usage

The etcd-manager uses ssh to run remote commands on target etcd hosts. SSH auth requires an ssh-agent to be running. Run the following command to ensure your SSH key is loaded:

ssh-add /path/to/ssh-private-key
Get the etcd binary version

The following command will run /opt/etcd/bin/etcd -version on each host.

etcd-manager version -hosts '130.211.162.53:22,107.178.221.96:22,104.154.62.70:22'
Deploying etcd

The following commands will build etcd from a specific tag or commit using docker or upload an etcd binary to every host under /opt/etcd/bin.

Deploy from a git tag
etcd-manager deploy -user kelsey -tag v2.0.4 \
  -hosts '10.10.0.100:22,10.10.0.101:22,10.10.0.102:22'
Deploy from a git commit
etcd-manager deploy -user kelsey -commit 6d81009b26b7e10d4f74ef1be0bd05585c2e503f \
  -hosts '10.10.0.100:22,10.10.0.101:22,10.10.0.102:22'
Deploy using an etcd binary
etcd-manager deploy -user kelsey -etcd-binary /Users/kelseyhightower/go/src/github.com/coreos/etcd/bin/etcd \
  -hosts '10.10.0.100:22,10.10.0.101:22,10.10.0.102:22'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/kr/fs
Package fs provides filesystem-related functions.
Package fs provides filesystem-related functions.
_workspace/src/github.com/pkg/sftp
Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt
Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt
_workspace/src/github.com/pkg/sftp/examples/buffered-read-benchmark
buffered-read-benchmark benchmarks the peformance of reading from /dev/zero on the server to a []byte on the client via io.Copy.
buffered-read-benchmark benchmarks the peformance of reading from /dev/zero on the server to a []byte on the client via io.Copy.
_workspace/src/github.com/pkg/sftp/examples/buffered-write-benchmark
buffered-write-benchmark benchmarks the peformance of writing a single large []byte on the client to /dev/null on the server via io.Copy.
buffered-write-benchmark benchmarks the peformance of writing a single large []byte on the client to /dev/null on the server via io.Copy.
_workspace/src/github.com/pkg/sftp/examples/gsftp
gsftp implements a simple sftp client.
gsftp implements a simple sftp client.
_workspace/src/github.com/pkg/sftp/examples/streaming-read-benchmark
streaming-read-benchmark benchmarks the peformance of reading from /dev/zero on the server to /dev/null on the client via io.Copy.
streaming-read-benchmark benchmarks the peformance of reading from /dev/zero on the server to /dev/null on the client via io.Copy.
_workspace/src/github.com/pkg/sftp/examples/streaming-write-benchmark
streaming-write-benchmark benchmarks the peformance of writing from /dev/zero on the client to /dev/null on the server via io.Copy.
streaming-write-benchmark benchmarks the peformance of writing from /dev/zero on the client to /dev/null on the server via io.Copy.
_workspace/src/golang.org/x/crypto/ssh
Package ssh implements an SSH client and server.
Package ssh implements an SSH client and server.
_workspace/src/golang.org/x/crypto/ssh/agent
Package agent implements a client to an ssh-agent daemon.
Package agent implements a client to an ssh-agent daemon.
_workspace/src/golang.org/x/crypto/ssh/terminal
Package terminal provides support functions for dealing with terminals, as commonly found on UNIX systems.
Package terminal provides support functions for dealing with terminals, as commonly found on UNIX systems.
_workspace/src/golang.org/x/crypto/ssh/test
This package contains integration tests for the code.google.com/p/go.crypto/ssh package.
This package contains integration tests for the code.google.com/p/go.crypto/ssh package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL