source: fedkit/HOWTO @ 8bc5754

axis_examplecompt_changesinfo-opsversion-1.30version-2.00version-3.01version-3.02
Last change on this file since 8bc5754 was 906c763, checked in by John Hickey <jhickey@…>, 17 years ago

HOWTO for Schwab (post branch)

  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[906c763]1
2Using the DETER federation tools
3
4Setup
5
6You will need your own copy of the configuration files and scripts that
7are exported to remote federated testbeds.  This file is available from
8
9http://www.isi.edu/~faber/tmp/federation.tgz
10
11The contents of this file are:
12
13federation/HOWTO                        This file
14federation/fed-tun.pl                   Tunnel establishment script
15federation/federate.sh                  Client testbed node init script
16federation/make_hosts                   Master testbed node init script
17federation/smbmount.pl                  Script to mount SMB filesystems
18                                        on client nodes, called from
19                                        federate.sh
20federation/splitter.conf.example        Example splitter configuration file
21federation/splitter.pl                  Main federation script
22federation/testbeds.example             Exmaple testbeds config file
23
24federation/testlan.tcl                  Example federated topology
25
26You'll also need acces to a tunneling image and a SMB-enabled image for
27clients.  Currently these are FBSD61-TUNNEL2 and FBSD62-SMB on DETER in
28the emulab-ops project.  Identical images are in DETER and Deter on
29Emulab and WAIL.  Eventually federating testbeds will make those images
30available to users permitted to federate, but that policy is not in
31place.
32
33Configuration files
34
35There are two configuration files:
36
37testbeds        The testbeds that can be federated and their parameters
38splitter.conf   The per-experiment parameters (e.g. remote experiment name)
39
40These are documented in the pod documentation for splitter.  You can
41view that by:
42
43$ pod2man testbed/federation/splitter.pl | groff -man -Tascii | more
44
45You should be able to use testbeds.example almost completely unchanged.
46You will need to change the User parameter to your username on the
47various testbeds.  If you're not using the same projects on the various
48testbeds (DETER: emulab-ops, WAIL: Deter, Emulab: Deter) those will need
49to change as well.  Otherwise the defaults should work for you.
50
51Similarly, the splitter.conf.example file is mostly usable.  Change the
52experiment name to avoid collisions.  (The split experiment will be
53instantiated using that experiment name on each federated testbed, so it
54could collide with others in use).  Make sure the Testbeds parameter
55points to the testbeds file you created above and that the ScriptDir
56parameter points to the directory that you untarred federation.tgz into.
57Just for completeness change the SMBUser to your UID.  The USERS share
58should work for you.  It is the share that is exported to remote
59testbeds.
60
61Creating an experiment
62
63You have to run splitter on users.isi.deterlab.net.  It depends on a
64modified experiment parser that is not widely available, but installed
65on users.
66
67To use the given experiment (testlan.tcl) you should be able to run
68splitter directly.  I use something like:
69
70$ perl ./splitter.pl -v testlan.tcl
71
72You will be able to watch each testbed swap nodes in on the individual
73testbeds.
74
75To split an existing experiment across multiple testbeds, you need to
76use the command
77
78tb-set-node-testbed node "testbed"
79
80The node is the result of the [ $ns node ] command and the testbed is a
81string that matches an entry in your testbeds file.  Note that DETER has
82only 2 connectors and any connection or LAN between nodes on different
83testbeds will use up a connector.  Actually up to 2 connections can be
84multiplexed on a connector.
85
86Right now, to ensure cross testbed routing works and that the master
87testbed files are exported, use FBSD62-SMB as the image on clients.
88
89Let me know if you have questions.  faber@isi.edu
Note: See TracBrowser for help on using the repository browser.