Changes between Version 9 and Version 10 of FeddGettingStarted


Ignore:
Timestamp:
Mar 29, 2012 9:13:35 PM (13 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FeddGettingStarted

    v9 v10  
    306306
    307307It will also take the {{{--logfile}}} parameter.
     308
     309== Preparing Users ==
     310
     311In order for users to use the federation system, two things need to be done.  Their emulab credentials need to be converted to federation credentials and they need to allow the access controller to act on their behalf by adding the access controller's ssh key to their login keys using the DETER web interface.  Both of these can be done programmatically at large institutions.
     312
     313Conversion of emulab credentials is done [wiki:FeddABAC#UserCredentials like this].
     314
     315== Trying it out ==
     316
     317At this point the federation interface is configured to let local users make local experiments through the federation interface.  To test this, add a line of the form
     318
     319{{{
     320mytestbed:http://MYUSERS:MYPORT
     321}}}
     322
     323to {{{/usr/local/etc/fedd/experiment/exp_map_db}}} and restart the experiment controller.
     324
     325A user should be able to get a status by:
     326
     327{{{
     328$ fedd_multistatus.py --url=$YOUR_EXPERIMENT_CONTROLLER_URL
     329}}}
     330
     331That status will be empty.  To create an experiment, get the attached experiment file:
     332
     333{{{
     334<experiment>
     335 <version>1.0</version>
     336 <substrates>
     337  <name>lan0</name>
     338  <capacity>
     339   <rate>100000.000000</rate>
     340   <kind>max</kind>
     341  </capacity>
     342 </substrates>
     343 <elements>
     344  <computer>
     345   <name>a</name>
     346   <interface>
     347    <substrate>lan0</substrate>
     348    <name>inf000</name>
     349    <capacity>
     350     <rate>100000.000000</rate>
     351     <kind>max</kind>
     352    </capacity>
     353   </interface>
     354   <attribute>
     355    <attribute>type</attribute>
     356    <value>pc</value>
     357   </attribute>
     358   <attribute>
     359    <attribute>testbed</attribute>
     360    <value>mytestbed</value>
     361   </attribute>
     362   <attribute>
     363    <attribute>failureaction</attribute>
     364    <value>fatal</value>
     365   </attribute>
     366  </computer>
     367 </elements>
     368 <elements>
     369  <computer>
     370   <name>b</name>
     371   <interface>
     372    <substrate>lan0</substrate>
     373    <name>inf000</name>
     374    <capacity>
     375     <rate>100000.000000</rate>
     376     <kind>max</kind>
     377    </capacity>
     378   </interface>
     379   <attribute>
     380    <attribute>type</attribute>
     381    <value>pc</value>
     382   </attribute>
     383   <attribute>
     384    <attribute>testbed</attribute>
     385    <value>mytestbed</value>
     386   </attribute>
     387   <attribute>
     388    <attribute>failureaction</attribute>
     389    <value>fatal</value>
     390   </attribute>
     391  </computer>
     392 </elements>
     393</experiment>
     394}}}