Implement weave consense

This commit is contained in:
Adam Harrison committed 2016-03-03 18:52:09 +00:00
1 parent 7c65b6e3bb
commit 6584df274e
5 files changed
+59

No files matched your search

+14
View File
@@ -15,6 +15,7 @@ The following automatic IP address managment topics are discussed:
* [Initializing Peers on a Weave Network](#initialization)
* [`--init-peer-count` and How Quorum is Achieved](#quorum)
* [Forcing Consensus](#forcing-consensus)
* [Choosing an Allocation Range](#range)
@@ -111,6 +112,19 @@ is safe with respect to Weave's startup quorum:
...host1 is rebooted...
host1$ weave launch $HOST2 $HOST3
### <a name="forcing-consensus"></a>Forcing Consensus
Under certain circumstances (for example when adding new nodes to an
existing cluster) it is desirable to ensure that a node has
successfully joined and received a copy of the IPAM data structure
shared amongst the peers. An administrative command is provided for
this purpose:
host1$ weave consense
This operation will block until the node on which it is run has joined
successfully.
### <a name="range"></a>Choosing an Allocation Range
By default, Weave allocates IP addresses in the 10.32.0.0/12