remove example, which didn't format right in mdwn
This commit is contained in:
parent
df7045c2e4
commit
253f2325fb
1 changed files with 0 additions and 25 deletions
|
@ -387,31 +387,6 @@ as passed to "git annex sim" while a simulation is running.
|
||||||
multiple gateways in the same cluster, use this command to give it
|
multiple gateways in the same cluster, use this command to give it
|
||||||
multiple names.
|
multiple names.
|
||||||
|
|
||||||
For example:
|
|
||||||
|
|
||||||
init foo
|
|
||||||
init bar
|
|
||||||
init node1
|
|
||||||
init node2
|
|
||||||
clusternode cluster-node1 node1
|
|
||||||
clusternode cluster-node2 node2
|
|
||||||
group node1 cluster
|
|
||||||
group node2 cluster
|
|
||||||
wanted node1 sizebalanced=cluster
|
|
||||||
wanted node2 sizebalanced=cluster
|
|
||||||
maxsize node1 100gb
|
|
||||||
maxsize node2 100gb
|
|
||||||
connect cluster-node2 <- foo -> cluster-node1
|
|
||||||
connect cluster-node2 <- bar -> cluster-node1
|
|
||||||
addmulti 10 foo 1gb 2gb foo
|
|
||||||
addmulti 10 bar 1gb 2gb bar
|
|
||||||
action foo sendwanted cluster-node1 while action foo sendwanted cluster-node2 while action bar sendwanted cluster-node1 while action bar sendwanted cluster-node2
|
|
||||||
|
|
||||||
In the above example, while foo and bar are both concurrently sending
|
|
||||||
wanted files to both cluster nodes, each will know immediately which
|
|
||||||
files have been sent by the other, and so the files will be sizebalanced
|
|
||||||
between them optimally.
|
|
||||||
|
|
||||||
# OPTIONS
|
# OPTIONS
|
||||||
|
|
||||||
* The [[git-annex-common-options]](1) can be used.
|
* The [[git-annex-common-options]](1) can be used.
|
||||||
|
|
Loading…
Reference in a new issue