wiki:PaperOSRMethodology/Design

Version 17 (modified by sedwards@bbn.com, 9 years ago) (diff)

--

OSPF Convergence Time in a Virtual Network

Image Map

1. Design the Experiment

  1. Any InstaGENI aggregate can be used. UtahDDC InstaGENI is a good choice because it has many resources.

2. Establish the Environment

2.1 Create a GENI account

  1. If you don't already have a GENI account, please get a GENI account.
  2. Once you have a GENI account, login as follows:
    1. Go to https://portal.geni.net and press the Use GENI button
    2. From the Drop Down menu select your institution. If you got an account through the GENI Identity Provider, please select GENI Project Office.
      Tip Start typing the name of your institution and see the list become smaller.
    3. You will be transferred to the Login Page of your institution. Fill in your username and password.
    4. Complete the form that appears after you have successfully logged in and press Continue.
    5. You will be transferred to an Activation Page. Make sure both checkboxes are checked and then press Activate.
Use GENI
Figure 2-1 Logging into the GENI Experimenter Portal.

Congratulations, you have successfully created a GENI account.

2.2 Join a project

In order to use the portal to reserve resources, you must join a project.

  1. Please join a project.

2.3 Generate and Download SSH Keypair

Access to compute resources in GENI is provided through ssh key pairs and thus the portal needs a public key to upload to compute resources. For the purposes of the tutorial we will have the portal create an SSH key pair for you. (However, if you prefer to use your personal public key you can choose to upload it.)

  1. Once you are logged in, click on the Profile page.
  2. On the Profile page in the SSH Keys section, select generate and download an SSH keypair button.
Generate an SSH Key Pair

Figure 2-2 On the Profile page, select the "generate and download an SSH keypair" button.
  1. Enter the same passphrase twice, then press Generate SSH private key.
Generate an SSH Key Pair
Figure 2-3 Enter passphrase twice, then generate SSH private key.
  1. Now, press the Download Private Key button
  2. If you are using a command line based ssh client, open a terminal and execute:
    $ mv ~/Downloads/id_geni_ssh_rsa ~/.ssh/.
    $ chmod 0600 ~/.ssh/id_geni_ssh_rsa
    $ ssh-add ~/.ssh/id_geni_ssh_rsa
    
    Later in the tutorial, this will allow you to log into your nodes securely without a password.
Download an SSH Key Pair
Figure 2-4 Download an SSH Key Pair.

3. Obtain Resources

Now that you are a member of a project, you can create a slice and reserve resources.

3.1 Create a slice

  1. Go to the Home tab.
  2. Press the Create Slice button for this project.
  3. As a slice name use the slice name on your worksheet. If you don't have a worksheet, use lab0<your initials>. You can leave the description empty and press Create Slice
Create a GENI Slice
Figure 3-1 Create a new slice.

3.2 Reserve Topology

The Portal can reserve pre-defined topologies of GENI resources.

  1. On the Slice tab, press the Add Resources button.
Add Resources
Figure 3-2 Select Add Resources
  1. Select the OSPF 4-node (InstaGENI) RSpec.
  2. Select the UtahDDC InstaGENI Aggregate (or Site).
  3. Reserve the resources.
Add Resources
Figure 3-3 Select a pre-defined RSpec and a location.

3.4 Check Whether Virtual Machines are Ready to be Used

  1. After clicking the Submit button, wait for the reservation to have successfully Finished.
Reservation is Finished
Figure 3-4 Reservation complete. Nodes are ready to login.
  1. Go back to the Slice page, and press the Ready? button. Wait for this to turn green and say Ready. (This may take awhile.)
Resources are ready
Figure 3-5 Reservation complete. Nodes are ready to login.

4. Login to nodes

  1. To login to a VM, click the Details button on the Slice page (it's near the Ready? button).
  2. Now, click on the ssh link. If you have installed FireSSH a new tab will open up.
    1. If you are using FireSSH, in the window that will pop up :
      • in the password field type in your passphrase
      • for the private key, browse to the file that has your private key
      • Press OK
  3. Repeat the previous step for the second VM.
Tip To ssh from the command line, do the following (substituting the values shown on the screen):
ssh USERNAME@HOSTNAME -p PORT
Tip For more information on how to ssh (including how to SSH from a Windows machine) check out How To Login.
Login information
Figure 4-1 Login to a VM.

Introduction

Next: Execute