66 | | === 3.3 Reserve Two Virtual Machines at One Aggregate === |
67 | | The Portal is integrated with a tool, Flack, which allows you to draw topologies of GENI resources and then reserve them. |
68 | | |
69 | | |
70 | | {{{ |
71 | | #!html |
72 | | <table border="0"> |
73 | | |
74 | | <tr> |
75 | | <td > |
76 | | <ol type='a'> |
77 | | <li>On the <i>Slice</i> tab, press the <b>Flack</b> button. Flack will open in a new tab.</li> |
78 | | </ol> |
79 | | </td> |
80 | | <td> |
81 | | |
82 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/LabZero/Graphics/launch_flack_v4.png?format=raw" alt="Launch Flack" width="400" title="Launch Flack" /> |
83 | | <br /> |
84 | | <b>Figure 3-3</b> <i>Launch Flack</i> |
85 | | </td> |
86 | | </tr> |
87 | | <tr> |
88 | | |
89 | | <td > |
90 | | <ol type='a' start='2'> |
91 | | <li>Wait for Flack to load. You should see: your username, the slice name, and a list of aggregates. Flack should look like the picture to the right.</li> |
92 | | </ol> |
93 | | </td> |
94 | | <td> |
95 | | |
96 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/Flack_login_v1.png?format=raw" alt="Flack" width="400" title="Flack" /> |
97 | | <br /> |
98 | | <b>Figure 3-4</b> <i>Flack after it has loaded.</i> |
99 | | </td> |
100 | | </tr> |
101 | | <tr> |
102 | | <td > |
103 | | <ol type='a' start='3'> |
104 | | <li>Find the aggregate listed on your worksheet. </li> |
105 | | <li>Click the <b>VM</b> box next to that aggregate and drag it onto the canvas.</li> |
106 | | <li>Repeat the above step. You should now see two VM boxes on the canvas.</li> |
107 | | <li>Now click near one of the VM boxes on the canvas, then click and drag towards the other VM. Release when you reach the other VM. You should now see a line and a box representing a link connecting the two VMs.</li> |
108 | | <li>The canvas should now look like the picture on the right.</li> |
109 | | <li>To edit the name of each VM, click the <b>i</b> in the circle.</li> |
110 | | </ol> |
111 | | </td> |
112 | | <td> |
113 | | |
114 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/oneam_twovmlink_highlight_v2.png?format=raw" alt="Two VMs connected by a link." width="400" title="Two VMs connected by a link." /> |
115 | | <br /> |
116 | | <b>Figure 3-5</b> <i>Two VMs connected by a link.</i> |
117 | | </td> |
118 | | </tr> |
119 | | <tr> |
120 | | |
121 | | <td > |
122 | | <ol type='a' start='9'> |
123 | | |
124 | | |
125 | | <li>In the field at the top, replace "VM" with "client".</li> |
126 | | |
127 | | </ol> |
128 | | </td> |
129 | | <td> |
130 | | |
131 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/label_client_EG_highlight_v2.png?format=raw" alt="Relabel VM" width="400" title="Relabel VM" /> |
132 | | <br /> |
133 | | <b>Figure 3-6</b> <i>Edit the name of the VM. Set the Sliver Type on ExoGENI racks.</i> |
134 | | </td> |
135 | | </tr> |
136 | | <tr> |
137 | | <td > |
138 | | <ol type='a' start='10'> |
139 | | <li>Now click on "Interfaces and Links" (this is the middle tab with the "link" symbol").</li> |
140 | | <li>Enter an IP Address for this node of <i>10.1.1.1</i>.</li> |
141 | | <li>Enter a Mask of <i>255.255.255.0</i>.</li> |
142 | | <li>Then Press "Apply" at the bottom of the screen.</li> |
143 | | <li>Repeat the above six steps for the second VM, labeling it "server" and setting the server's IP Address to <i>10.1.1.2</i> and a Mask of <i>255.255.255.0</i>.</li> |
144 | | </ol> |
145 | | </td> |
146 | | <td> |
147 | | |
148 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/label_client_IP_highlight_v3.png?format=raw" alt="Relabel VM" width="400" title="Relabel VM" /> |
149 | | <br /> |
150 | | <b>Figure 3-7</b> <i>Edit the IP Address and Mask of the VM. </i> |
151 | | </td> |
152 | | </tr> |
153 | | |
154 | | |
155 | | <tr> |
156 | | <td > |
157 | | <ol type='a' start='15'> |
158 | | <li>Click the Submit button near the bottom of the page. When prompted, confirm you want to actually reserve resources. </li> |
159 | | </ol> |
160 | | </td> |
161 | | <td> |
162 | | |
163 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/oneam_twovmlink_labeled_highlight_v1.png?format=raw" alt="Two VMs connected by a link" width="400" title="Two VMs connected by a link" /> |
164 | | <br /> |
165 | | <b>Figure 3-8</b> <i>Two VMs connected by a link.</i> |
166 | | </td> |
167 | | </tr> |
168 | | </table> |
169 | | }}} |
170 | | |
171 | | |
172 | | === 3.4 Check Whether Virtual Machines are Ready to be Used === |
173 | | {{{ |
174 | | #!html |
175 | | <table> |
176 | | <tr> |
177 | | <td > |
178 | | <ol type='a' type='a'> |
179 | | <li>After clicking the Submit button, wait for the canvas to turn green. (This may take awhile.)</li> |
180 | | <li>If the canvas doesn't eventually turn green, press the "Get Status" button (near the "Add Resources" button).</li> |
181 | | <li>The canvas should now look like the picture on the right.</li> |
182 | | </ol> |
183 | | </td> |
184 | | <td> |
185 | | |
186 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GEC17Agenda/GettingStartedWithGENI_I/Graphics/oneam_twovmlink_ready.png?format=raw" alt="Resources are ready" width="400" title="Resources are ready" /> |
187 | | <br /> |
188 | | <b>Figure 3-9</b> <i>Reservation complete. Nodes are ready to login.</i> |
189 | | </td> |
190 | | </tr> |
191 | | |
192 | | |
193 | | </table> |
194 | | }}} |
195 | | |
| 66 | === 3.3 Reserve Topology === |
| 67 | 1. Using your favorite tool (Jacks, jFed), reserve the generated RSpec (`siteX.xml`) at the aggregate |
| 68 | listed on your worksheet. |
| 69 | 1. Wait for the topology to come up. |
| 70 | 1. Log into one of the `host` nodes (e.g. `host-1`) using `ssh`. |
| 71 | 1. Ping various nodes shown in the [picture]. |
| 72 | 1. Run LabWiki script |
| 73 | |