Skip to content

Instantly share code, notes, and snippets.

@changs
Created June 9, 2015 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save changs/2e408550031667c29c5f to your computer and use it in GitHub Desktop.
Save changs/2e408550031667c29c5f to your computer and use it in GitHub Desktop.
./etcd -name infra0 -initial-advertise-peer-urls http://10.0.15.30:2380 \
-listen-peer-urls http://10.0.15.30:2380 \
-listen-client-urls http://10.0.15.30:2379,http://127.0.0.1:2379 \
-advertise-client-urls http://10.0.15.30:2379 \
-initial-cluster-token etcd-cluster-1 \
-initial-cluster infra0=http://10.0.15.30:2380,infra1=http://10.0.15.31:2380 \
-initial-cluster-state new
./etcd -name infra1 -initial-advertise-peer-urls http://10.0.15.31:2380 \
-listen-peer-urls http://10.0.15.31:2380 \
-listen-client-urls http://10.0.15.31:2379,http://127.0.0.1:2379 \
-advertise-client-urls http://10.0.15.31:2379 \
-initial-cluster-token etcd-cluster-1 \
-initial-cluster infra0=http://10.0.15.30:2380,infra1=http://10.0.15.31:2380 \
-initial-cluster-state new
-----------
2015/06/09 07:56:06 sender: the connection with e0fb95c128a4a81f became active
2015/06/09 07:56:06 etcdserver: conflicting cluster ID with the target cluster (57065169ca0a8807 != 6b32002e8113a7f9)
2015/06/09 07:56:06 etcdserver: the data-dir used by this member must be removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment