Skip to content

Instantly share code, notes, and snippets.

@kelseyhightower
Created February 18, 2015 23:59
Show Gist options
  • Select an option

  • Save kelseyhightower/8fb7f5703fa74faf425a to your computer and use it in GitHub Desktop.

Select an option

Save kelseyhightower/8fb7f5703fa74faf425a to your computer and use it in GitHub Desktop.
core@etcd2 ~ $ /opt/bin/etcd --version
etcd version 2.0.3
core@etcd2 ~ $ /opt/bin/etcd --name etcd2 --data-dir /var/lib/etcd --advertise-client-urls http://192.168.12.52:2379 --listen-client-urls http://192.168.12.52:2379 --initial-advertise-peer-urls http://192.168.12.52:2380 --listen-peer-urls http://192.168.12.52:2380 --initial-cluster-token etcd-cluster-1 --initial-cluster etcd0=http://192.168.12.50:2380,etcd1=http://192.168.12.51:2380,etcd2=http://192.168.12.52:2380 --initial-cluster-state new
2015/02/18 23:59:02 starter: please set --data-dir or ETCD_DATA_DIR for etcd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment