<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>J.A. Coarasa&#039;s Digital Home &#187; Uncategorized</title>
	<atom:link href="http://coarasa.ddnsfree.com/?cat=1&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://coarasa.ddnsfree.com</link>
	<description>Thinkplify, mentor, enable...</description>
	<lastBuildDate>Thu, 10 Nov 2016 11:30:57 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.1</generator>
	<item>
		<title>Exposing Infiniband (or any PCI device) to the VMs on an OpenStack Cloud</title>
		<link>http://coarasa.ddnsfree.com/?p=210&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=exposing-infiniband-to-the-vms-on-an-openstack-cloud</link>
		<comments>http://coarasa.ddnsfree.com/?p=210#comments</comments>
		<pubDate>Fri, 09 Oct 2015 16:28:36 +0000</pubDate>
		<dc:creator><![CDATA[toni]]></dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://coarasa.ddnsfree.com/?p=210</guid>
		<description><![CDATA[For a recent project we (me and Wuming) had to provide an OpenStack cloud in which the raw infiniband protocol would be available to the VMs running on the cloud. The installation was done on Ubuntu 14.04.3 with vanilla OpenStack. &#8230; <a href="http://coarasa.ddnsfree.com/?p=210">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>For a recent project we (me and Wuming) had to provide an OpenStack cloud in which the raw infiniband protocol would be available to the VMs running on the cloud.</p>
<p>The installation was done on <a title="Ubuntu 14.04.3 release notes" href="https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes" target="_blank">Ubuntu 14.04.3</a> with vanilla <a title="OpenStack Installation Guide for Ubuntu 14.04" href="http://docs.openstack.org/kilo/install-guide/install/apt/content/index.html" target="_blank">OpenStack</a>. Exposing infiniband requires quite a few steps and reading/googling quite a bit so I will document it here in case somebody needs to do the same.</p>
<p>To expose the native hardware interfaces to the VM:</p>
<ul>
<li>The BIOS of the computer has to support it (you may need to activate Intel VT-d (or AMD I/O Virtualization Technology), as with virtualization extensions, it may be off by default). Explore the BIOS of your servers to activate it if necessary;</li>
<li>The Infiniband cards themselves have to support it. Look for SR-IOV in an &#8220;lspci -v&#8221; output as below:</li>
</ul>
<blockquote><p>$ sudo lspci -v |grep -A40 Mellanox<br />
04:00.0 Network controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro]<br />
Subsystem: Hewlett-Packard Company Device 22f5<br />
Flags: bus master, fast devsel, latency 0, IRQ 16<br />
Memory at 96000000 (64-bit, non-prefetchable) [size=1M]<br />
Memory at 94000000 (64-bit, prefetchable) [size=32M]<br />
Capabilities: [40] Power Management version 3<br />
Capabilities: [48] Vital Product Data<br />
Capabilities: [9c] MSI-X: Enable+ Count=128 Masked-<br />
Capabilities: [60] Express Endpoint, MSI 00<br />
Capabilities: [100] Alternative Routing-ID Interpretation (ARI)<br />
Capabilities: [148] Device Serial Number 24-be-05-ff-ff-b6-e3-40<br />
<strong>Capabilities: [108] Single Root I/O Virtualization (SR-IOV)</strong><br />
Capabilities: [154] Advanced Error Reporting<br />
Capabilities: [18c] #19<br />
Kernel driver in use: mlx4_core</p>
<p><span style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"><span style="font-size: 15px;"><i> </i></span></span></p></blockquote>
<ul>
<li>The kernel in linux needs to be configured by passing the option intel_iommu=on. You can do it by editing the file /etc/default/grub so that it contains the option GRUB_CMDLINE_LINUX_DEFAULT=&#8221;intel_iommu=on&#8221; and running update-grub;</li>
<li>The Infiniband cards need to be configured to expose the VFs. Edit the file /etc/modprobe.d/mlx4_core.conf to contain options like: options mlx4_core num_vfs=16 (or as high as your card supports. One VM will take one VF so this could be the limiting factor as of how many VMs can be deployed per compute node). You can find more documentation for the mellanox cards in the Mellanox Linux User Manual <a title="Mellanox_OFED_Linux_User_Manual_v3.10" href="http://www.mellanox.com/related-docs/prod_software/Mellanox_OFED_Linux_User_Manual_v3.10.pdf" target="_blank">Mellanox_OFED_Linux_User_Manual_v3.10</a> or <a title="This post shows how to enable SR-IOV on Mellanox ConnectX-3 adapters." href="https://community.mellanox.com/docs/DOC-1317" target="_blank">here</a> since you may need to enable this option (in our case it was enabled already);</li>
<li>Nova has to be configured to allow pci passthrough. Follow the documentation in <a title="Pci passthrough" href="https://wiki.openstack.org/wiki/Pci_passthrough" target="_blank">here</a> on &#8220;How to prepare the environment&#8221;
<ul>
<li>Configure the nova (find the Virtualized Interfaces vendor_id and product_id for your case by running an lspci -vn)</li>
<li>Create a flavor that automatically adds the interface to the VM</li>
</ul>
</li>
</ul>
<p>And now&#8230; Just launch a VM and log in! You should see the Infiniband card!</p>
]]></content:encoded>
			<wfw:commentRss>http://coarasa.ddnsfree.com/?feed=rss2&#038;p=210</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 TED talks to inspire and get you out searching for more</title>
		<link>http://coarasa.ddnsfree.com/?p=205&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=5-ted-talks-to-inspire-and-get-you-out-searching-more</link>
		<comments>http://coarasa.ddnsfree.com/?p=205#comments</comments>
		<pubDate>Thu, 24 Sep 2015 20:41:11 +0000</pubDate>
		<dc:creator><![CDATA[toni]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://coarasa.ddnsfree.com/?p=205</guid>
		<description><![CDATA[Here you have 5 TED talks that will inspire you and will make you move and search for more! Manu Prakash: A 50-cent microscope that folds like origami http://www.ted.com/talks/manu_prakash_a_50_cent_microscope_that_folds_like_origami Steve Jobs: How to live before you die http://www.ted.com/talks/steve_jobs_how_to_live_before_you_die Elon Musk: The &#8230; <a href="http://coarasa.ddnsfree.com/?p=205">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Here you have 5 <a title="TED" href="http://www.ted.com" target="_blank">TED</a> talks that will inspire you and will make you move and search for more!</p>
<p>Manu Prakash: A 50-cent microscope that folds like origami <a title="Manu Prakash: A 50-cent microscope that folds like origami" href="http://www.ted.com/talks/manu_prakash_a_50_cent_microscope_that_folds_like_origami" target="_blank">http://www.ted.com/talks/manu_prakash_a_50_cent_microscope_that_folds_like_origami</a></p>
<p>Steve Jobs: How to live before you die <a title="Steve Jobs: How to live before you die" href="http://www.ted.com/talks/steve_jobs_how_to_live_before_you_die" target="_blank">http://www.ted.com/talks/steve_jobs_how_to_live_before_you_die</a></p>
<p>Elon Musk: The mind behind Tesla, SpaceX, SolarCity &#8230; <a title="Elon Musk: The mind behind Tesla, SpaceX, SolarCity ..." href="http://www.ted.com/talks/elon_musk_the_mind_behind_tesla_spacex_solarcity" target="_blank">http://www.ted.com/talks/elon_musk_the_mind_behind_tesla_spacex_solarcity</a></p>
<p>Simon Sinek: How great leaders inspire action <a title="Simon Sinek: How great leaders inspire action" href="http://www.ted.com/talks/simon_sinek_how_great_leaders_inspire_action" target="_blank">http://www.ted.com/talks/simon_sinek_how_great_leaders_inspire_action</a></p>
<p>Jack Andraka: A promising test for pancreatic cancer &#8230; from a teenager <a title="Jack Andraka: A promising test for pancreatic cancer ... from a teenager " href="http://www.ted.com/talks/jack_andraka_a_promising_test_for_pancreatic_cancer_from_a_teenager" target="_blank">http://www.ted.com/talks/jack_andraka_a_promising_test_for_pancreatic_cancer_from_a_teenager</a></p>
]]></content:encoded>
			<wfw:commentRss>http://coarasa.ddnsfree.com/?feed=rss2&#038;p=205</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix an installation issue with the Openstack command line tools in OS X 10.9.5 and 10.9.4</title>
		<link>http://coarasa.ddnsfree.com/?p=183&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-fix-an-installation-issue-with-the-openstack-command-line-tools-in-os-x-10-9-5-and-10-9-4</link>
		<comments>http://coarasa.ddnsfree.com/?p=183#comments</comments>
		<pubDate>Fri, 10 Oct 2014 10:41:35 +0000</pubDate>
		<dc:creator><![CDATA[toni]]></dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://coarasa.ddnsfree.com/?p=183</guid>
		<description><![CDATA[If you follow the Openstack  command line client tools installation guide you will have an issue. For example to install the keystone tools (Mind root access, add sudo when needed): #easy_install pip #pip install python-keystoneclient This will result in the error &#8230; <a href="http://coarasa.ddnsfree.com/?p=183">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you follow the Openstack  <a title="Install the OpenStack command-line clients" href="http://docs.openstack.org/user-guide/content/install_clients.html" target="_blank">command line client tools installation guide</a> you will have an issue. For example to install the keystone tools (Mind root access, add sudo when needed):</p>
<blockquote><p>#easy_install pip</p>
<p>#pip install python-keystoneclient</p></blockquote>
<p>This will result in the error when trying to execute the tools (with nova you would get the same error!):</p>
<blockquote><p>$ keystone &#8211;list</p>
<p>Traceback (most recent call last):</p>
<p>File &#8220;/usr/local/bin/keystone&#8221;, line 7, in &lt;module&gt;</p>
<p>from keystoneclient.shell import main</p>
<p>File &#8220;/Library/Python/2.7/site-packages/keystoneclient/__init__.py&#8221;, line 37, in &lt;module&gt;</p>
<p>__version__ = pbr.version.VersionInfo(&#8216;python-keystoneclient&#8217;).version_string()</p>
<p>File &#8220;/Library/Python/2.7/site-packages/pbr/version.py&#8221;, line 78, in version_string</p>
<p>for part in self.release_string().split(&#8216;.&#8217;):</p>
<p>File &#8220;/Library/Python/2.7/site-packages/pbr/version.py&#8221;, line 70, in release_string</p>
<p>self.release = self._get_version_from_pkg_resources()</p>
<p>File &#8220;/Library/Python/2.7/site-packages/pbr/version.py&#8221;, line 62, in _get_version_from_pkg_resources</p>
<p>return packaging.get_version(self.package)</p>
<p>File &#8220;/Library/Python/2.7/site-packages/pbr/packaging.py&#8221;, line 870, in get_version</p>
<p>raise Exception(&#8220;Versioning for this project requires either an sdist&#8221;</p>
<p>Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?</p></blockquote>
<p>The solution: install also the distribute package:</p>
<blockquote><p> pip install &#8211;upgrade distribute</p></blockquote>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://coarasa.ddnsfree.com/?feed=rss2&#038;p=183</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The 7th Swiss OpenStack User Group Meetup</title>
		<link>http://coarasa.ddnsfree.com/?p=174&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=174</link>
		<comments>http://coarasa.ddnsfree.com/?p=174#comments</comments>
		<pubDate>Thu, 10 Apr 2014 20:14:57 +0000</pubDate>
		<dc:creator><![CDATA[toni]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://coarasa.ddnsfree.com/?p=174</guid>
		<description><![CDATA[The 7th Swiss OpenStack User Group Meetup had a couple of interesting presentations. It looks like OpenStack is clearly rooting on different industries and enabling people to install their own clouds. The marriage of ZeroVM and swift (Zwift) may also bring &#8230; <a href="http://coarasa.ddnsfree.com/?p=174">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The <a title="7th Swiss OpenStack User Group Meetup" href="http://www.meetup.com/openstack-ch/events/168377942/" target="_blank">7th Swiss OpenStack User Group Meetup</a> had a couple of interesting presentations. It looks like OpenStack is clearly rooting on different industries and enabling people to install their own clouds.</p>
<p>The marriage of ZeroVM and swift (Zwift) may also bring a lighter form of hadoop in the future&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://coarasa.ddnsfree.com/?feed=rss2&#038;p=174</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://coarasa.ddnsfree.com/?p=1&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hello-world</link>
		<comments>http://coarasa.ddnsfree.com/?p=1#comments</comments>
		<pubDate>Mon, 25 Feb 2013 10:27:04 +0000</pubDate>
		<dc:creator><![CDATA[toni]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://localhost/coarasa_wordpress/?p=1</guid>
		<description><![CDATA[Hi all! This is my first post! Expect more in the future!]]></description>
				<content:encoded><![CDATA[<p>Hi all! This is my first post! Expect more in the future!</p>
]]></content:encoded>
			<wfw:commentRss>http://coarasa.ddnsfree.com/?feed=rss2&#038;p=1</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
