= 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:
{{{
#!html
|
- Ask the your neighbor for his/her usernane.
- While in a terminal, generate a public key for them under
~/.ssh/ :
- cd ~/.ssh
- ssh-keygen -f id_rsa_<neighbor_username>
- Make a copy of your omni_config
cp ~/.gcf/omni_config ~/.gcf/omni_config_multiuser
- Open the omni_config_multiuser file; its under
~/.gcf/omni_config_multiuser
- 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:
{{{
[omni]
default_cf=portal
users=alice, bob
default_project=GEC16AdvNetw
#default_project=GEC16OpenFlowTutorial
[alice]
urn=urn:publicid:IDN+panther+user+alice
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
....
}}}
= [wiki:GENIExperimenter/Tutorials/ClickExample Next: Click Example Experiment] =