Created
February 18, 2015 23:33
-
-
Save kelseyhightower/65cc32f41cdcd007f4c6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| demo $ ./bin/etcd-down | |
| stopping core2... | |
| stopping core1... | |
| stopping core0... | |
| demo $ ./bin/etcd-revert | |
| reverting core5 to base snapshot | |
| reverting core4 to base snapshot | |
| reverting core3 to base snapshot | |
| reverting core2 to base snapshot | |
| reverting core1 to base snapshot | |
| reverting core0 to base snapshot | |
| demo $ ./bin/etcd-up | |
| starting core0... | |
| starting core1... | |
| starting core2... | |
| demo $ etcdctl member list | |
| 5ae3067007f7fb85: name=etcd2 peerURLs=http://192.168.12.52:2380 clientURLs=http://192.168.12.52:2379 | |
| 7931e79c0d8b47c5: name=etcd0 peerURLs=http://192.168.12.50:2380 clientURLs=http://192.168.12.50:2379 | |
| 987146e8925f10e5: name=etcd1 peerURLs=http://192.168.12.51:2380 clientURLs=http://192.168.12.51:2379 | |
| demo $ etcdctl cluster-health | |
| cluster is unhealthy | |
| demo $ etcdctl cluster-health | |
| cluster is unhealthy | |
| demo $ date | |
| Wed Feb 18 15:32:59 PST 2015 | |
| demo $ etcdctl cluster-health | |
| cluster is unhealthy | |
| demo $ etcdctl set foo bar | |
| bar | |
| demo $ etcdctl cluster-health | |
| cluster is healthy | |
| member 5ae3067007f7fb85 is healthy | |
| member 7931e79c0d8b47c5 is healthy | |
| member 987146e8925f10e5 is healthy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment