Changes between Version 86 and Version 87 of instructions

Show
Ignore:
Timestamp:
11/17/10 18:11:00 (8 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • instructions

    v86 v87  
    157157For a more sophisticated example that involves manually delegating resources from the site to the broker prior to creating a reservation through a slice manager: 
    158158 1. Stop tomcat 
    159  2. Remove $ORCA_HOME/state_recovery.lock file (to make sure we wipe out inventory on the restart) 
    160  3. Start tomcat again 
    161  4. Edit $ORCA_SRC/webapp/actor_configs/config.xml file by commenting out the <rset> stanza in the topology section at the bottom: 
     159 2. Remove $ORCA_HOME/state_recovery.lock file (to make sure we wipe out inventory on the restart)  
     160 3. Remove Orca webapp from $ORCA_HOME/tomcat/webapps 
     161{{{ 
     162$ cd $ORCA_HOME/tomcat/webapps 
     163$ rm -rf orca* 
     164}}} 
     165 4. Start tomcat again 
     166 5. Edit $ORCA_SRC/webapp/actor_configs/config.xml file by commenting out the <rset> stanza in the topology section at the bottom: 
    162167{{{ 
    163168                        <edge> 
     
    177182$ mvn package; ant deploy 
    178183}}} 
    179  6.  
    180  1. Click Site tab -> View Exported Resources -> manage -> Copy the guid of the ticketed reservation; Click Broker tab -> Claim Resources -> Paste the guid -> Click Claim . To further test whether you can create reservations, go to the user tab, click on "Create Reservation", enter number of units of vm (< 100), and then click "Create". Click on "View All Reservations" to see the status of the reservation you created. The status should turn "Active" after a few seconds. To test whether you can close the reservation you created, select the reservation in the same screen, and select "Close" from the drop-down menu next to Action:. Confirm the close, and now if you click on "View All Reservations", you will see the state of the reservation transitioning to "Closed". This should test the basic features of the Emulation mode. 
     184 6. Login to ORCA portal 
     185 7. Go to 'site' tab. Click on 'Create Slice'. Give a slice a name (no whitespaces). Click 'Create' 
     186 8. Click on 'Export Resources'. Enter 10 (maximum available) number of units. Click 'Create'. This creates a delegation from the site to the broker.  
     187 9. Click on 'View Exported Resources' - you should see your new slice. Click on 'manage' link on the right.  
     188 10. In the screen with 'Reservation Details' copy into clipboard Reservation ID - we need to give this to the broker to claim this reservation. 
     189 11. Claim the reservation on the broker side. Go to 'broker' tab. Click on 'Claim Resources'. Paste the reservation ID into the appropriate field and click 'Claim' 
     190 12. Validate that the claim succeeded by clicking on 'View Inventory'  
     191 13. Follow steps 3, 4 and 5 of the previous example to create a user reservation.