| 91 | You can [attachment:desk.tcl download a copy of that file]. |
| 92 | |
| 93 | That 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 | |
| 97 | To instantiate that topology, run the command: |
| 98 | |
| 99 | {{{ |
| 100 | fedd_create.py --file desk.tcl --experiment_name $EXPNAME --map desktop:https://$MGMT_IP23231 |
| 101 | }}} |
| 102 | |
| 103 | where {{{$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 | |
| 105 | When that returns, it will return something like: |
| 106 | |
| 107 | {{{ |
| 108 | localname: faber-smart5 |
| 109 | fedid: 2b7b6852a2db53d3e77431937e1da01d8fbf335d |
| 110 | status: starting |
| 111 | }}} |
| 112 | |
| 113 | DETER 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 | {{{ |
| 116 | users:~$ fedd_multistatus.py |
| 117 | faber-smart5:2b7b6852a2db53d3e77431937e1da01d8fbf335d:active |
| 118 | faber-smart1:9a57f78345e04136e8696a3439b476f3bc2f444d:failed |
| 119 | faber-smart2:7afc1dbbc29b6c7f46128d6dc0502136a95cb6cf:starting |
| 120 | }}} |
| 121 | |
| 122 | That 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 | |
| 128 | An experimenter can poll using {{{fedd_multistatus.py}}} or watch the debugging log using {{{fedd_spewlog.py}}}. The second looks like: |
| 129 | |
| 130 | {{{ |
| 131 | users:~$ fedd_spewlog.py --experiment_name faber-smart5 |
| 132 | 03 Mar 14 16:46:50 fedd.experiment_control.faber-smart5 Calling StartSegment at https://192.1.242.14:23231 |
| 133 | 03 Mar 14 16:46:50 fedd.experiment_control.faber-smart5 Calling StartSegment at https://users.isi.deterlab.net:23231 |
| 134 | Allocatation complete03 Mar 14 16:47:50 fedd.experiment_control.faber-smart5 Waiting for sub threads (it has been 1 mins) |
| 135 | 03 Mar 14 16:48:50 fedd.experiment_control.faber-smart5 Waiting for sub threads (it has been 2 mins) |
| 136 | 03 Mar 14 16:46:52 fedd.access.faber-smart5 State is none |
| 137 | 03 Mar 14 16:46:52 fedd.access.faber-smart5 [make_null_experiment]: Creating experiment |
| 138 | 03 Mar 14 16:47:14 fedd.access.faber-smart5 [make_null_experiment]: Create succeeded |
| 139 | 03 Mar 14 16:47:14 fedd.access.faber-smart5 [start_segment]: creating script file |
| 140 | 03 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 |
| 141 | 03 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 |
| 142 | 03 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 |
| 143 | 03 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 |
| 144 | 03 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 |
| 145 | 03 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 |
| 146 | 03 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 |
| 147 | 03 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 |
| 148 | 03 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 |
| 149 | 03 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 |
| 150 | 03 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 |
| 151 | 03 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 |
| 152 | 03 Mar 14 16:47:18 fedd.access.faber-smart5 [modify_exp]: Modifying faber-smart5 |
| 153 | 03 Mar 14 16:47:35 fedd.access.faber-smart5 [modify_exp]: Modify succeeded |
| 154 | 03 Mar 14 16:47:35 fedd.access.faber-smart5 [swap_exp]: Swapping faber-smart5 in |
| 155 | 03 Mar 14 16:49:46 fedd.access.faber-smart5 [swap_exp]: Swap succeeded |
| 156 | 03 Mar 14 16:49:46 fedd.access.faber-smart5 [get_mapping] Generating mapping |
| 157 | 03 Mar 14 16:49:47 fedd.access.faber-smart5 Node mapping complete |
| 158 | 03 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 |
| 159 | active |
| 160 | }}} |
| 161 | |
| 162 | The {{{--experiment_name}}} parameter is the same as on the {{{fedd_create.py}}} command, or selected from {{{fedd_multistatus.py}}} output. |