Changes between Version 26 and Version 27 of GENIExperimenter/ExperimentExample
- Timestamp:
- 02/02/12 09:59:03 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/ExperimentExample
v26 v27 55 55 || users|| users setting used when reserving slices. || 56 56 || urn|| The username URN, see how to determine [wiki:GENIExperimenter/ExperimentCredentials#DetermineyourURN your URN] || 57 || keys|| A comma separated list of public ssh key files to be uploaded to the Clearinghouse||58 || type|| Clearinghouse/credentials type "pg" indicates ProtoGENI, see the [http://trac.gpolab.bbn.com/gcf/wiki/Omni Omni] page.||57 || keys|| A comma separated list of public ssh key, that are already uploaded to the Clearinghouse and will be uploaded to nodes by omni tools || 58 || type|| Clearinghouse/credentials type "pg" indicates ProtoGENI, "sfa" indicates PlanetLab || 59 59 || ch|| ProtoGENI Clearinghouse URL. || 60 60 || sa|| Slice Authority URL. || … … 65 65 == List available resources == 66 66 67 With the GPO Proto genisetting defined as shown in the omni_config above, you can get a list of available resources from each of the other 2 aggregates.67 With the GPO ProtoGENI setting defined as shown in the omni_config above, you can get a list of available resources from each of the other 2 aggregates. 68 68 69 69 Note: These instructions use Omni options available in v1.3 and later. Starting with Omni 1.3, 'native' format RSpecs are the default, and 'omnispecs' are deprecated though still available. Additionally, verbose output like the Advertisement RSpec from List Resources is saved to a file using the {{{-o}}} option. Finally, these instructions show the use of the {{{-t}}} option to request RSpecs in a particular format. For earlier versions of omni, you should (a) include the {{{-n}}} argument, (b) re-direct output to a file (''>'') instead of the -o option, and (c) use PG V0.2 RSpecs at Emulab and SFA format RSpecs at PlanetLab. 70 70 71 Getting a list of resources from the Emulab Proto geniaggregate in ProtoGENI RSpec V2 format:71 Getting a list of resources from the Emulab ProtoGENI aggregate in ProtoGENI RSpec V2 format: 72 72 {{{ 73 73 $ ./src/omni.py -a https://www.emulab.net/protogeni/xmlrpc/am -o -t ProtoGENI 2 listresources … … 198 198 == Create a slice == 199 199 200 Since the [wiki:GENIExperimenter/ExperimentExample#OmniConfiguration omni_config] specifies using the credentials and the Clearinghouse for the GPO Proto geni, your slice will be created in the pgeni.gpolab.bbn.com namespace. For this example a slice named ''lnevers-1slice'' is created; you should choose a slice name that is meaningful to you. To avoid confusion, avoid creating a slice with the same name as your username (ie if your username is ''lnevers'', don't name your slice ''lnevers'' too).200 Since the [wiki:GENIExperimenter/ExperimentExample#OmniConfiguration omni_config] specifies using the credentials and the Clearinghouse for the GPO ProtoGENI, your slice will be created in the pgeni.gpolab.bbn.com namespace. For this example a slice named ''lnevers-1slice'' is created; you should choose a slice name that is meaningful to you. To avoid confusion, avoid creating a slice with the same name as your username (ie if your username is ''lnevers'', don't name your slice ''lnevers'' too). 201 201 202 202 {{{ … … 266 266 }}} 267 267 268 To request two Proto geni nodes, a sliver was created within the Emulab Protogeniaggregate with the RSpec above using the following command. Note the use of the {{{-o}}} argument, which saves the manifest RSpec to a file. The manifest contains your new host's IP address and login information.268 To request two ProtoGENI nodes, a sliver was created within the Emulab ProtoGENI aggregate with the RSpec above using the following command. Note the use of the {{{-o}}} argument, which saves the manifest RSpec to a file. The manifest contains your new host's IP address and login information. 269 269 {{{ 270 270 $ ./src/omni.py -a https://www.emulab.net/protogeni/xmlrpc/am -o createsliver lnevers-1slice emulab.rspec … … 311 311 == Add PlanetLab resources to GPO PG slice == 312 312 313 To request three Planet lab nodes, the following rspec named planet.rspec was used for this example; your rspec will be specific to your experiment requirements.313 To request three PlanetLab nodes, the following rspec named planet.rspec was used for this example; your rspec will be specific to your experiment requirements. 314 314 315 315 This example uses ProtoGENI V2 RSpec format. Standard SFA formats are also acceptable. To generate the ProtoGENI V2 request from the Advertisement: … … 369 369 }}} 370 370 371 To request the three Planetlab nodes, a sliver was created within Planetlab with the rspec above using the following command:371 To request the three !PlanetLab nodes, a sliver was created within Planetlab with the rspec above using the following command: 372 372 373 373 {{{