= GENI Experimenters How-to Using Omni tools = This page provides an overview of the actions required by an experimenter to run a GENI experiment using resources from multiple resource aggregates. While working through these examples, you may need to interact with the GENI Infrastructure group to setup specific resources for you (e.g. VLAN or OF VLAN), at a high level, the steps to run a GENI Experiment include: * Get credentials from '''one''' Clearinghouse, this allows you to access multiple aggregates.[[BR]] * Install and configure Omni tools [[BR]] * Use the Omni tools to create a slice [[BR]] * Request resources from one or more aggregates to add to the slice [[BR]] * and of course, run the experiment. [[Image(GENIExperimenter-workflow.jpg)]] This page focuses on resource allocation with Omni tools, other tools exists to assist the experimenter with resource allocation but are not covered here. === Examples === Two supporting examples are provided to illustrate the steps needed to run an experiment with GENI resources, each example has a unique scope: * [wiki:GENIExperimenter/ExperimentExample-gcf2 GENI Experiment Example 1] covers how to configure and use Omni tools to reserve compute resources from multiple resource aggregates (PG & PL). This example has no specific network requirement, it simply focuses on getting host resources allocated for an experiment. * [wiki:GENIExperimenter/ExperimentExample-OF GENI OpenFlow Experiment Example 2] covers how to use Omni tools to request !OpenFlow resources as part of an experiment that also uses PG & MyPLC compute resources. The scenario assumes that the experimenter is running an OF controller. == 1. Get GENI Credentials == To access GENI resources, an experimenter must have GENI credentials! If you don't have credentials, follow the instructions at SignMeUp. '''Note:''' If you have an account with a Clearinghouse other than pgeni.gpolab.bbn.com (e.g. www.emulab.net, planet-lab.org) you can still use Omni to reserve resources but you will not be able to complete the above two examples so we strongly recommend that you [wiki:SignMeUp sign up] with GPO's clearing house. == 2. Get Omni Tools == To get access to the GENI resources you can use the OMNI client which is part of the [http://trac.gpolab.bbn.com/gcf/wiki GENI Control Framework] (GCF) software package. Get the GCF package at this [http://trac.gpolab.bbn.com/gcf/wiki/GettingGcf GCF location] and install it using the [http://trac.gpolab.bbn.com/gcf/wiki/OmniQuickStart Quick Start] instructions. Once the [http://trac.gpolab.bbn.com/gcf/wiki/Omni Omni tool] is installed, follow the [http://trac.gpolab.bbn.com/gcf/wiki/OmniConfigure configuration instructions]. == 3. Define Required Resources == You are now ready to define the resources required for your experiment. For an overview of available GENI resource see the [wiki:AvailableAggregates Available Aggregates] page. the The Omni tools can be used to query a Aggregate Managers that support the [wiki:GeniApi GENI AM API] to get a list of available resources. In GENI we use [wiki:GENIExperimenter/RSpecs Resource Specification (RSpec) documents] to describe resources. In the supporting [#Examples examples] it is explained how to create and use rspecs. If while you are gathering your resources you believe you need a layer 2 connection between different sites, then please contact us at [mailto:help@geni.net]. You can also skim through the [wiki:ConnectivityOverview connectivity overview page] that provides a summary of connectivity options between sites, or take a look at [wiki:HowToUseOmni/Layer2ConnectivityInformation this Section], but if you do not know where to start please [mailto:help@geni.net email us]. == 4. Get Resources == The Omni tool can help you reserve resources. In the supporting [wiki:GENIExperimenter/ExperimentExample-gcf2 GENI Experiment Example 1] page, examples are provides that show how to: * [wiki:GENIExperimenter/ExperimentExample-gcf2#Listavailableresources List available resources] in the PG and PL aggregates. * [wiki:GENIExperimenter/ExperimentExample-gcf2#Createaslice Create a Slice] in the Clearinghouse * [wiki:GENIExperimenter/ExperimentExample-gcf2#AddEmulabPGresourcestoyourslice Add Emulab PG nodes] to GPO PG slice. * [wiki:GENIExperimenter/ExperimentExample-gcf2#AddPlanetLabresourcestoGPOPGslice Add PL nodes] to GPO PG slice. * [wiki:GENIExperimenter/ExperimentExample-gcf2#Checkingsliverresourcestatus Check Resource Status]. Similarly, for an experiment using OpenFlow resources, see the [wiki:GENIExperimenter/ExperimentExample-OF GENI OpenFlow Experiment Example 2] page, which also provides examples as in the above. == 5. Run Experiment == Once your resources are ready, you may now run your experiment. Remember to monitor the expiration time for your slice for each of the resource aggregates with the Omni ''sliverstatus'' option and to extend expiration as needed with the ''renewsliver'' option. An example for checking the ''sliverstatus'' and ''renewsliver'' can be found [wiki:GENIExperimenter/ExperimentExample-gcf2#Checkingsliverresourcestatus here]. When your experiment is completed, you should [wiki:GENIExperimenter/ExperimentExample-gcf2#Deletesliverresources delete slivers] to release your resources from each resource aggregate used. ---- {{{ #!html Email help@geni.net for GENI support or email me with feedback on this page! }}}