Merge pull request #2019 from weaveworks/1-5-edit3
cleaned up product names
This commit is contained in:
commit
66cd178308
36 files changed
+175
-180
No files matched your search
@@ -4,7 +4,7 @@ layout: default
|
||||
---
|
||||
|
||||
|
||||
IP subnets are used to define or restrict routing. By default, Weave
|
||||
IP subnets are used to define or restrict routing. By default, Weave Net
|
||||
puts all containers into a subnet that spans the entire allocation
|
||||
range, so that every Weave-attached container can communicate with every other
|
||||
Weave-attached container.
|
||||
|
||||
@@ -4,11 +4,11 @@ layout: default
|
||||
---
|
||||
|
||||
|
||||
Weave automatically assigns containers a unique IP address
|
||||
Weave Net automatically assigns containers a unique IP address
|
||||
across the network, and also releases that address when the container
|
||||
exits. Unless you explicitly specify an address, this occurs for all
|
||||
invocations of the `run`, `start`,
|
||||
`attach`, `detach`, `expose`, and `hide` commands. Weave can also assign
|
||||
`attach`, `detach`, `expose`, and `hide` commands. Weave Net can also assign
|
||||
addresses in multiple subnets.
|
||||
|
||||
The following automatic IP address managment topics are discussed:
|
||||
@@ -23,8 +23,8 @@ The following automatic IP address managment topics are discussed:
|
||||
### <a name="initialization"></a>Initializing Peers on a Weave Network
|
||||
|
||||
Just once, when the first automatic IP address allocation is requested
|
||||
in the whole network, Weave needs a majority of peers to be present in
|
||||
order to avoid formation of isolated groups, which could lead to
|
||||
in the whole network, Weave Net needs a majority of peers to be present in
|
||||
order to avoid formation of isolated groups, which can lead to
|
||||
inconsistency, for example, the same IP address being allocated to two
|
||||
different containers.
|
||||
|
||||
@@ -32,7 +32,7 @@ Therefore, you must either supply the list of all peers in the network at `weave
|
||||
`--init-peer-count` flag to specify how many peers there will be.
|
||||
|
||||
To illustrate, suppose you have three hosts, accessible to each other
|
||||
as `$HOST1`, `$HOST2` and `$HOST3`. You can start weave on those three
|
||||
as `$HOST1`, `$HOST2` and `$HOST3`. You can start Weave Net on those three
|
||||
hosts using these three commands:
|
||||
|
||||
host1$ weave launch $HOST2 $HOST3
|
||||
@@ -61,7 +61,7 @@ through three states: 'deferred', 'waiting' and 'achieved':
|
||||
themselves successfully
|
||||
* 'achieved' - consensus achieved; allocations proceed normally
|
||||
|
||||
Finally, you may launch some peers as election observers using the
|
||||
Finally, some peers can be launched as election observers using the
|
||||
`--observer` option:
|
||||
|
||||
host4$ weave launch --observer $HOST3
|
||||
@@ -77,7 +77,7 @@ initial peer counts accordingly.
|
||||
Normally it isn't a problem to over-estimate `--init-peer-count`, but if you supply
|
||||
a number that is too small, then multiple independent groups may form.
|
||||
|
||||
Weave uses the estimate of the number of peers at initialization to
|
||||
Weave Net uses the estimate of the number of peers at initialization to
|
||||
compute a majority or quorum number - specifically floor(n/2) + 1.
|
||||
|
||||
If the actual number of peers is less than half the number stated, then
|
||||
@@ -101,7 +101,7 @@ that was correct when they first started, then they could form an
|
||||
independent set again.
|
||||
|
||||
To illustrate this last point, the following sequence of operations
|
||||
is safe with respect to Weave's startup quorum:
|
||||
is safe with respect to Weave Net's startup quorum:
|
||||
|
||||
host1$ weave launch
|
||||
...time passes...
|
||||
@@ -127,8 +127,8 @@ successfully.
|
||||
|
||||
### <a name="range"></a>Choosing an Allocation Range
|
||||
|
||||
By default, Weave allocates IP addresses in the 10.32.0.0/12
|
||||
range. This can be overridden with the `--ipalloc-range` option, e.g.
|
||||
By default, Weave Net allocates IP addresses in the 10.32.0.0/12
|
||||
range. This can be overridden with the `--ipalloc-range` option:
|
||||
|
||||
host1$ weave launch --ipalloc-range 10.2.0.0/16
|
||||
|
||||
|
||||
@@ -5,29 +5,30 @@ layout: default
|
||||
|
||||
|
||||
You may wish to `weave stop` and re-launch to change some config or to
|
||||
upgrade to a new version; provided the underlying protocol hasn't
|
||||
changed it will pick up where it left off and learn from peers in the
|
||||
network which address ranges it was previously using. If, however, you
|
||||
run `weave reset` this will remove the peer from the network so
|
||||
if Weave is run again on that node it will start from scratch.
|
||||
upgrade to a new version. Provided that the underlying protocol hasn't
|
||||
changed, Weave Net picks up where it left off and learns from peers in the
|
||||
network which address ranges it was previously using.
|
||||
|
||||
If, however, you run `weave reset` this removes the peer from the network so
|
||||
if Weave Net is run again on that node it will start from scratch.
|
||||
|
||||
For failed peers, the `weave rmpeer` command can be used to
|
||||
permanently remove the ranges allocated to said peer. This will allow
|
||||
other peers to allocate IPs in the ranges previously owner by the rm'd
|
||||
peer, and as such should be used with extreme caution - if the rm'd
|
||||
permanently remove the ranges allocated to said peer. This allows
|
||||
other peers to allocate IPs in the ranges previously owned by the removed peer,
|
||||
and as such should be used with extreme caution - if the removed
|
||||
peer had transferred some range of IP addresses to another peer but
|
||||
this is not known to the whole network, or if it later rejoins
|
||||
the Weave network, the same IP address may be allocated twice.
|
||||
|
||||
Assuming we had started the three peers in the example earlier, and
|
||||
host3 has caught fire, we can go to one of the other hosts and run:
|
||||
Assume you had started the three peers in the example earlier, and
|
||||
then host3 caught fire, you can go to one of the other hosts and run:
|
||||
|
||||
host1$ weave rmpeer host3
|
||||
|
||||
Weave will take all the IP address ranges owned by host3 and transfer
|
||||
Weave Net takes all the IP address ranges owned by host3 and transfers
|
||||
them to be owned by host1. The name "host3" is resolved via the
|
||||
'nickname' feature of weave, which defaults to the local host
|
||||
name. Alternatively, one can supply a peer name as shown in `weave
|
||||
'nickname' feature of Weave Net, which defaults to the local host
|
||||
name. Alternatively, you can supply a peer name as shown in `weave
|
||||
status`.
|
||||
|
||||
**See Also**
|
||||
|
||||
@@ -8,7 +8,7 @@ The command
|
||||
|
||||
weave status
|
||||
|
||||
reports on the current status of the weave router and IP allocator:
|
||||
reports on the current status of the Weave Net router and IP allocator:
|
||||
|
||||
````
|
||||
...
|
||||
@@ -21,8 +21,8 @@ reports on the current status of the weave router and IP allocator:
|
||||
...
|
||||
````
|
||||
|
||||
The first section covers the router; see the [troubleshooting
|
||||
guide](/site/troubleshooting.md#weave-status) for full details.
|
||||
The first section covers the router; see the [Troubleshooting
|
||||
Guide](/site/troubleshooting.md#weave-status) for full details.
|
||||
|
||||
The 'Service: ipam' section displays the consensus state as well as
|
||||
the total allocation range and default subnet.
|
||||
Reference in new issue
Block a user