From ced5cf10d2f0231842d872d333d816210e2bd788 Mon Sep 17 00:00:00 2001 From: lebek <> Date: Thu, 3 May 2012 15:32:39 +0000 Subject: [PATCH] [Imported from Trac: page LocalGrid, version 1] --- LocalGrid.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 LocalGrid.md diff --git a/LocalGrid.md b/LocalGrid.md new file mode 100644 index 0000000..52400a7 --- /dev/null +++ b/LocalGrid.md @@ -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 ` \ No newline at end of file