wiki:GEC16Agenda/AdvancedTopologies/Instructions/ClickExampleExperiment

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

--

Design/Setup: Setup Omni with Multiple Users

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. In the example below, Alice is reserving compute resources and wants Bob to also have access to the reserved ProtoGENI resources. Bob needs to send Alice a copy of his SSH public key, which Alice needs to save on the host where she invokes Omni from. It does not matter which CF Alice uses to get ProtoGENI resources, she can use a ProtoGENI a PlanetLab, or the GENI Portal authority.

[omni]
default_cf = pg-gpo
users = alice, bob 

# ---------- Users ----------
[alice]
urn = urn:publicid:IDN+pgeni.gpolab.bbn.com+user+alice
# You can define multiple keys
keys = /home/alice/.ssh/id_rsa.pub

[bob]
urn = urn:publicid:IDN+pgeni.gpolab.bbn.com+user+bob
keys = /home/alice/.ssh/bob_id_rsa.pub 

[pg-gpo]
type = pg
ch = https://www.emulab.net:12369/protogeni/xmlrpc/ch
sa = https://www.pgeni.gpolab.bbn.com:12369/protogeni/xmlrpc/sa
cert = /home/alice/.ssl/pgeni/encrypted-cleartext.pem
key = /home/alice/.ssl/pgeni/encrypted-cleartext.pem
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. Ask the team next to you about their username and do the following:
  1. While in a terminal, generate a public key under ~/.ssh/ :
    • cd ~/.ssh
    • ssh-keygen -f id_rsa_&ltneighbor;_username>
  • Follow the instructions [http://trac.gpolab.bbn.com/gcf/wiki/OmniConfigure/Manual#B1.MultipleusersinProtoGENIAMs these instructions] and add another user for ProtoGENI AMs
  • Attachments (1)

    Download all attachments as: .zip