Version 9 (modified by 9 years ago) (diff) | ,
---|
Scaling Up: How to Grow the Topology of an Existing Experiment
1. Design the Experiment
|
2. Establish the Environment
2.1 Pre-work: Install geni-lib
- Install the
geni-lib
tool using the installation instructions for your operating system.
3. Obtain Resources
Now that you are a member of a project, you can create a slice and reserve resources.
3.1 Generate RSpec based on existing smaller topology
- This experiment already works using this [small topology]. Load (but do not reserve) this topology in your favorite to see what it looks like.
- Download this [config file] for the
create_rspec
tool distributed withgeni-lib
. - Open the file using your favorite text editor (
vi
oremacs
). ReplaceX
with the value on your worksheet. If you are doing this outside a tutorial, replaceX
with1
. - Run the rspec_gen script on the configuration file:
./rspec_geni.py -r site.txt
- Look at the generated file using your favorite tools (
less
,more
,emacs
,vi
).- Can you find each node? Can you find the router node? The host nodes?
- Which interface is the Shared VLAN on? Find where the IP address for that interface is set and change the IP to be
10.100.Y.X
where Y and X are provided on your worksheet. Or do in Jacks and download the IP address?
3.3 Reserve Topology
- Using your favorite tool (Jacks, jFed), reserve the generated RSpec (
siteX.xml
) at the aggregate listed on your worksheet.
- Wait for the topology to come up.
- Log into one of the
host
nodes (e.g.host-1
) usingssh
. - Ping various nodes shown in the [picture].
- Run LabWiki script