Last active
May 29, 2017 12:42
-
-
Save imaximix/6ac024fda02f10358bf62ec0b37a8fa6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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