Changes between Version 5 and Version 6 of DesktopExoGeni


Ignore:
Timestamp:
Mar 3, 2014 5:01:39 PM (11 years ago)
Author:
faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DesktopExoGeni

    v5 v6  
    8989}}}
    9090
     91You can [attachment:desk.tcl download a copy of that file].
     92
     93That file specified a topology that looks like this.  Computers are boxes and network connections are lines.  The larger blue outlines show which testbed each computer is in.
     94
     95[[Image(desk.png)]]
     96
     97To instantiate that topology, run the command:
     98
     99{{{
     100fedd_create.py --file desk.tcl --experiment_name $EXPNAME --map desktop:https://$MGMT_IP23231
     101}}}
     102
     103where {{{$EXPNAME}}} is replaced with a short mnemonic name for the combined experiment and {{{$MGMT_IP}}} is the external management IP of the node running the federation software.
     104
     105When that returns, it will return something like:
     106
     107{{{
     108localname: faber-smart5
     109fedid: 2b7b6852a2db53d3e77431937e1da01d8fbf335d
     110status: starting
     111}}}
     112
     113DETER is coordinating between its local federation controllers and the one running on the ExoGENI node, allocating resources, and stitching them.  You can check the status using the {{{fedd_multistatus.py}}} command:
     114
     115{{{
     116users:~$ fedd_multistatus.py
     117faber-smart5:2b7b6852a2db53d3e77431937e1da01d8fbf335d:active
     118faber-smart1:9a57f78345e04136e8696a3439b476f3bc2f444d:failed
     119faber-smart2:7afc1dbbc29b6c7f46128d6dc0502136a95cb6cf:starting
     120}}}
     121
     122That output shows three federated experiments.  The experiments are:
     123
     124 * faber-smart5 which can be accessed and used for experimentation
     125 * faber-smart1 which failed and cannot be accessed
     126 * faber-smart2 which is in the process of being created.  It will eventually transition to active or failed.
     127
     128An experimenter can poll using {{{fedd_multistatus.py}}} or watch the debugging log using {{{fedd_spewlog.py}}}.  The second looks like:
     129
     130{{{
     131users:~$ fedd_spewlog.py --experiment_name faber-smart5
     13203 Mar 14 16:46:50 fedd.experiment_control.faber-smart5 Calling StartSegment at https://192.1.242.14:23231
     13303 Mar 14 16:46:50 fedd.experiment_control.faber-smart5 Calling StartSegment at https://users.isi.deterlab.net:23231
     134Allocatation complete03 Mar 14 16:47:50 fedd.experiment_control.faber-smart5 Waiting for sub threads (it has been 1 mins)
     13503 Mar 14 16:48:50 fedd.experiment_control.faber-smart5 Waiting for sub threads (it has been 2 mins)
     13603 Mar 14 16:46:52 fedd.access.faber-smart5 State is none
     13703 Mar 14 16:46:52 fedd.access.faber-smart5 [make_null_experiment]: Creating experiment
     13803 Mar 14 16:47:14 fedd.access.faber-smart5 [make_null_experiment]: Create succeeded
     13903 Mar 14 16:47:14 fedd.access.faber-smart5 [start_segment]: creating script file
     14003 Mar 14 16:47:14 fedd.access.faber-smart5 [scp_file]: /usr/bin/scp -o IdentitiesOnly yes -o StrictHostKeyChecking no -o ForwardX11 no -i /usr/local/etc/fedd/deter/fedd_rsa /tmp/tmpFlZEWb faber@users.isi.deterlab.net:tmpFlZEWb
     14103 Mar 14 16:47:14 fedd.access.faber-smart5 [ssh_cmd]: /usr/bin/ssh -n -o 'IdentitiesOnly yes' -o 'StrictHostKeyChecking no' -o 'ForwardX11 no' -i /usr/local/etc/fedd/deter/fedd_rsa faber@users.isi.deterlab.net sh -x tmpFlZEWb
     14203 Mar 14 16:47:14 fedd.access.faber-smart5 [scp_file]: /usr/bin/scp -o IdentitiesOnly yes -o StrictHostKeyChecking no -o ForwardX11 no -i /usr/local/etc/fedd/deter/fedd_rsa /tmp/access-8Yev3U/fedgw_rsa.pub faber@users.isi.deterlab.net:/proj/DeterTest/exp/faber-smart5/tmp/fedgw_rsa.pub
     14303 Mar 14 16:47:15 fedd.access.faber-smart5 [scp_file]: /usr/bin/scp -o IdentitiesOnly yes -o StrictHostKeyChecking no -o ForwardX11 no -i /usr/local/etc/fedd/deter/fedd_rsa /tmp/access-8Yev3U/fedgw_rsa faber@users.isi.deterlab.net:/proj/DeterTest/exp/faber-smart5/tmp/fedgw_rsa
     14403 Mar 14 16:47:15 fedd.access.faber-smart5 [scp_file]: /usr/bin/scp -o IdentitiesOnly yes -o StrictHostKeyChecking no -o ForwardX11 no -i /usr/local/etc/fedd/deter/fedd_rsa /tmp/access-8Yev3U/hosts faber@users.isi.deterlab.net:/proj/DeterTest/exp/faber-smart5/tmp/hosts
     14503 Mar 14 16:47:15 fedd.access.faber-smart5 [scp_file]: /usr/bin/scp -o IdentitiesOnly yes -o StrictHostKeyChecking no -o ForwardX11 no -i /usr/local/etc/fedd/deter/fedd_rsa /tmp/access-8Yev3U/ca.pem faber@users.isi.deterlab.net:/proj/DeterTest/exp/faber-smart5/tmp/ca.pem
     14603 Mar 14 16:47:16 fedd.access.faber-smart5 [scp_file]: /usr/bin/scp -o IdentitiesOnly yes -o StrictHostKeyChecking no -o ForwardX11 no -i /usr/local/etc/fedd/deter/fedd_rsa /tmp/access-8Yev3U/node.pem faber@users.isi.deterlab.net:/proj/DeterTest/exp/faber-smart5/tmp/node.pem
     14703 Mar 14 16:47:16 fedd.access.faber-smart5 [scp_file]: /usr/bin/scp -o IdentitiesOnly yes -o StrictHostKeyChecking no -o ForwardX11 no -i /usr/local/etc/fedd/deter/fedd_rsa /tmp/access-8Yev3U/deterdesktoptunnel0.gw.conf faber@users.isi.deterlab.net:/proj/DeterTest/exp/faber-smart5/tmp/deterdesktoptunnel0.gw.conf
     14803 Mar 14 16:47:16 fedd.access.faber-smart5 [scp_file]: /usr/bin/scp -o IdentitiesOnly yes -o StrictHostKeyChecking no -o ForwardX11 no -i /usr/local/etc/fedd/deter/fedd_rsa /tmp/access-8Yev3U/client.conf faber@users.isi.deterlab.net:/proj/DeterTest/exp/faber-smart5/tmp/client.conf
     14903 Mar 14 16:47:17 fedd.access.faber-smart5 [scp_file]: /usr/bin/scp -o IdentitiesOnly yes -o StrictHostKeyChecking no -o ForwardX11 no -i /usr/local/etc/fedd/deter/fedd_rsa /tmp/access-8Yev3U/experiment.tcl faber@users.isi.deterlab.net:/proj/DeterTest/exp/faber-smart5/tmp/experiment.tcl
     15003 Mar 14 16:47:17 fedd.access.faber-smart5 [scp_file]: /usr/bin/scp -o IdentitiesOnly yes -o StrictHostKeyChecking no -o ForwardX11 no -i /usr/local/etc/fedd/deter/fedd_rsa /tmp/access-8Yev3U/software/fedkit.tgz faber@users.isi.deterlab.net:/proj/DeterTest/software//faber-smart5/fedkit.tgz
     15103 Mar 14 16:47:18 fedd.access.faber-smart5 [scp_file]: /usr/bin/scp -o IdentitiesOnly yes -o StrictHostKeyChecking no -o ForwardX11 no -i /usr/local/etc/fedd/deter/fedd_rsa /tmp/access-8Yev3U/software/seer-fbsd71-current.tgz faber@users.isi.deterlab.net:/proj/DeterTest/software//faber-smart5/seer-fbsd71-current.tgz
     15203 Mar 14 16:47:18 fedd.access.faber-smart5 [modify_exp]: Modifying faber-smart5
     15303 Mar 14 16:47:35 fedd.access.faber-smart5 [modify_exp]: Modify succeeded
     15403 Mar 14 16:47:35 fedd.access.faber-smart5 [swap_exp]: Swapping faber-smart5 in
     15503 Mar 14 16:49:46 fedd.access.faber-smart5 [swap_exp]: Swap succeeded
     15603 Mar 14 16:49:46 fedd.access.faber-smart5 [get_mapping] Generating mapping
     15703 Mar 14 16:49:47 fedd.access.faber-smart5 Node mapping complete
     15803 Mar 14 16:49:47 fedd.access.faber-smart5 Link mapping complete03 Mar 14 16:49:48 fedd.experiment_control.faber-smart5 [start_segment]: Experiment faber-smart5 active
     159active
     160}}}
     161
     162The {{{--experiment_name}}} parameter is the same as on the {{{fedd_create.py}}} command, or selected from {{{fedd_multistatus.py}}} output.