Re: [help] Problem in using Omni.

13 views
Skip to first unread message

Sarah Edwards

unread,
Feb 14, 2014, 8:12:27 PM2/14/14
to Jun Liu, Sarah Edwards, geni-...@googlegroups.com
[Adding geni-...@googlegroups.com as I think others will appreciate the answer to this question. You can sign up for this mailing list at https://groups.google.com/forum/#!forum/geni-users ]

Hi Jun,

You asked:

> How can I find the correct name of the aggregate which covers the resource at ku.cm? i.e., what should be used in place of xxxxxx in this command:
>
> python ../../Omni/gcf-2.4.1/src/omni.py -a xxxxxxx createsliver junliutest1 junliu-test1.rspec -o
>
> I searched the GENI pages for the name of the aggregate at KU and found a common name “kansas-ig.” However, this name is unrecognized by omni. Where can I find a list of names of the aggregates?

This is a great question.

In general the answer is pretty straightforward, but in your particular case it's more complicated.

== General Answer ==

There are two ways to specify an aggregate in omni.

The "old" way is to specify the URL of the aggregate you want to speak to. An example of an aggregate url is https://instageni.ku.gpeni.net:12369/protogeni/xmlrpc/am.

Because entering the aggregate URL all the time is painful, there is a "new" way which is to specify the aggregate via an aggregate nickname. "kansas-ig" is an example of an aggregate nickname.

Full details on how to find and use aggregate URLs and aggregate nicknames are in [1]. (Basically use the omni command `listaggregates` to find the URLs and the omni command `nicknames` to find the aggregate nicknames.)

== Some caveats for your specific case ==

Unfortunately in the particular case of the University of Kansas InstaGENI rack, the answer is a little more complicated. Currently, omni periodically and automatically updates the list of nicknames based on which nicknames are considered "production GENI aggregates" [3].

Unfortunately, kansas-ig isn't listed as production at this time which is why omni doesn't understand that nickname.

== Solution ==
So the quick and easy answer of how to specify the aggregate for kansas-ig is to specify the full "Aggregate Manager URL" listed on [4] or returned by a call to `listaggregates` which in this case is:
https://instageni.ku.gpeni.net:12369/protogeni/xmlrpc/am

Or more fully:
python ../../Omni/gcf-2.4.1/src/omni.py -a https://instageni.ku.gpeni.net:12369/protogeni/xmlrpc/am createsliver junliutest1 junliu-test1.rspec -o

If you find this is too much typing, then you can define your own personal aggregate nickname by following the instruction in [5] and using the Aggregate Manager URL and Aggregate Manager URN specified in [4].

Sorry for the long answer to a simple question,
Sarah Edwards, GPO

PS By the way, you can find a wiki page for every aggregate in [2]

[1] http://trac.gpolab.bbn.com/gcf/wiki/HowTo/SpecifyAggregatesInOmni

[2] http://groups.geni.net/geni/wiki/GeniAggregate

[3] http://groups.geni.net/geni/wiki/GENIProduction

[4] http://groups.geni.net/geni/wiki/GeniAggregate/KansasInstaGENI

[5] http://trac.gpolab.bbn.com/gcf/wiki/HowTo/SpecifyAggregatesInOmni#User-specifiedaggregatenicknames

On Feb 14, 2014, at 6:41 PM, Jun Liu <junli...@gmail.com> wrote:

> Sarah,
>
> I have successfully created a simple network using Omni based on your suggestion. Thank you very much.
> This time, I requested a node from emulab utah.
>
> I have a follow-up question. I drag a VM from ku.cm onto the canvas in Flack, and I save this configuration to a rspec file which is attached. I see this line in the rspec file:
>
> <node client_id="VM" component_manager_id="urn:publicid:IDN+instageni.ku.gpeni.net+authority+cm" exclusive="false”>
>
> How can I find the correct name of the aggregate which covers the resource at ku.cm? i.e., what should be used in place of xxxxxx in this command:
>
> python ../../Omni/gcf-2.4.1/src/omni.py -a xxxxxxx createsliver junliutest1 junliu-test1.rspec -o
>
> I searched the GENI pages for the name of the aggregate at KU and found a common name “kansas-ig.” However, this name is unrecognized by omni. Where can I find a list of names of the aggregates?
>
> Thanks.
> <junliu-test1.rspec>
>
> Ju

*******************************************************************************
Sarah Edwards
GENI Project Office

BBN Technologies
Cambridge, MA
phone: (617) 873-2329
email: sedw...@bbn.com





Reply all
Reply to author
Forward
0 new messages