wiki:GEC16Agenda/AdvancedTopologies/Instructions/ClickExampleExperiment

Version 11 (modified by nriga@bbn.com, 7 years ago) (diff)

--

Design/Setup: Setup Omni with Multiple Users

Omni gives you the capability of giving access to other users on your compute resources. Depending on which AM you are using to get resources from, this is done in a different way. If you are reserving resources in a ProtoGENI AM, then you can specify a comma separated list of users in the users attribute of the [omni] section, and specify the information for each user in a corresponding section. Let's try this now:

  1. Ask the your neighbor for his/her usernane.
  2. While in a terminal, generate a public key for them under ~/.ssh/ :
    • cd ~/.ssh
    • ssh-keygen -f id_rsa_&ltneighbor;_username>
  • Open the omni_config file; its under ~/.gcf/omni_config
  • Add the new user in the users list and add a new section using as his/her public key the key you just generated.
  • In the example below, Alice is reserving compute resources and wants Bob to also have access to the reserved ProtoGENI resources:

    <snip>
    
    [omni]
    default_cf=portal
    users=alice, bob
    default_project=GEC16AdvNetw
    #default_project=GEC16OpenFlowTutorial
    
    [alice]
    urn=urn:publicid:IDN+panther+user+nriga
    keys=/home/geni/.ssh/geni_key.pub
    
    [bob]
    urn=urn:publicid:IDN+panther+user+bob
    keys=/home/geni/.ssh/id_rsa_bob.pub
    
    [portal]
    type = pgch
    ch = https://panther.gpolab.bbn.com:8443/
    sa = https://panther.gpolab.bbn.com:8443/
    cert = /home/geni/.ssl/geni_cert_portal.pem
    key = /home/geni/.ssl/geni_cert_portal.pem
    
    ....
    </snip>
    

    Next: Obtain Resources

    Attachments (1)

    Download all attachments as: .zip