Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sponsored by the National Science Foundation 1 GREE SC: June 24, 2013 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do.

Similar presentations


Presentation on theme: "Sponsored by the National Science Foundation 1 GREE SC: June 24, 2013 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do."— Presentation transcript:

1 Sponsored by the National Science Foundation 1 GREE SC: June 24, 2013 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do the pre-work? A.Are you able to login to the GENI Portal? Using your home institution username and password, or Using a GPO issued username and password, or A temporary account B.Are you running the GREE Summer Camp Tutorial VM including both: VirtualBox GREE SC Tutorial VM image GENI Portal is at: http://portal.geni.net

2 Sponsored by the National Science Foundation Tutorial: Getting Started with GENI Using the GENI Portal Sarah Edwards GENI Project Office 24 June 2013

3 Sponsored by the National Science Foundation 3 GREE SC: June 24, 2013 Hands On Exercise Do a Simple Layer 2 Experiment in GENI Reserve two VMs across the US from each other connected by a Layer 2 circuit Layer 2 VM in MA VM in Utah

4 Sponsored by the National Science Foundation 4 GREE SC: June 24, 2013 Understand GENI Terminology slice project aggregate experimenter resource

5 Sponsored by the National Science Foundation 5 GREE SC: June 24, 2013 Use the GENI Portal

6 Sponsored by the National Science Foundation 6 GREE SC: June 24, 2013 Experiment Workflow Part I: Design/Setup –Step 1: Establish Management Environment –Step 2: Obtain Resources Part II: Execute –Execute Experiment Part III: Finish –Teardown Experiment

7 Sponsored by the National Science Foundation 7 GREE SC: June 24, 2013 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.

8 Sponsored by the National Science Foundation 8 GREE SC: June 24, 2013 Experimenter An experimenter is a researcher who uses GENI resources Different types of experimenters have different roles and permissions: Advisor vs Grad Student Teacher vs TA vs Student Experimenter

9 Sponsored by the National Science Foundation 9 GREE SC: June 24, 2013 Projects Projects organize research in GENI Project Lead Members Slice Projects contain both people and their experiments A project is led by a single responsible individual: the project lead

10 Sponsored by the National Science Foundation 10 GREE SC: June 24, 2013 Creating Projects Only project leads can create projects. Project names are public, unique and permanent A project may contain many experimenters; an experimenter may be a member of many projects Projects have an optional expiration (e.g. for classes, tutorials) For today’s tutorial we will all join a project which expires in a week

11 Sponsored by the National Science Foundation 11 GREE SC: June 24, 2013 Experiment Workflow Part I: Design/Setup –Step 1: Establish Management Environment –Step 2: Obtain Resources Part II: Execute –Execute Experiment Part III: Finish –Teardown Experiment

12 Sponsored by the National Science Foundation 12 GREE SC: June 24, 2013 Part I: Establish Management Environment 1.Pre-work: Login to the Portal 2.Pre-work: Project lead adds you to project Project Name: GREESC13 3.Generate and Download SSH Keypair Tutorial instructions: http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/GREESC13/PortalSimpleLayer2Example

13 Sponsored by the National Science Foundation 13 GREE SC: June 24, 2013 Creating a GENI account GENI Portal is at: https://portal.geni.net Anyone with an account at a supported identity provider (usually your school or employer) can log in, but they will have no privileges If you don’t have such an account, we will make you an account at the GPO Identity Provider You must be a member of a project to do anything interesting

14 Sponsored by the National Science Foundation 14 GREE SC: June 24, 2013 InCommon For many experimenters: no new passwords familiar login screens Leverage InCommon for single sign-on authentication Experimenters from 304 educational and research institutions have InCommon accounts

15 Sponsored by the National Science Foundation 15 GREE SC: June 24, 2013 Using ssh with a public/private keypair Login to all GENI compute resources using ssh with a private key There are several ways to offer your private key to ssh. Today we will use tool called an ssh agent. $ ssh-add ~/.ssh/id_geni_ssh_rsa $ ssh username@hostname -p 12345 You should never be prompted for a password to log into a GENI compute node. If you are, something has always gone wrong. No password!

16 Projects Slices Log Messages Profile You are here Help 1.

17 Join a Project GREESC13 2.

18 Generate SSH Keys 3.

19 In your local VM … > mv ~/Downloads/id_geni_ssh_rsa ~/.ssh/. > chmod 600 ~/.ssh/id_geni_ssh_rsa > ssh-add ~/.ssh/id_geni_ssh_rsa 3.

20 Sponsored by the National Science Foundation 20 GREE SC: June 24, 2013 Resource A resource is a piece of infrastructure A resource can be real or virtual. Resource specifications are used to describe and request resources. Examples: Compute: computer vs virtual machine (VM) Wireline Network: VLAN or OpenFlow Wireless: WiMAX

21 Sponsored by the National Science Foundation 21 GREE SC: June 24, 2013 Aggregate An aggregate manages a set of reservable resources Aggregates include: GENI racks OpenFlow WiMAX InstaGENI RackExoGENI Rack

22 Sponsored by the National Science Foundation 22 GREE SC: June 24, 2013 Slice A slice is a container of resources used in an experiment. A slice can contain resources from one or more aggregates A slice is in a single project A slice has an expiration Slice names are public, reusable and unique

23 Sponsored by the National Science Foundation 23 GREE SC: June 24, 2013 Experimenter Putting it all together slice aggregate project Member: Lead: Experimenter Layer 2 VLAN resource

24 Sponsored by the National Science Foundation 24 GREE SC: June 24, 2013 Expiration and renewal slice expiration time ≤ project expiration time each resource expiration time ≤ slice expiration time each resource expiration time ≤ aggregate’s max expiration project slice resource (optional) project expiration time slice expiration time resource expiration time now In general, to extend the lifetime of your resource reservation, you must renew the slice and all resources resource

25 Sponsored by the National Science Foundation 25 GREE SC: June 24, 2013 Slice Membership Membership in a slice controls: –who can act on a slice, and –sometimes who can login to the resources on a slice. You can only add other members of your project to your slice Project leads are added to each slice by default Slice members will be able to login to resources reserved in the future if: –the resources were reserved directly through the portal (by clicking Add Resources on the slice page), and –the slice member has uploaded an ssh public key.

26 Sponsored by the National Science Foundation 26 GREE SC: June 24, 2013 Experiment Workflow Part I: Design/Setup –Step 1: Establish Management Environment –Step 2: Obtain Resources Part II: Execute –Execute Experiment Part III: Finish –Teardown Experiment

27 Sponsored by the National Science Foundation 27 GREE SC: June 24, 2013 slice Part I: Obtain Resources 4.Create a slice 5.Renew your slice 6.(optional) Add other experimenters to your slice 7.Reserve VM at Two Aggregates –Utah InstaGENI –GPO InstaGENI 8.Check Whether VMs are Ready to be Used Layer 2 VLAN VM (Mass) VM (Utah) Wait for blinking ball

28 Create Slice 4.

29 Extend slice expiration 5.

30 Add your neighbor to your slice 6.

31 Add Resources 7.

32 Add Resources at Utah InstaGENI Add Resources at GPO InstaGENI Wait for blinking ball 7.

33

34 Nodes ready? 8.

35 Sponsored by the National Science Foundation 35 GREE SC: June 24, 2013 Experiment Workflow Part I: Design/Setup –Step 1: Establish Management Environment –Step 2: Obtain Resources Part II: Execute –Execute Experiment Part III: Finish –Teardown Experiment

36 Sponsored by the National Science Foundation 36 GREE SC: June 24, 2013 Part II: Execute Experiment 9.Login to nodes (two nodes: client & server) 10.Run your experiment 1.Send IP Traffic 2.Disable IP 3.Send Layer 2 (non-IP) Traffic 11.Logout of your nodes Internet Data Interfaces Control Interfaces ssh Layer 2 VLAN Experimenter server (Mass) client (Utah)

37 Login 9.

38 # login to “client” VM > ssh username @ hostname1 -p port1 $ /sbin/ifconfig # login to “server” VM > ssh username @ hostname2 -p port2 $ /sbin/ifconfig server client 10. 9.

39 $ /sbin/ifconfig server client 10.

40 Worksheet Client Control Interface Nameeth999 IP Address__. __. __. __ Data Interface Nameeth3742 Initial IP Addr10. __. __. __ Des IP Addr10. 17. 1. 1 /24 Server Control Interface Nameeth999 IP Address__. __. __. __ Data Interface Nameeth3742 Initial IP Addr10. __. __. __ Des IP Addr10. 17. 1. 2 /24 MAC Address __ : __ : __ : __ : __ : __ Project Name:GREESC13 Slice Name: portal 01 EtherType: 170 01 10.

41 # configure your IP $ sudo /sbin/ifconfig eth3742 10.17.1.1/24 # should SUCCEED $ ping 10.17.1.2 –c 5 # disable IP on your nodes $ sudo /sbin/ifconfig eth3742 0.0.0.0 # should FAIL $ ping 10.17.1.2 –c 5 # start L2 client $ sudo /usr/local/bin/pingPlus 01:02:03:04:05:06 eth3742 17001 $ exit # configure your IP $ sudo /sbin/ifconfig eth3742 10.17.1.2/24 # disable IP on your nodes $ sudo /sbin/ifconfig eth3742 0.0.0.0 # start L2 server $ sudo /usr/local/bin/pingPlusLis tener 17001 $ exit server client Be careful! 10. 11.

42 Sponsored by the National Science Foundation 42 GREE SC: June 24, 2013 Experiment Workflow Part I: Design/Setup –Step 1: Establish Management Environment –Step 2: Obtain Resources Part II: Execute –Execute Experiment Part III: Finish –Teardown Experiment

43 Sponsored by the National Science Foundation 43 GREE SC: June 24, 2013 Part III: Finish Experiment 12.Delete your resources 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 slice project aggregate experimenter resource

44 Delete Resources at both GPO InstaGENI and Utah InstaGENI 12.

45 Sponsored by the National Science Foundation 45 GREE SC: June 24, 2013 Congratulations! You have… –Run your first GENI Experiment! –Exercised your knowledge of GENI terminology –Used the GENI Portal

46 Sponsored by the National Science Foundation 46 GREE SC: June 24, 2013 Learn about other tools Tools that are integrated with the Portal –Flack GUI is linked on each slice page Ask me about it! –Omni command line tool (config linked on bottom of Profile page) Tutorial: Intro to Omni and Openflow (Tues AM) –Coming soon! (or already here) GEMINI GIMI WiMAX Get help after Summer Camp –Portal specific questions: portal-help@geni.net (Sarah, Tom, Aaron & Marshall)portal-help@geni.net –Everything else: help@geni.net (Niky and Vic)help@geni.net

47 Sponsored by the National Science Foundation 47 GREE SC: June 24, 2013 Welcome to GENI! Keep experimenting!


Download ppt "Sponsored by the National Science Foundation 1 GREE SC: June 24, 2013 Are you ready for the tutorial? 1.Grab a Worksheet and instructions 2.Did you do."

Similar presentations


Ads by Google