| 1 | == 3. Obtain Resources == |
| 2 | |
| 3 | === 3.3 Launch jFed to Reserve Two Virtual Machines at One Aggregate === |
| 4 | |
| 5 | The Portal is integrated with a tool, jFed, which allows you to draw topologies of GENI resources and then reserve them. [[br]] |
| 6 | ''If you are on a Mac, you must us the Firefox (recommended) or Safari browsers.'' |
| 7 | |
| 8 | |
| 9 | {{{ |
| 10 | #!html |
| 11 | <table border="0"> |
| 12 | |
| 13 | <tr> |
| 14 | <td > |
| 15 | <ol type='a'> |
| 16 | <li>On the <i>Slice</i> tab, press the <b>jFed</b> button. jFed will open in a new window.</li> |
| 17 | </ol> |
| 18 | </td> |
| 19 | <td> |
| 20 | |
| 21 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_1.png?format=raw" alt="Launch jFed" width="400" title="Launch jFed" /> |
| 22 | <br /> |
| 23 | <b>Figure 3-3</b> <i>Launch jFed</i> |
| 24 | </td> |
| 25 | </tr> |
| 26 | <tr> |
| 27 | |
| 28 | <td > |
| 29 | <ol type='a' start='2'> |
| 30 | <li>Wait for jFed to load. jFed should look like the picture to the right. Click on the New to start a new experiment. </li> |
| 31 | </ol> |
| 32 | </td> |
| 33 | <td> |
| 34 | |
| 35 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/LabZero/Graphics/jFed-Main.png?format=raw" alt="jFed" width="400" title="jFed" /> |
| 36 | <br /> |
| 37 | <b>Figure 3-4</b> <i>jFed after it has loaded.</i> |
| 38 | </td> |
| 39 | </tr> |
| 40 | <tr> |
| 41 | <td > |
| 42 | <ol type='a' start='3'> |
| 43 | <li>Find the aggregate listed on your worksheet. </li> |
| 44 | <li>Click the <b>VM</b> box and drag it onto the canvas.</li> |
| 45 | <li> |
| 46 | |
| 47 | <table id="Table_03" border="0" cellpadding="5" cellspacing="0"> |
| 48 | <tr> |
| 49 | <td> |
| 50 | <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/instageni-logo.png?format=raw" width="50" height="50" alt="InstaGENI"> |
| 51 | </td> |
| 52 | <td> |
| 53 | If you are using resources at an InstaGENI aggregate: |
| 54 | <pre> |
| 55 | Click the <b>XEN VM</b> box and drag it onto the canvas. |
| 56 | </pre> |
| 57 | </td> |
| 58 | |
| 59 | </tr> |
| 60 | </table> |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | <table id="Table_03" border="0" cellpadding="5" cellspacing="0"> |
| 66 | <tr> |
| 67 | <td> |
| 68 | <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/exogeni-logo.png?format=raw" width="50" height="50" alt="ExoGENI"> |
| 69 | </td> |
| 70 | <td> |
| 71 | If you are using resources at an ExoGENI aggregate do: |
| 72 | <pre> |
| 73 | Click the <b>VM</b> box and drag it onto the canvas. |
| 74 | </pre> |
| 75 | </td> |
| 76 | |
| 77 | </tr> |
| 78 | </table> |
| 79 | </li> |
| 80 | <li>To edit the node, double click on the node box.</li> |
| 81 | <li> From the "Select testbed" drop-down, pick the aggregate assigned to you. <b> DO NOT forget to do this </b></li> |
| 82 | <li>Select the node and press the "Duplicate" button. You should now see two node boxes on the canvas.</li> |
| 83 | <li>Now click near one of the node boxes on the canvas, then click and drag towards the other node. Release when you reach the other node. You should now see a line and a box representing a link connecting the two nodes.</li> |
| 84 | <li>The canvas should now look like the picture on the right.</li> |
| 85 | |
| 86 | </ol> |
| 87 | </td> |
| 88 | <td> |
| 89 | |
| 90 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_6.png?format=raw" alt="Two nodes connected by a link." width="400" title="Two nodes connected by a link." /> |
| 91 | <br /> |
| 92 | <b>Figure 3-5</b> <i>Two nodes connected by a link.</i> |
| 93 | </td> |
| 94 | </tr> |
| 95 | <tr> |
| 96 | |
| 97 | <td > |
| 98 | <ol type='a' start='11'> |
| 99 | |
| 100 | <li>To edit the name of each node, double click on the node box.</li> |
| 101 | <li>In the "Name" field at the top, replace "node0" with "client".</li> |
| 102 | <li>Repeat for the node labeled, "node1". In the "Name" field at the top, replace "node1" with "server".</li> |
| 103 | |
| 104 | </ol> |
| 105 | </td> |
| 106 | <td> |
| 107 | |
| 108 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_6.5.png?format=raw" alt="Relabel VM" width="400" title="Relabel VM" /> |
| 109 | <br /> |
| 110 | <b>Figure 3-6</b> <i>Edit the name of the VM. Set the Sliver Type on ExoGENI racks.</i> |
| 111 | </td> |
| 112 | </tr> |
| 113 | <tr> |
| 114 | <td > |
| 115 | <ol type='a' start='14'> |
| 116 | <li>Now click on the "link" box.</li> |
| 117 | <li>Enter an IP Address for this node of <i>10.1.1.1</i>.</li> |
| 118 | <li>Enter a Mask of <i>255.255.255.0</i>.</li> |
| 119 | <li>On the next line down, set that interface to the server's IP address of <i>10.1.1.2</i> and a Mask of <i>255.255.255.0</i>.</li> |
| 120 | </ol> |
| 121 | </td> |
| 122 | <td> |
| 123 | |
| 124 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_7.png?format=raw" alt="Relabel VM" width="400" title="Relabel VM" /> |
| 125 | <br /> |
| 126 | <b>Figure 3-7</b> <i>Edit the IP Address and Mask of the VM. </i> |
| 127 | </td> |
| 128 | </tr> |
| 129 | |
| 130 | |
| 131 | <tr> |
| 132 | <td > |
| 133 | <ol type='a' start='18'> |
| 134 | <li>Click the <b>Run</b> button near the top of the window.</li> |
| 135 | </ol> |
| 136 | </td> |
| 137 | <td> |
| 138 | |
| 139 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_8.png?format=raw" alt="Two VMs connected by a link" width="400" title="Two VMs connected by a link" /> |
| 140 | <br /> |
| 141 | <b>Figure 3-8</b> <i>Two VMs connected by a link.</i> |
| 142 | </td> |
| 143 | </tr> |
| 144 | |
| 145 | |
| 146 | <tr> |
| 147 | <td > |
| 148 | <ol type='a' start='19'> |
| 149 | <li>When prompted, pick experiment details, such as your slice, and then hit OK. </li> |
| 150 | </ol> |
| 151 | </td> |
| 152 | <td> |
| 153 | |
| 154 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_9.png?format=raw" alt="Pick Experiment Details" width="400" title="Pick Experiment Details" /> |
| 155 | <br /> |
| 156 | <b>Figure 3-9</b> <i>Pick Experiment Details.</i> |
| 157 | </td> |
| 158 | </tr> |
| 159 | </table> |
| 160 | }}} |
| 161 | |
| 162 | |
| 163 | === 3.4 Check Whether Virtual Machines are Ready to be Used === |
| 164 | {{{ |
| 165 | #!html |
| 166 | <table> |
| 167 | <tr> |
| 168 | <td > |
| 169 | <ol type='a' type='a'> |
| 170 | <li>After clicking the OK button, wait for the canvas to turn green. (This may take awhile.)</li> |
| 171 | <li>If the canvas doesn't eventually turn green, press the "Update Status" button.</li> |
| 172 | <li>The canvas should now look like the picture on the right.</li> |
| 173 | </ol> |
| 174 | </td> |
| 175 | <td> |
| 176 | |
| 177 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/JFedLab0_10.png?format=raw" alt="Resources are ready" width="400" title="Resources are ready" /> |
| 178 | <br /> |
| 179 | <b>Figure 3-9</b> <i>Reservation complete. Nodes are ready to login.</i> |
| 180 | </td> |
| 181 | </tr> |
| 182 | |
| 183 | |
| 184 | </table> |
| 185 | }}} |