Skip to content

Instantly share code, notes, and snippets.

@kelseyhightower
Created March 20, 2015 02:16
Show Gist options
  • Select an option

  • Save kelseyhightower/9ecdf81a815d004dc766 to your computer and use it in GitHub Desktop.

Select an option

Save kelseyhightower/9ecdf81a815d004dc766 to your computer and use it in GitHub Desktop.
etcd $ rm -rf MacBook-Air.local.etcd/
etcd $ ./bin/etcd -internal-dir /opt/etcd/internal_versions/
[etcd] Mar 19 19:15:25.181 WARNING | Using the directory MacBook-Air.local.etcd as the etcd curation directory because a directory was not specified.
[etcd] Mar 19 19:15:25.182 INFO | MacBook-Air.local is starting a new cluster
[etcd] Mar 19 19:15:25.184 INFO | etcd server [name MacBook-Air.local, listen on :4001, advertised url http://127.0.0.1:4001]
[etcd] Mar 19 19:15:25.184 INFO | peer server [name MacBook-Air.local, listen on :7001, advertised url http://127.0.0.1:7001]
[etcd] Mar 19 19:15:25.184 INFO | MacBook-Air.local starting in peer mode
[etcd] Mar 19 19:15:25.184 INFO | MacBook-Air.local: state changed from 'initialized' to 'follower'.
[etcd] Mar 19 19:15:25.185 INFO | MacBook-Air.local: state changed from 'follower' to 'leader'.
[etcd] Mar 19 19:15:25.185 INFO | MacBook-Air.local: leader changed from '' to 'MacBook-Air.local'.
[etcd] Mar 19 19:15:25.188 INFO | MacBook-Air.local: available_internal_versions [1 2] is registered into key space successfully.
[etcd] Mar 19 19:15:37.193 INFO | MacBook-Air.local: detected next internal version 2, exit after 10 seconds.
[etcd] Mar 19 19:15:47.195 INFO | MacBook-Air.local: state changed from 'leader' to 'stopped'.
[etcd] Mar 19 19:15:47.196 INFO | MacBook-Air.local: state changed from 'stopped' to 'stopped'.
etcd $ ./bin/etcd -internal-dir /opt/etcd/internal_versions/
[etcd] Mar 19 19:15:52.024 WARNING | Using the directory MacBook-Air.local.etcd as the etcd curation directory because a directory was not specified.
[etcd] Mar 19 19:15:52.027 INFO | Peer URLs in log: / MacBook-Air.local (http://127.0.0.1:7001)
[etcd] Mar 19 19:15:52.029 INFO | etcd server [name MacBook-Air.local, listen on :4001, advertised url http://127.0.0.1:4001]
[etcd] Mar 19 19:15:52.029 INFO | peer server [name MacBook-Air.local, listen on :7001, advertised url http://127.0.0.1:7001]
[etcd] Mar 19 19:15:52.029 INFO | MacBook-Air.local starting in peer mode
[etcd] Mar 19 19:15:52.029 INFO | MacBook-Air.local: state changed from 'initialized' to 'follower'.
[etcd] Mar 19 19:15:52.323 INFO | MacBook-Air.local: state changed from 'follower' to 'candidate'.
[etcd] Mar 19 19:15:52.323 INFO | MacBook-Air.local: state changed from 'candidate' to 'leader'.
[etcd] Mar 19 19:15:52.323 INFO | MacBook-Air.local: leader changed from '' to 'MacBook-Air.local'.
[etcd] Mar 19 19:15:53.032 INFO | MacBook-Air.local: detected next internal version 2, exit after 10 seconds.
[etcd] Mar 19 19:15:53.437 INFO | MacBook-Air.local: available_internal_versions [1 2] is registered into key space successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment