wiki:GENIExperimenter/Tutorials/GREESC13/PortalSimpleLayer2Example/SetupAccount

Version 20 (modified by sedwards@bbn.com, 6 years ago) (diff)

--

Part I/Step 1: Establish Management Environment

Table of Contents

Introduction: Getting Started with GENI using the GENI Portal

Design/Setup
Execute
Finish

Instructions

1. Pre-work: Create a GENI account

  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 1.1 Logging into the GENI Experimenter Portal.

Congratulations, you have successfully created a GENI account.

2. 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.1 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.2 Enter passphrase twice, then generate SSH private key.
  1. Now, press the Download Private Key button
  2. Open a terminal and execute:
    $ mv ~/Downloads/id_geni_ssh_rsa ~/.ssh/.
    $ chmod 600 ~/.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.3 Download an SSH Key Pair.

3. Join a Project

In order to use the portal to reserve resources, you must join a project. We have created a project for this tutorial.

  1. Check your email, you should have an invitation to join a project for this tutorial.
    Tip If you are not doing this exercise as part of an in-person tutorial please sign up for a GENI account and join a project.
  2. Follow the instructions about joining the project.

Congratulations, you have joined a project!

Obtain Resources: create a slice and reserve resources

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

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 (the slice name should be of the form portal##), you can leave the description empty and press Create Slice
Create a GENI Slice
Figure 1.1 Create a new slice.

2. Reserve Virtual Machines at Two Aggregates

For this tutorial, we have manually reserved a VLAN (a layer 2 circuit) from a GENI rack in Utah (Utah InstaGENI) to a GENI rack in Massachusetts (GPO InstaGENI).

Now reserve a virtual machine (VM) connected to each end of the manually configured VLAN.

Warning In order to pace the creation of the VMs, please only reserve your two VMs when you are given a "blinking ball" by the tutorial instructor.

First, reserve a VM on the Utah end of the VLAN. This node will be refered to as the "client".

  1. Go to the Slice page and press the Add Resources button. Complete the form as shown in the picture on the left and press the Reserve Resources button. Reserving the node at the aggregate may take a minute or two. Do not reload the page or press the back button while waiting.
Create a GENI Project
Figure 2.1 Add resources at Utah InstaGENI.

Second, reserve a virtual machine connected to the Massachusetts end of the manually configured VLAN. This node will be refered to as the "server".

  1. Go back to the Slice page and again press the Add Resources button. Complete the form as shown in the picture on the left and press the Reserve Resources button. Again, this may take awhile. Do not reload the page or press the back button while waiting.
Create a GENI Project
Figure 2.2 Add resources at GPO InstaGENI.

3. Check Whether Virtual Machines are Ready to be Used

It takes some time for the VMs to boot. Check to see if they are up.

  1. Return to the Slice page. Press the Get All button in the aggregate table.
Status at both aggregates
Figure 3.1 Get the status at all aggregates.
  1. The rows for GPO InstaGENI and Utah InstaGENI should say READY against a green background and look as shown on the left.
  2. If one of the rows do not say READY, press the Get Status button on that row periodically until it does.
Status at both aggregates
Figure 3.2 Resources at Utah InstaGENI and GPO InstaGENI are green to indicate they are ready.

Introduction

Next: Execute a Simple Layer 2 Experiment