Changes between Version 23 and Version 24 of GiB-gettingStarted


Ignore:
Timestamp:
10/02/12 11:56:55 (12 years ago)
Author:
Vic Thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GiB-gettingStarted

    v23 v24  
    165165}}}
    166166
    167 2. We now send our [attachment:two-nodes-iperf.rspec request rspec] to the GENI-in-a-Box aggregate manager using the command {{{omni.py -a http://geni-in-a-box.net:8001 createsliver myslice two-nodes-iperf.rspec}}}.  ''This command will take many minutes to complete because it configures and boots up the requested virtual machines, does some additional configuration, and download, installs, and runs iperf.''  If our request is successful, the aggregate manager will allocate the requested resources to our slice.  In GENI parlance the resources allocated to our slice are called slivers.  The {{createsliver}} request returns a manifest spec that provides details of the resources allocated to us.  The following is a snippet of the manifest your will get back from {{createsliver}}:
     1672. We now send our [attachment:two-nodes-iperf.rspec request rspec] to the GENI-in-a-Box aggregate manager using the command {{{omni.py -a http://geni-in-a-box.net:8001 createsliver myslice two-nodes-iperf.rspec}}}.  ''This command will take many minutes to complete because it configures and boots up the requested virtual machines, does some additional configuration, and download, installs, and runs iperf.''  If our request is successful, the aggregate manager will allocate the requested resources to our slice.  In GENI parlance the resources allocated to our slice are called slivers.  The {{{createsliver}}} request returns a manifest spec that provides details of the resources allocated to us.  The following is a snippet of the manifest your will get back from {{{createsliver}}}:
    168168{{{
    169169$ omni.py --api-version 2 -a http://geni-in-a-box.net:8001 createsliver myslice two-nodes-iperf.rspec
     
    190190            <execute command="/local/iperf-execute-script.sh" shell="sh"/>     
    191191            <login authentication="ssh-keys" hostname="pc101.geni-in-a-box.net" port="22" username="alice"/>     
    192             <login authentication="ssh-keys" hostname="pc101.geni-in-a-box.net" port="22" username="bob"/>     
    193192        </services>   
    194193        <interface client_id="left:if0" component_id="urn:publicid:IDN+geni-in-a-box.net+interface+pc101:eth1" mac_address="00:0C:29:B4:DF:A7" sliver_id="urn:publicid:IDN+geni-in-a-box.net+sliver+1011">     
     
    222221$
    223222}}}
    224 
     223Notice the manifest rspec is essentially your request respec annotated with information about the resources that got allocated to you.  For example, the {{{<node>}}} element of the manifest includes the MAC and IP addresses assigned to each network interface on the node (host) and information you will need to ssh into the nodes (e.g. the fully qualified domain name of the host ).
    225224
    226225