Skip to content

Instantly share code, notes, and snippets.

@imaximix
Last active May 29, 2017 12:42
Show Gist options
  • Save imaximix/6ac024fda02f10358bf62ec0b37a8fa6 to your computer and use it in GitHub Desktop.
Save imaximix/6ac024fda02f10358bf62ec0b37a8fa6 to your computer and use it in GitHub Desktop.
etcd2 --name node1 --initial-advertise-peer-urls 'http://207.154.233.166:2380' \
--listen-peer-urls 'http://207.154.233.166:2380' \
--listen-client-urls 'http://207.154.233.166:2379,http://127.0.0.1:2379' \
--advertise-client-urls 'http://207.154.233.166:2379' \
--initial-cluster-token etcd-cluster-1 \
--initial-cluster 'node1=http://207.154.233.166:2380,node2=http://207.154.237.27:2380' \
--initial-cluster-state new
etcd2 --name node2 --initial-advertise-peer-urls 'http://207.154.237.27:2380' \
--listen-peer-urls 'http://207.154.237.27:2380' \
--listen-client-urls 'http://207.154.237.27:2379,http://127.0.0.1:2379' \
--advertise-client-urls 'http://207.154.237.27:2379' \
--initial-cluster-token etcd-cluster-1 \
--initial-cluster 'node1=http://207.154.233.166:2380,node2=http://207.154.237.27:2380' \
--initial-cluster-state new
etcd2 --name node2 --initial-advertise-peer-urls 'http://207.154.237.27:2380' \
--listen-peer-urls 'http://207.154.237.27:2380' \
--listen-client-urls 'http://207.154.237.27:2379,http://127.0.0.1:2379' \
--advertise-client-urls 'http://207.154.237.27:2379' \
--initial-cluster-token etcd-cluster-1 \
--initial-cluster 'node1=http://207.154.233.166:2380,node2=http://207.154.237.27:2380' \
--initial-cluster-state new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment