Version 60 (modified by 11 years ago) (diff) | ,
---|
Simple Layer 2 GENI Experiment
1. Design the Experiment
|
2. Establish the Environment
2.1 Pre-work: Create a GENI account
|
Figure 2-1 Logging into the GENI Experimenter Portal. |
Congratulations, you have successfully created a GENI account.
2.2 Pre-work: Project lead adds you to a project
In order to use the portal to reserve resources, you must join a project. We have created a project for this tutorial.
|
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.)
|
Figure 2-2 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-3 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 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.
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
|
Figure 3-1 Create a new slice. |
3.2 (optional) Renew your slice
Slices and the resources within them are reserved until their individual expiration times. Renewing allows you to extend the expiration time of your slice and the resources in them.
Slices and the resources within them have distinct expiration times. You must renew both the slice and the resources separately. |
|
Figure 3-2 Renew the slice. |
3.3 Reserve Two Virtual Machines at One Aggregate
The Portal is integrated with a tool, Flack, which allows you to draw topologies of GENI resources and then reserve them.
|
Figure 3-3 Launch Flack |
||
|
Figure 3-4 Flack after it has loaded. |
||
|
Figure 3-5 Two VMs connected by a link. |
||
|
Figure 3-6 Edit the name of the VM. Set the Sliver Type on ExoGENI racks. |
||
|
Figure 3-7 Edit the IP Address and Mask of the VM. |
||
|
Figure 3-8 Two VMs connected by a link. |
3.4 Check Whether Virtual Machines are Ready to be Used
|
Figure 3-9 Two VMs connected by a link are reserved and ready to login. |