Version 19 (modified by 11 years ago) (diff) | ,
---|
Part I/Step 1: Establish Management Environment
Table of Contents
Introduction: Getting Started with GENI using the GENI Portal
|
Instructions
1. Pre-work: Create a GENI account
|
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.)
|
Figure 2.1 On the Profile page, select the "generate and download an SSH keypair" button.
- Enter the same passphrase twice, then press Generate SSH private key.
Figure 2.2 Enter passphrase twice, then generate SSH private key.
- Now, press the Download Private Key button
- 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.
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.
|
Congratulations, you have joined a project!
Obtain Resources: create a slice and reserve resources
Introduction: Getting Started with GENI using the GENI Portal
|
Instructions
Now that you are a member of a project, you can create a slice and reserve resources.
1. Create a 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.
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".
|
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".
|
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.
|
Figure 3.1 Get the status at all aggregates. |
|
Figure 3.2 Resources at Utah InstaGENI and GPO InstaGENI are green to indicate they are ready. |