Version 2 (modified by 11 years ago) (diff) | ,
---|
Part I/Step 1: Establish Management Environment
Table of Contents
Introduction: Getting Started with GENI and 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 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.
|
3 Configure Omni
- Go to your browser tab with the GENI Portal page.
- On that page, select the tab labeled "Profile". This is on the upper right of the page.
- Scroll down to the section labeled "Option 1: Automatic omni configuration".
- Click on "customized configuration data" in Step 2 of this section.
- Make sure your default project is "GEC17". If not, make that your default.
- Click "Download omni bundle" and "save" the file. The file is saved in your Downloads folder.
- Open a terminal window and type
omni-configure.py
. The cert and key files you need will be installed in the appropriate folders.
4 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 3-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.
![Generate an SSH Key Pair Generate an SSH Key Pair](http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/generate_sshkeys_1.png?format=raw)
Figure 3-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.
![Download an SSH Key Pair Download an SSH Key Pair](http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/download_sshkeys_1.png?format=raw)
Figure 3-3 Download an SSH Key Pair.