http://web.dit.upm.es/vnxwiki/index.php?title=Vnx-labo-openstack-3nodes-basic-liberty&feed=atom&action=history
Vnx-labo-openstack-3nodes-basic-liberty - Revision history
2024-03-28T08:23:16Z
Revision history for this page on the wiki
MediaWiki 1.30.0
http://web.dit.upm.es/vnxwiki/index.php?title=Vnx-labo-openstack-3nodes-basic-liberty&diff=2317&oldid=prev
David at 21:56, 6 April 2016
2016-04-06T21:56:14Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="en">
<td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 21:56, 6 April 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l9" >Line 9:</td>
<td colspan="2" class="diff-lineno">Line 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>All virtual machines use Ubuntu 14.04.3 LTS and Openstack Liberty.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>All virtual machines use Ubuntu 14.04.3 LTS and Openstack Liberty.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The scenario has been inspired by the ones developed by Raul Alvarez to test OpenDaylight-Openstack integration, but instead of using Devstack to configure Openstack nodes, the configuration is done by means of commands integrated into the VNX scenario following Openstack installation recipes in http://docs.openstack.org/<del class="diffchange diffchange-inline">kilo</del>/install-guide<del class="diffchange diffchange-inline">/install/apt/content</del>/</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The scenario has been inspired by the ones developed by Raul Alvarez to test OpenDaylight-Openstack integration, but instead of using Devstack to configure Openstack nodes, the configuration is done by means of commands integrated into the VNX scenario following Openstack installation recipes in http://docs.openstack.org/<ins class="diffchange diffchange-inline">liberty</ins>/install-guide<ins class="diffchange diffchange-inline">-ubuntu</ins>/</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><!--</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><!--</div></td></tr>
</table>
David
http://web.dit.upm.es/vnxwiki/index.php?title=Vnx-labo-openstack-3nodes-basic-liberty&diff=2195&oldid=prev
David: /* Starting the scenario */
2015-12-29T11:38:05Z
<p><span dir="auto"><span class="autocomment">Starting the scenario</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="en">
<td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 11:38, 29 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l63" >Line 63:</td>
<td colspan="2" class="diff-lineno">Line 63:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  vnx -f openstack_tutorial-liberty_3nodes_basic.xml -v -x load-img</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  vnx -f openstack_tutorial-liberty_3nodes_basic.xml -v -x load-img</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline"><!--</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[File:<del class="diffchange diffchange-inline">Openstack_tutorial2</del>.png|center|thumb|600px|<div align=center></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[File:<ins class="diffchange diffchange-inline">Openstack tutorial-liberty 3nodes basic-vnx</ins>.png|center|thumb|600px|<div align=center></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''Figure 2: Openstack tutorial detailed topology'''</div>]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''Figure 2: Openstack tutorial detailed topology'''</div>]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">--></del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Once started, you can connect to Openstack Dashboard (admin/xxxx) starting a browser and pointing it to the controller horizon page. For example:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Once started, you can connect to Openstack Dashboard (admin/xxxx) starting a browser and pointing it to the controller horizon page. For example:</div></td></tr>
</table>
David
http://web.dit.upm.es/vnxwiki/index.php?title=Vnx-labo-openstack-3nodes-basic-liberty&diff=2191&oldid=prev
David at 11:26, 29 December 2015
2015-12-29T11:26:17Z
<p></p>
<a href="http://web.dit.upm.es/vnxwiki/index.php?title=Vnx-labo-openstack-3nodes-basic-liberty&diff=2191&oldid=2190">Show changes</a>
David
http://web.dit.upm.es/vnxwiki/index.php?title=Vnx-labo-openstack-3nodes-basic-liberty&diff=2190&oldid=prev
David: /* Installation */
2015-12-29T11:22:19Z
<p><span dir="auto"><span class="autocomment">Installation</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="en">
<td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 11:22, 29 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l49" >Line 49:</td>
<td colspan="2" class="diff-lineno">Line 49:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>the root filesystems from scratch in your computer:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>the root filesystems from scratch in your computer:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  wget openstack_tutorial-liberty_3nodes_basic-v010.tgz</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  wget <ins class="diffchange diffchange-inline">http://idefix.dit.upm.es/vnx/examples/openstack/</ins>openstack_tutorial-liberty_3nodes_basic-v010.tgz</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  vnx --unpack openstack_tutorial-liberty_3nodes_basic-v010.tgz</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  vnx --unpack openstack_tutorial-liberty_3nodes_basic-v010.tgz</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  cd openstack_tutorial-liberty_3nodes_basic-v010/filesystems</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  cd openstack_tutorial-liberty_3nodes_basic-v010/filesystems</div></td></tr>
</table>
David
http://web.dit.upm.es/vnxwiki/index.php?title=Vnx-labo-openstack-3nodes-basic-liberty&diff=2189&oldid=prev
David: /* Installation */
2015-12-29T11:20:40Z
<p><span dir="auto"><span class="autocomment">Installation</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="en">
<td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 11:20, 29 December 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l43" >Line 43:</td>
<td colspan="2" class="diff-lineno">Line 43:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Download the scenario with the virtual machines images included and unpack it:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Download the scenario with the virtual machines images included and unpack it:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  wget http://idefix.dit.upm.es/vnx/openstack_tutorial-liberty_3nodes_basic-<del class="diffchange diffchange-inline">v014</del>-with-rootfs.tgz</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  wget http://idefix.dit.upm.es/vnx<ins class="diffchange diffchange-inline">/examples/openstack</ins>/openstack_tutorial-liberty_3nodes_basic-<ins class="diffchange diffchange-inline">v010</ins>-with-rootfs.tgz</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  vnx --unpack openstack_tutorial-<del class="diffchange diffchange-inline">v014</del>-with-rootfs.tgz</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  vnx --unpack openstack_tutorial-<ins class="diffchange diffchange-inline">liberty_3nodes_basic-v010</ins>-with-rootfs.tgz</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Alternatively, you can download the much lighter version without the images and create</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Alternatively, you can download the much lighter version without the images and create</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>the root filesystems from scratch in your computer:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>the root filesystems from scratch in your computer:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  wget <del class="diffchange diffchange-inline">http://idefix.dit.upm.es/cnvr/</del>openstack_tutorial-<del class="diffchange diffchange-inline">v014</del>.tgz</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  wget openstack_tutorial-<ins class="diffchange diffchange-inline">liberty_3nodes_basic-v010</ins>.tgz</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  vnx --unpack openstack_tutorial-<del class="diffchange diffchange-inline">v014</del>.tgz</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  vnx --unpack openstack_tutorial-<ins class="diffchange diffchange-inline">liberty_3nodes_basic-v010</ins>.tgz</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  cd openstack_tutorial-<del class="diffchange diffchange-inline">v014</del>/filesystems</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  cd openstack_tutorial-<ins class="diffchange diffchange-inline">liberty_3nodes_basic-v010</ins>/filesystems</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  ./create-kvm_ubuntu64-ostack-compute</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  ./create-kvm_ubuntu64-ostack-compute</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"> ./create-kvm_ubuntu64-ostack-network</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  ./create-lxc_ubuntu64-ostack-controller</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  ./create-lxc_ubuntu64-ostack-controller</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
David
http://web.dit.upm.es/vnxwiki/index.php?title=Vnx-labo-openstack-3nodes-basic-liberty&diff=2186&oldid=prev
David: Created page with "{{Title|VNX Openstack Liberty 3-nodes-basic laboratory}} == Introduction == This is an Openstack tutorial scenario designed to experiment with Openstack free and open-source..."
2015-12-29T11:17:18Z
<p>Created page with "{{Title|VNX Openstack Liberty 3-nodes-basic laboratory}} == Introduction == This is an Openstack tutorial scenario designed to experiment with Openstack free and open-source..."</p>
<p><b>New page</b></p><div>{{Title|VNX Openstack Liberty 3-nodes-basic laboratory}}<br />
<br />
== Introduction ==<br />
<br />
This is an Openstack tutorial scenario designed to experiment with Openstack free and open-source software platform for cloud-computing.<br />
<br />
The scenario is basically the one described in the [http://docs.openstack.org/liberty/install-guide-ubuntu/ Openstack Liberty installation guide for Ubuntu]. It is made of three virtual machines: a controller with networking capabilities and two compute nodes, all of them based on KVM. Optionally, a third compute node can be added once the scenario is started.<br />
<br />
All virtual machines use Ubuntu 14.04.3 LTS and Openstack Liberty.<br />
<br />
The scenario has been inspired by the ones developed by Raul Alvarez to test OpenDaylight-Openstack integration, but instead of using Devstack to configure Openstack nodes, the configuration is done by means of commands integrated into the VNX scenario following Openstack installation recipes in http://docs.openstack.org/kilo/install-guide/install/apt/content/<br />
<br />
<!--<br />
[[File:Openstack_tutorial.png|center|thumb|600px|<div align=center><br />
'''Figure 1: Openstack tutorial scenario'''</div>]]<br />
--><br />
<br />
== Requirements ==<br />
<br />
To use the scenario you need a Linux computer (Ubuntu 14.04 or later recommended) with VNX software installed. At least 4Gb of memory are needed to execute the scenario.<br />
<br />
See how to install VNX here: http://vnx.dit.upm.es/vnx/index.php/Vnx-install<br />
<br />
If already installed, update VNX to the latest version with:<br />
<br />
vnx_update<br />
<br />
To make startup faster, enable one-pass-autoconfiguration for KVM virtual machines in /etc/vnx.conf:<br />
<br />
[libvirt]<br />
...<br />
one_pass_autoconf=yes<br />
<br />
Check that KVM nested virtualization is enabled:<br />
<br />
cat /sys/module/kvm_intel/parameters/nested<br />
Y<br />
<br />
If not enabled, check, for example, http://docs.openstack.org/developer/devstack/guides/devstack-with-nested-kvm.html to enable it.<br />
<br />
== Installation ==<br />
<br />
Download the scenario with the virtual machines images included and unpack it:<br />
<br />
wget http://idefix.dit.upm.es/vnx/openstack_tutorial-liberty_3nodes_basic-v014-with-rootfs.tgz<br />
vnx --unpack openstack_tutorial-v014-with-rootfs.tgz<br />
<br />
Alternatively, you can download the much lighter version without the images and create<br />
the root filesystems from scratch in your computer:<br />
<br />
wget http://idefix.dit.upm.es/cnvr/openstack_tutorial-v014.tgz<br />
vnx --unpack openstack_tutorial-v014.tgz<br />
cd openstack_tutorial-v014/filesystems<br />
./create-kvm_ubuntu64-ostack-compute<br />
./create-kvm_ubuntu64-ostack-network<br />
./create-lxc_ubuntu64-ostack-controller<br />
<br />
== Starting the scenario ==<br />
<br />
Start the scenario and configure it and load an example cirros image with:<br />
cd openstack_tutorial-v014<br />
vnx -f openstack_tutorial-kilo_4nodes_basic.xml -v -t<br />
vnx -f openstack_tutorial-kilo_4nodes_basic.xml -v -x start-all<br />
vnx -f openstack_tutorial-kilo_4nodes_basic.xml -v -x load-img<br />
<br />
[[File:Openstack_tutorial2.png|center|thumb|600px|<div align=center><br />
'''Figure 2: Openstack tutorial detailed topology'''</div>]]<br />
<br />
Once started, you can connect to Openstack Dashboard (admin/xxxx) starting a browser and pointing it<br />
to the controller horizon page. For example:<br />
<br />
firefox 10.0.10.11/horizon<br />
<br />
Access Dashboard page "Project|Network|Network topology" and create a simple demo scenario inside<br />
Openstack:<br />
<br />
vnx -f openstack_tutorial-kilo_4nodes_basic.xml -v -x create-demo-scenario<br />
<br />
You should see the simple scenario as it is being created through the Dashboard.<br />
<br />
Once created you should be able to access vm1 console, to ping or ssh from the host to the vm1 or the<br />
opposite (see the floating IP assigned to vm1 in the Dashboard, probably 10.0.10.102).<br />
<br />
Finally, to allow external Internet access from vm1 you hace to configure a NAT in the host. You can<br />
easily do it using vnx_config_nat command distributed with VNX. Just find out the name of the public<br />
network interface of your host (i.e eth0) and execute:<br />
<br />
vnx_config_nat ExtNet eth0<br />
<br />
== Stopping or releasing the scenario ==<br />
<br />
To stop the scenario preserving the configuration and the changes made:<br />
<br />
vnx -f openstack_tutorial-kilo_4nodes_basic.xml -v --shutdown<br />
<br />
To start it again use:<br />
<br />
vnx -f openstack_tutorial-kilo_4nodes_basic.xml -v --start<br />
<br />
To stop the scenario destroying all the configuration and changes made:<br />
<br />
vnx -f openstack_tutorial-kilo_4nodes_basic.xml -v --destroy<br />
<br />
To unconfigure the NAT, just execute:<br />
<br />
vnx_config_nat -d ExtNet eth0<br />
<br />
== Adding a third compute node (compute3) ==<br />
<br />
To add a third compute node to the scenario once it is started you can use the VNX modify capacity:<br />
<br />
vnx -s openstack_tutorial-kilo_4nodes_basic --modify others/add-compute3.xml -v<br />
vnx -s openstack_tutorial-kilo_4nodes_basic -v -x start-all -M compute3<br />
<br />
Once the new node has been joined to the scenario, you must use "-s" option instead of "-f" to manage it<br />
(if not, the compute3 node will not be considered). For example,<br />
<br />
vnx -s openstack_tutorial-kilo_4nodes_basic -v --destroy<br />
<br />
== Other useful information ==<br />
<br />
To pack the scenario in a tgz file including the root filesystems use:<br />
<br />
bin/pack-scenario --include-rootfs<br />
<br />
To pack the scenario without the root filesystems, just delete the "--include-rootfs" parameter.<br />
<br />
== XML specification of Openstack tutorial scenario ==<br />
<br />
<pre><br />
<br />
</pre></div>
David