improve
This commit is contained in:
parent
5b1971e2f8
commit
5ed690b690
1 changed files with 4 additions and 3 deletions
|
@ -10,7 +10,7 @@ a node of the cluster.
|
||||||
|
|
||||||
To use a cluster, your repository needs to have its gateway configured as a
|
To use a cluster, your repository needs to have its gateway configured as a
|
||||||
remote. Clusters can currently only be accessed via ssh. This gateway
|
remote. Clusters can currently only be accessed via ssh. This gateway
|
||||||
remote is added the same as any other remote:
|
remote is added the same as any other git remote:
|
||||||
|
|
||||||
git remote add bigserver me@bigserver:annex
|
git remote add bigserver me@bigserver:annex
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ In the example above, the three cluster nodes were configured like this:
|
||||||
$ git config remote.node2.annex-cluster-node mycluster
|
$ git config remote.node2.annex-cluster-node mycluster
|
||||||
$ git config remote.node3.annex-cluster-node mycluster
|
$ git config remote.node3.annex-cluster-node mycluster
|
||||||
|
|
||||||
Finally, run `git-annex updatecluster` to record the cluster configuration
|
Finally, run [[git-annex-updatecluster]] to record the cluster configuration
|
||||||
in the git-annex branch. That tells other repositories about the cluster.
|
in the git-annex branch. That tells other repositories about the cluster.
|
||||||
|
|
||||||
$ git-annex updatecluster
|
$ git-annex updatecluster
|
||||||
|
@ -148,7 +148,8 @@ accessed with ssh:
|
||||||
|
|
||||||
Setting up the cluster in NYC is different, rather than using
|
Setting up the cluster in NYC is different, rather than using
|
||||||
`git-annex initcluster` again (which would make a new, different
|
`git-annex initcluster` again (which would make a new, different
|
||||||
cluster), we ask git-annex to extend the cluster from AMS:
|
cluster), we ask git-annex to [[extend|git-annex-extendcluster]]
|
||||||
|
the cluster from AMS:
|
||||||
|
|
||||||
NYC$ git-annex extendcluster AMS mycluster
|
NYC$ git-annex extendcluster AMS mycluster
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue