[Imported from Trac: page LocalGrid, version 1]
parent
52d5b903bf
commit
ced5cf10d2
28
LocalGrid.md
Normal file
28
LocalGrid.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
## Setting up a local test grid
|
||||||
|
|
||||||
|
1. Create a directory for the grid:
|
||||||
|
|
||||||
|
` mkdir tahoe-grid && cd tahoe-grid `
|
||||||
|
|
||||||
|
2. Create an introducer and start it so that an introducer FURL is generated (we need this for the next step):
|
||||||
|
|
||||||
|
```
|
||||||
|
tahoe create-introducer node-0
|
||||||
|
tahoe start node-0 && tahoe stop node-0
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Create a client node (serve WUI on a non-default port so as not to compete with your working tahoe installation):
|
||||||
|
|
||||||
|
` tahoe create-node -i `cat node-0/introducer.furl` --no-storage -p 3460 -n node-1 node-1 `
|
||||||
|
|
||||||
|
4. Create some storage nodes:
|
||||||
|
|
||||||
|
` for i in {2..9}; do tahoe create-node -i `cat node-0/introducer.furl` -p none -n node-$i node-$i; done `
|
||||||
|
|
||||||
|
5. Start the grid!:
|
||||||
|
|
||||||
|
` for i in {0..9}; do tahoe start node-$i; done `
|
||||||
|
|
||||||
|
6. Check it worked:
|
||||||
|
|
||||||
|
` tahoe webopen -d node-1 `
|
Loading…
Reference in a new issue