14 Commits

Author SHA1 Message Date
Jonathan Boulle
3f358b6d5d etcdserver: ensure initial-advertise-peer-urls match initial-cluster
This adds a check to setupCluster to ensure that the list of URLs
specified in `initial-advertise-peer-urls` matches those configured in
`initial-cluster` for this node. Also updates the documentation to
clarify this and address some changes in wording.
2014-11-12 12:54:35 -08:00
Xiang Li
a0002d0598 doc: add fallback to discovery section in clustering.md 2014-11-10 12:14:19 -08:00
Yicheng Qin
5d755bd54a docs: describe the lifetime of discovery url 2014-11-06 00:31:19 -08:00
Kelsey Hightower
20df86e3c3 docs: clean up clustering doc 2014-11-03 09:51:50 -08:00
Kelsey Hightower
3068340a83 docs: fix usage of peers urls 2014-11-02 22:00:41 -08:00
Xiang Li
8e633db5cb doc: add doc for initial-cluster-token 2014-10-30 17:08:15 -07:00
Xiang Li
af7d73717c doc: add a Custom etcd discovery service section 2014-10-30 11:34:46 -07:00
Brian Waldon
b62fdac193 doc: PUT instead of POST discovery config 2014-10-24 16:30:48 -07:00
Xiang Li
2e84eb3c36 *: change advertise-peer-urls -> initial-advertise-peer-urls 2014-10-24 13:51:59 -07:00
Brandon Philips
400dd2d7bc etcdserver: cleanup the cluster ID error message
1) Don't panic since we know exactly where this is coming from and don't
need the user to see a full back trace

2) Add docs explaining this situation a bit further

3) Cleanup the error to look like other similiar errors
2014-10-22 15:26:35 -07:00
Jonathan Boulle
2af0b2031f doc: add note about discovery proxy 2014-10-16 17:14:38 -07:00
Jonathan Boulle
a10c62ae25 documentation: clustering guide fixes 2014-10-06 15:07:44 -07:00
Brandon Philips
e2d8037ded main: use initial-cluster and initial-cluster-state flags
In preperation for adding the ability to join a machine to an existing
cluster force the user to specify whether they expect this to me a new
cluster or an active one.

The error for not specifying the initial-cluster-state is:
```
etcd: initial cluster state unset and no wal found
```
2014-10-06 14:59:25 -07:00
Brandon Philips
6bc160b4e3 Documentation: introduce the initial 0.5 clustering guide
Introduce the concepts of static initial cluster configuration and
document the flag migrations.
2014-10-06 12:25:12 -07:00