Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the...
-
Upload
corey-moody -
Category
Documents
-
view
215 -
download
0
Transcript of Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the...
![Page 1: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/1.jpg)
Sponsored by the National Science Foundation
Lab Zero:A First Experiment using GENI
Sarah Edwards, GENI Project Office
![Page 2: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/2.jpg)
Sponsored by the National Science Foundation 3GREESC15– May 25, 2015
Hands On Exercise
Do a Simple Experiment in GENI
Reserve two VMs connected at Layer 2
Layer 2VMVM
![Page 3: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/3.jpg)
Sponsored by the National Science Foundation 4GREESC15– May 25, 2015
Use the GENI Portal and Jacks
![Page 4: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/4.jpg)
Sponsored by the National Science Foundation 5GREESC15– May 25, 2015
Experiment Workflow• Part I: Design/Setup
• Part II: Execute
• Part III: Finish
![Page 5: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/5.jpg)
Sponsored by the National Science Foundation 6GREESC15– May 25, 2015
The GENI Portal is…
A web-based tool for experimenters to manage
experimenters, projects, and slices.
Includes simple tools to reserve resources.
More to come in the future.
![Page 6: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/6.jpg)
Sponsored by the National Science Foundation 7GREESC15– May 25, 2015
Jacks and jFed are …
Graphical user interfaces (GUIs) for: – designing topologies in GENI– reserving resources in GENI
![Page 7: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/7.jpg)
Sponsored by the National Science Foundation 8GREESC15– May 25, 2015
Experiment Workflow• Part I: Design/Setup
• Part II: Execute
• Part III: Finish
![Page 8: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/8.jpg)
Sponsored by the National Science Foundation 9GREESC15– May 25, 2015
Part I: Establish Management Environment
1 Pre-work: Design your experiment
2.1 Pre-work: Create a GENI account
2.2 Pre-work: Project lead (aka professor) adds you to project
Project Name: GEC22
2.3 Generate and Download SSH Keypair
![Page 9: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/9.jpg)
On your local machine…
> mv ~/Downloads/id_geni_ssh_rsa ~/.ssh/.> chmod 600 ~/.ssh/id_geni_ssh_rsa> ssh-add ~/.ssh/id_geni_ssh_rsa
2
![Page 10: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/10.jpg)
Sponsored by the National Science Foundation 13GREESC15– May 25, 2015
slice
Part I continued:Obtain Resources
3.1 Create a slice
3.2 (optional) Renew your slice
3.3 Reserve two VMs at one aggregate
3.4 Check Whether VMs are Ready to be Used
Layer 2VMVM
![Page 11: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/11.jpg)
Sponsored by the National Science Foundation 23GREESC15– May 25, 2015
Experiment Workflow• Part I: Design/Setup
• Part II: Execute
• Part III: Finish
![Page 12: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/12.jpg)
Sponsored by the National Science Foundation 24GREESC15– May 25, 2015
Part II: Execute Experiment
4.1 Login to all three nodes
5.1 Test Connectivity
5.2 Explore the Data and Control Planes
6.1 Logout of nodes
Internet
Data Interfaces
Control Interfaces
ssh
Layer 2
Experimenter
serverclient
![Page 13: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/13.jpg)
WorksheetSlice Name: lab0<your
initials>
5.1
NodeA
eth___
eth___
10.1.1.1
___.___.___.___
NodeBeth___
eth___
10.1.1.2
___.___.___.___
Data i/f
Control i/f
Data i/f
Control i/f
Internet
Control plane switchD
ata
p
lan
e
swit
ch
![Page 14: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/14.jpg)
5.1What is the bandwidth of the data link? Why?What is the bandwidth of the control link? Why?
NodeA
eth___
eth___
10.1.1.1
___.___.___.___
NodeBeth___
eth___
10.1.1.2
___.___.___.___
Data i/f
Control i/f
Data i/f
Control i/f
Internet
Control plane switch
Data
p
lan
e
swit
ch
GENI Rack
![Page 15: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/15.jpg)
5.3 When you bring down the data interface, the destination should become unreachable. Why?
NodeA
eth___
eth___
10.1.1.1
___.___.___.___
NodeBeth___
eth___
10.1.1.2
___.___.___.___
Data i/f
Control i/f
Data i/f
Control i/f
Internet
Control plane switch
Data
p
lan
e
swit
ch
GENI Rack
![Page 16: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/16.jpg)
5.3 After you bring down the control interface, the destination becomes unreachable. Why?
NodeA
eth___
eth___
10.1.1.1
___.___.___.___
NodeBeth___
eth___
10.1.1.2
___.___.___.___
Data i/f
Control i/f
Data i/f
Control i/f
Internet
Control plane switch
Data
p
lan
e
swit
ch
GENI Rack
![Page 17: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/17.jpg)
5.3 After you bring down the control interface, your ssh session should immediately hang. Why?
NodeA
eth___
eth___
10.1.1.1
___.___.___.___
NodeBeth___
eth___
10.1.1.2
___.___.___.___
Data i/f
Control i/f
Data i/f
Control i/f
Internet
Control plane switch
Data
p
lan
e
swit
ch
GENI Rack
![Page 18: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/18.jpg)
Sponsored by the National Science Foundation 39GREESC15– May 25, 2015
Experiment Workflow• Part I: Design/Setup
• Part II: Execute
• Part III: Finish
![Page 19: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/19.jpg)
Delete Resources
7
![Page 20: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/20.jpg)
Sponsored by the National Science Foundation 42GREESC15– May 25, 2015
Part III: Finish Experiment
When your experiment is done, you should always release your resources.
– Normally this is when you would archive your data– Delete your resources at each aggregate
sliceproject
aggregateexperimenter
resource
![Page 21: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/21.jpg)
Sponsored by the National Science Foundation 43GREESC15– May 25, 2015
Congratulations!
You have…–Run your first GENI Experiment!–Exercised your knowledge of GENI
terminology–Used the GENI Portal and Jacks or
jFed
![Page 22: Sponsored by the National Science Foundation 1 GREESC15– May 25, 2015 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.](https://reader035.fdocuments.in/reader035/viewer/2022062720/56649f045503460f94c19352/html5/thumbnails/22.jpg)
Sponsored by the National Science Foundation 44GREESC15– May 25, 2015
Welcome to GENI!