Changes between Version 29 and Version 30 of GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-EXP-1


Ignore:
Timestamp:
03/11/13 09:58:23 (6 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-EXP-1

    v29 v30  
    22= EG-EXP-1: Bare Metal Support Acceptance Test =
    33
    4 This page captures status for the test case EG-EXP-1, which verified support for bare metal nodes. For overall status see the [wiki:GENIRacksHome/ExogeniRacks/AcceptanceTestStatus ExoGENI Acceptance Test Status] page. ''Last update: 08/13/12''
     4This page captures status for the test case EG-EXP-1, which verified support for bare metal nodes. For overall status see the [wiki:GENIRacksHome/ExogeniRacks/AcceptanceTestStatus ExoGENI Acceptance Test Status] page.
     5
     6''Last update: 03/11/13''
    57
    68
     
    4042The omni_configuration used for this scenario includes a nick_name for the ExoSM which is used through out the steps:
    4143{{{
    42 exosm=,https://geni.renci.org:11443/orca/xmlrpc
     44eg-sm=,https://geni.renci.org:11443/orca/xmlrpc
    4345}}}
    4446
    4547Determine available bare metal resources from the ExoSM.
    4648{{{
    47 $ omni.py listresources -a exosm -o
     49$ omni.py listresources -a eg-sm -o
    4850}}} 
    4951
     
    5153{{{
    5254$ egrep "xcat-cloud|available now|type_slot" rspec-geni-renci-org-11443-orca.xml
    53 <node component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+node+orca-xcat-cloud"
    54 component_manager_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am"
    55 component_name="orca-xcat-cloud" exclusive="false">   
     55      <node component_id="urn:publicid:IDN+exogeni.net:rcivmsite+node+orca-xcat-cloud"
     56        component_manager_id="urn:publicid:IDN+exogeni.net:rcivmsite+authority+am"
     57         component_name="orca-xcat-cloud" exclusive="false">   
    5658            <hardware_type name="orca-xcat-cloud">     
    57                   <ns3:node_type type_slots="2"/>
    58                   <available now="true"/>
    59 
    60 <node component_id="urn:publicid:IDN+exogeni.net:rcivmsite+node+orca-xcat-cloud"
    61 component_manager_id="urn:publicid:IDN+exogeni.net:rcivmsite+authority+am"
    62 component_name="orca-xcat-cloud" exclusive="false">   
     59                  <ns3:node_type type_slots="2"/>     
     60            <available now="true"/>   
     61      <node component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+node+orca-xcat-cloud"
     62        component_manager_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am"
     63         component_name="orca-xcat-cloud" exclusive="false">   
    6364            <hardware_type name="orca-xcat-cloud">     
    64                   <ns3:node_type type_slots="2"/> 
    65                   <available now="true"/>   
     65                  <ns3:node_type type_slots="2"/>     
     66            <available now="true"/>   
     67
    6668}}}
    6769
     
    107109Create a slice and request resources using the [http://groups.geni.net/geni/browser/trunk/GENIRacks/ExoGENI/Spiral4/Rspecs/AcceptanceTests/EG-EXP-1/EG-EXP-1-2baremetal.rspec EG-EXP-1-2baremetal.rspec] request RSpec:
    108110{{{
    109 $ omni.py createslice 2bare
    110 $ omni.py -a exosm createsliver 2bare EG-EXP-1-2baremetal.rspec
    111 $ omni.py -a exosm sliverstatus 2bare
    112 }}}
    113 Once the sliver is ready determine the addresses associated with the sliver:
    114 {{{
    115 $ omni.py -a exosm listresources 2bare -o
    116 $ egrep hostname 2bare-rspec-geni-renci-org-11443-orca.xml
    117 <login authentication="ssh-keys" hostname="192.1.242.110" port="22" username="root"/>     
    118 <login authentication="ssh-keys" hostname="152.54.14.200" port="22" username="root"/
    119 }}}
    120 
    121 == Step 7. Release bare metal resource. ==
    122 
    123 Once traffic is exchanged successfully between the two bare metal nodes, delete the sliver.
    124 
    125 First, login on the BBN Rack bare metal node and send traffic:
    126 {{{
    127 $ ssh 192.1.242.110 -l root
    128 [root@bbn-w4 ~]# cat /etc/issue
    129 CentOS release 6.2 (Final)
    130 Kernel \r on an \m
    131 [root@bbn-w4 ~]# uname -a
    132 Linux bbn-w4 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux
    133 [root@bbn-w4 ~]#ping 172.16.1.2
    134 }}}
    135 
    136 Second, login on the BBN Rack bare metal node and send traffic:
    137 {{{
    138 $ ssh 192.152.54.14.200 -l root
    139 [root@rci-w4 ~]# cat /etc/issue
     111$ omni.py createslice EG-EXP-1
     112INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     113INFO:omni:Using control framework pg
     114INFO:omni:Created slice with Name EG-EXP-1, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+EG-EXP-1, Expiration 2013-03-12 13:18:36+00:00
     115INFO:omni: ------------------------------------------------------------
     116INFO:omni: Completed createslice:
     117  Options as run:
     118                framework: pg
     119  Args: createslice EG-EXP-1
     120  Result Summary: Created slice with Name EG-EXP-1, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+EG-EXP-1, Expiration 2013-03-12 13:18:36+00:00
     121INFO:omni: ============================================================
     122
     123
     124$ omni.py -a eg-sm createsliver EG-EXP-1 EG-EXP-1-2baremetal.rspec
     125INFO:omni:Loading config file /home/lnevers/.gcf/omni_config
     126INFO:omni:Using control framework pg
     127INFO:omni:Substituting AM nickname eg-sm with URL https://geni.renci.org:11443/orca/xmlrpc, URN unspecified_AM_URN
     128INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+EG-EXP-1 expires on 2013-03-12 13:18:36 UTC
     129INFO:omni:Substituting AM nickname eg-sm with URL https://geni.renci.org:11443/orca/xmlrpc, URN unspecified_AM_URN
     130INFO:omni:Substituting AM nickname eg-sm with URL https://geni.renci.org:11443/orca/xmlrpc, URN unspecified_AM_URN
     131INFO:omni:Creating sliver(s) from rspec file EG-EXP-1-2baremetal.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+EG-EXP-1
     132INFO:omni:Got return from CreateSliver for slice EG-EXP-1 at https://geni.renci.org:11443/orca/xmlrpc:
     133INFO:omni:<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
     134INFO:omni:  <!-- Reserved resources for:
     135        Slice: EG-EXP-1
     136        at AM:
     137        URN: unspecified_AM_URN
     138        URL: https://geni.renci.org:11443/orca/xmlrpc
     139 -->
     140INFO:omni: 
     141<rspec type="manifest" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1 http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1/slice_info.xsd?format=raw http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1 http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1/sliver_info.xsd?format=raw" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns="http://www.geni.net/resources/rspec/3" xmlns:ns4="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1" xmlns:ns3="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     142    <node sliver_id="urn:publicid:IDN+exogeni.net:rcivmsite+sliver+d23ec7f3-fbaf-46c0-9edf-d1b01774ac4e#BT2" exclusive="true" component_name="orca-xcat-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:rcivmsite+authority+am" component_id="urn:publicid:IDN+exogeni.net:rcivmsite+node+orca-xcat-cloud" client_id="BT2">
     143        <sliver_type name="ExoGENI-M4"/>
     144        <services/>
     145        <interface client_id="BT2:if0">
     146            <ip type="ipv4" netmask="255.255.255.0" address="172.16.1.2"/>
     147        </interface>
     148        <ns4:geni_sliver_info state="Ticketed" start_time="2013-03-11T08:18:48.894-04:00" expiration_time="2013-03-11T08:18:48.894-04:00" creation_time="2013-03-11T08:18:48.894-04:00" creator_urn="urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers"/>
     149    </node>
     150    <node sliver_id="urn:publicid:IDN+exogeni.net:bbnvmsite+sliver+d23ec7f3-fbaf-46c0-9edf-d1b01774ac4e#BT1" exclusive="true" component_name="orca-xcat-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:bbnvmsite+authority+am" component_id="urn:publicid:IDN+exogeni.net:bbnvmsite+node+orca-xcat-cloud" client_id="BT1">
     151        <sliver_type name="ExoGENI-M4"/>
     152        <services/>
     153        <interface client_id="BT1:if0">
     154            <ip type="ipv4" netmask="255.255.255.0" address="172.16.1.1"/>
     155        </interface>
     156        <ns4:geni_sliver_info state="Ticketed" start_time="2013-03-11T08:18:48.894-04:00" expiration_time="2013-03-11T08:18:48.894-04:00" creation_time="2013-03-11T08:18:48.894-04:00" creator_urn="urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers"/>
     157    </node>
     158    <link vlantag="unknown" sliver_id="urn:publicid:IDN+exogeni.net+sliver+d23ec7f3-fbaf-46c0-9edf-d1b01774ac4e#lan0" client_id="lan0">
     159        <interface_ref client_id="BT2:if0"/>
     160        <interface_ref client_id="BT1:if0"/>
     161    </link>
     162    <ns2:stitching lastUpdateTime="Mon Mar 11 08:18:54 EDT 2013">
     163        <ns2:path id="lan0">
     164            <ns2:hop type="strict" id="hop1">
     165                <ns2:link id="rciNet.rdf#rciNet/Domain/vlan/6c549f6e-2bcb-4ce8-b12d-f885c95f358b/vlan">
     166                    <ns2:remoteLinkId>unknown</ns2:remoteLinkId>
     167                    <ns2:trafficEngineeringMetric>unknown</ns2:trafficEngineeringMetric>
     168                    <ns2:capacity>0</ns2:capacity>
     169                    <ns2:maximumReservableCapacity>0</ns2:maximumReservableCapacity>
     170                    <ns2:minimumReservableCapacity>10000000</ns2:minimumReservableCapacity>
     171                    <ns2:granularity>10000000</ns2:granularity>
     172                    <ns2:unreservedCapacity>unknown</ns2:unreservedCapacity>
     173                    <ns2:switchingCapabilityDescriptor>
     174                        <ns2:switchingcapType>l2sc</ns2:switchingcapType>
     175                        <ns2:encodingType>ethernet</ns2:encodingType>
     176                        <ns2:switchingCapabilitySpecificInfo>
     177                            <ns2:switchingCapabilitySpecificInfo_L2sc/>
     178                        </ns2:switchingCapabilitySpecificInfo>
     179                    </ns2:switchingCapabilityDescriptor>
     180                </ns2:link>
     181                <ns2:nextHop>hop2</ns2:nextHop>
     182            </ns2:hop>
     183            <ns2:hop type="strict" id="hop2">
     184                <ns2:link id="ben.rdf#ben/Domain/vlan/675f7b09-edc7-42d3-b699-7a1748e1c1cc/vlan">
     185                    <ns2:remoteLinkId>unknown</ns2:remoteLinkId>
     186                    <ns2:trafficEngineeringMetric>unknown</ns2:trafficEngineeringMetric>
     187                    <ns2:capacity>0</ns2:capacity>
     188                    <ns2:maximumReservableCapacity>0</ns2:maximumReservableCapacity>
     189                    <ns2:minimumReservableCapacity>10000000</ns2:minimumReservableCapacity>
     190                    <ns2:granularity>10000000</ns2:granularity>
     191                    <ns2:unreservedCapacity>unknown</ns2:unreservedCapacity>
     192                    <ns2:switchingCapabilityDescriptor>
     193                        <ns2:switchingcapType>l2sc</ns2:switchingcapType>
     194                        <ns2:encodingType>ethernet</ns2:encodingType>
     195                        <ns2:switchingCapabilitySpecificInfo>
     196                            <ns2:switchingCapabilitySpecificInfo_L2sc/>
     197                        </ns2:switchingCapabilitySpecificInfo>
     198                    </ns2:switchingCapabilityDescriptor>
     199                </ns2:link>
     200                <ns2:nextHop>hop3</ns2:nextHop>
     201            </ns2:hop>
     202            <ns2:hop type="strict" id="hop3">
     203                <ns2:link id="nlr.rdf#nlr/Domain/vlan/eda58643-df64-4edd-933f-4509c6232791/vlan">
     204                    <ns2:remoteLinkId>unknown</ns2:remoteLinkId>
     205                    <ns2:trafficEngineeringMetric>unknown</ns2:trafficEngineeringMetric>
     206                    <ns2:capacity>0</ns2:capacity>
     207                    <ns2:maximumReservableCapacity>0</ns2:maximumReservableCapacity>
     208                    <ns2:minimumReservableCapacity>10000000</ns2:minimumReservableCapacity>
     209                    <ns2:granularity>10000000</ns2:granularity>
     210                    <ns2:unreservedCapacity>unknown</ns2:unreservedCapacity>
     211                    <ns2:switchingCapabilityDescriptor>
     212                        <ns2:switchingcapType>l2sc</ns2:switchingcapType>
     213                        <ns2:encodingType>ethernet</ns2:encodingType>
     214                        <ns2:switchingCapabilitySpecificInfo>
     215                            <ns2:switchingCapabilitySpecificInfo_L2sc/>
     216                        </ns2:switchingCapabilitySpecificInfo>
     217                    </ns2:switchingCapabilityDescriptor>
     218                </ns2:link>
     219                <ns2:nextHop>hop4</ns2:nextHop>
     220            </ns2:hop>
     221            <ns2:hop type="strict" id="hop4">
     222                <ns2:link id="bbnNet.rdf#bbnNet/Domain/vlan/e745143a-a2d0-4e40-99dc-a6829b7807b4/vlan">
     223                    <ns2:remoteLinkId>unknown</ns2:remoteLinkId>
     224                    <ns2:trafficEngineeringMetric>unknown</ns2:trafficEngineeringMetric>
     225                    <ns2:capacity>0</ns2:capacity>
     226                    <ns2:maximumReservableCapacity>0</ns2:maximumReservableCapacity>
     227                    <ns2:minimumReservableCapacity>10000000</ns2:minimumReservableCapacity>
     228                    <ns2:granularity>10000000</ns2:granularity>
     229                    <ns2:unreservedCapacity>unknown</ns2:unreservedCapacity>
     230                    <ns2:switchingCapabilityDescriptor>
     231                        <ns2:switchingcapType>l2sc</ns2:switchingcapType>
     232                        <ns2:encodingType>ethernet</ns2:encodingType>
     233                        <ns2:switchingCapabilitySpecificInfo>
     234                            <ns2:switchingCapabilitySpecificInfo_L2sc/>
     235                        </ns2:switchingCapabilitySpecificInfo>
     236                    </ns2:switchingCapabilityDescriptor>
     237                </ns2:link>
     238                <ns2:nextHop>null</ns2:nextHop>
     239            </ns2:hop>
     240        </ns2:path>
     241    </ns2:stitching>
     242    <ns3:geni_slice_info state="configuring" uuid="ee3059ac-354b-4c10-b7a7-1a5d0c4cc60c" urn="urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+EG-EXP-1"/>
     243</rspec>
     244
     245INFO:omni: ------------------------------------------------------------
     246INFO:omni: Completed createsliver:
     247  Options as run:
     248                aggregate: ['eg-sm']
     249                framework: pg
     250  Args: createsliver EG-EXP-1 EG-EXP-1-2baremetal.rspec
     251  Result Summary: Got Reserved resources RSpec from geni-renci-org-11443-orca
     252INFO:omni: ============================================================
     253}}}
     254
     255Once the resources are allocated, sliverstatus can be checked to determine the sliver overall status
     256{{
     257$ omni.py -a eg-sm sliverstatus EG-EXP-1
     258}}}
     259
     260Once the sliver is ready,  determine the addresses required to connect to the compute resources allocated:
     261{{{
     262$ readyToLogin.py -a eg-sm EG-EXP-1
     263
     264User root logins to BT2 using:
     265        xterm -e ssh -i /home/lnevers/.ssh/id_rsa root@152.54.14.201 &
     266User root logins to BT1 using:
     267        xterm -e ssh -i /home/lnevers/.ssh/id_rsa root@192.1.242.111 &     
     268
     269}}}
     270
     271Login to each host an exchange traffic between the two nodes. First login to the RENCI bare metal node:
     272
     273{{{
     274$ ssh root@152.54.14.201
     275Last login: Mon Mar 11 08:11:18 2013 from arendia.gpolab.bbn.com
     276[root@rci-w10 ~]# cat /etc/issue
    140277CentOS release 6.3 (Final)
    141278Kernel \r on an \m
    142 [root@rci-w4 ~]# uname -a
    143 Linux rci-w4 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    144 [root@rci-w4 ~]#ping 172.16.1.1
    145 }}}
    146 
    147 Delete the sliver while the traffic is being exchanged:
    148 
    149 {{{
    150 $ omni.py -a exosm deletesliver 2bare
     279
     280[root@rci-w10 ~]# /sbin/ifconfig eth2.1017
     281eth2.1017 Link encap:Ethernet  HWaddr 00:07:43:12:5A:E0 
     282          inet addr:172.16.1.2  Bcast:172.16.1.255  Mask:255.255.255.0
     283          inet6 addr: fe80::207:43ff:fe12:5ae0/64 Scope:Link
     284          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     285          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
     286          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
     287          collisions:0 txqueuelen:0
     288          RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)
     289
     290}}}
     291
     292Second, login on the GPO bare metal node and send traffic:
     293{{{
     294$ ssh root@192.1.242.111
     295Last login: Mon Mar 11 08:11:39 2013 from arendia.gpolab.bbn.com
     296[root@bbn-w10 ~]# cat /etc/issue
     297CentOS release 6.3 (Final)
     298Kernel \r on an \m
     299
     300[root@bbn-w10 ~]# /sbin/ifconfig eth2.2602
     301eth2.2602 Link encap:Ethernet  HWaddr 00:07:43:12:5C:40 
     302          inet addr:172.16.1.1  Bcast:172.16.1.255  Mask:255.255.255.0
     303          inet6 addr: fe80::207:43ff:fe12:5c40/64 Scope:Link
     304          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     305          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
     306          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
     307          collisions:0 txqueuelen:0
     308          RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)
     309
     310}}}
     311
     312Exchange traffic between the two nodes:
     313
     314
     315
     316''' Ping from RENCI PC to GPO PC '''
     317{{{
     31860 packets transmitted, 59 received, 1% packet loss, time 61181ms
     319rtt min/avg/max/mdev = 17.360/34.837/1045.749/132.739 ms, pipe 2
     320}}}
     321
     322
     323== Step 7. Release bare metal resource. ==
     324
     325Once traffic is exchanged successfully between the two bare metal nodes, delete the sliver while traffic is being exchanged:
     326
     327{{{
     328$ omni.py -a eg-sm deletesliver EG-EXP-1
    151329}}}
    152330