<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Have a cigar you&#039;re gonna go far &#187; openstack</title>
	<atom:link href="http://sdake.wordpress.com/tag/openstack/feed/" rel="self" type="application/rss+xml" />
	<link>http://sdake.wordpress.com</link>
	<description></description>
	<lastBuildDate>Tue, 18 Jun 2013 06:59:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sdake.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Have a cigar you&#039;re gonna go far &#187; openstack</title>
		<link>http://sdake.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sdake.wordpress.com/osd.xml" title="Have a cigar you&#039;re gonna go far" />
	<atom:link rel='hub' href='http://sdake.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Turbocharge DevStack with Raid 0 SSDs</title>
		<link>http://sdake.wordpress.com/2013/06/17/turbocharge-devstack-with-raid-0-ssds/</link>
		<comments>http://sdake.wordpress.com/2013/06/17/turbocharge-devstack-with-raid-0-ssds/#comments</comments>
		<pubDate>Tue, 18 Jun 2013 03:51:47 +0000</pubDate>
		<dc:creator>sdake</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[openstack]]></category>

		<guid isPermaLink="false">http://sdake.wordpress.com/?p=86</guid>
		<description><![CDATA[Turbocharging DevStack I wanted to turbocharge my development cycle of OpenStack running on Fedora 18 so I could be waiting on my brain rather then waiting on my workstation.  I decided to purchase two modern solid state drives (SSD) and run them in RAID 0.  I chose two Intel S3500 160 GB Enterprise grade SSDs to [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sdake.wordpress.com&#038;blog=29681491&#038;post=86&#038;subd=sdake&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<h1>Turbocharging DevStack</h1>
<p>I wanted to turbocharge my development cycle of OpenStack running on Fedora 18 so I could be waiting on my brain rather then waiting on my workstation.  I decided to purchase two modern solid state drives (SSD) and run them in RAID 0.  I chose two <a href="http://www.amazon.com/gp/product/B00CT98D9U/ref=oh_details_o04_s00_i00?ie=UTF8&amp;psc=1">Intel S3500 160 GB</a> Enterprise grade SSDs to run in RAID 0.  My second choice was the Samsung 840 Pro which may have been a bit faster, but perhaps not as reliable.</p>
<p>Since OpenStack and DevStack mostly use /var and /opt for their work, I decided to replace only /var and /opt.  If a SSD fails, I am less likely to lose my home directory which may contain some work in progress because of the lower availability of RAID 0.</p>
<h1>The Baseline HP Z820</h1>
<p>For a baseline my system is a Hewlett Packard Z820 workstation (model #<a href="http://www8.hp.com/us/en/products/workstations/product-detail.html?oid=5257309">B2C08UT#ABA</a>) that I purchased from Provantage in January 2013.  Most of the computer is a beast sporting an 8 core Intel Xeon 35-2670 @ 2.60GHZ running with Hyperthreading for 16 total cpus, Intel C602 chipset,  and 16 GB Quad Channel DDR3 ECC Unbuffered RAM.</p>
<p>The memory is fast as shown with <a href="http://alasir.com/software/ramspeed/">ramspeed</a>:</p>
<pre>[sdake@bigiron ramspeed-2.6.0]$ ./ramspeed -b 3 -m 4096
RAMspeed (Linux) v2.6.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09

8Gb per pass mode

INTEGER   Copy:      11549.61 MB/s
INTEGER   Scale:     11550.59 MB/s
INTEGER   Add:       11885.79 MB/s
INTEGER   Triad:     11834.27 MB/s
---
INTEGER   AVERAGE:   11705.06 MB/s</pre>
<p>Unfortunately the disk is a pokey 1TB 7200 RPM model.  The hdparm tool shows a pokey 118MB/sec.</p>
<pre>[sdake@bigiron ~]$ sudo hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 20590 MB in 2.00 seconds = 10308.76 MB/sec
Timing buffered disk reads: 358 MB in 3.02 seconds = 118.69 MB/sec</pre>
<p>Using the Gnome 3 Disk Image Benchmarking tool show a lower average of 82MB per second, although this is also passing through the LVM driver:</p>
<p><a href="http://sdake.files.wordpress.com/2013/06/bench-disk.png"><img class="alignnone size-medium wp-image-112" alt="bench-disk" src="http://sdake.files.wordpress.com/2013/06/bench-disk.png?w=300&#038;h=284" width="300" height="284" /></a></p>
<p><em><strong>Warning</strong></em>: I didn&#8217;t run this benchmark with write enabled, as it would have <strong>destroyed</strong> the data on my disk.</p>
<p>Running stack.sh takes 6 minutes:</p>
<pre>[sdake@bigiron devstack]$ ./stack.sh
Using mysql database backend
Installing package prerequisites...[|[/]^C[sdake@bigiron devstack]$ 
[sdake@bigiron devstack]$ ./stack.sh
Using mysql database backend
Installing package prerequisites...done
Installing OpenStack project source...done
Starting qpid...done
Configuring and starting MySQL...done
Starting Keystone...done
Configuring Glance...done
Configuring Nova...done
Configuring Cinder...done
Configuring Nova...done
Using libvirt virtualization driver...done
Starting Glance...done
Starting Nova API...done
Starting Nova...done
Starting Cinder...done
Configuring Heat...done
Starting Heat...done
Uploading images...done
Configuring Tempest...[/]
Heat has replaced the default flavors. View by running: nova flavor-list
Keystone is serving at http://192.168.1.20:5000/v2.0/
Examples on using novaclient command line is in exercise.sh
The default users are: admin and demo
The password: 123456
This is your host ip: 192.168.1.20
done
stack.sh completed in 368 seconds</pre>
<p>I timed a heat stack-create operation at about 34 seconds.  In a typical day I may create 50 or more stacks, so the time really adds up.</p>
<h1>Turbo-charged DevStack</h1>
<p>After installing two SSD devices, I decided to use <a href="http://www.linux-mag.com/id/7582/2/">LVM raid 0 striping</a>.  Linux Magazine indicates mdadm is faster, but I prefer a single management solution for my disks.</p>
<p>The hdparm tool shows some a beast 1GB/sec throughput on reads:</p>
<pre>[sdake@bigiron ~]$ sudo hdparm -tT /dev/raid0_vg/ssd_opt

/dev/raid0_vg/ssd_opt:
Timing cached reads: 21512 MB in 2.00 seconds = 10771.51 MB/sec
Timing buffered disk reads: 3050 MB in 3.00 seconds = 1016.47 MB/sec</pre>
<p>I also ran the Gnome 3 disk benchmarking tool, this time in write mode.  It showed an average 930MB/sec read and 370MB/sec write throughput:</p>
<p><a href="http://sdake.files.wordpress.com/2013/06/pic2.png"><img class="alignnone size-medium wp-image-115" alt="pic2" src="http://sdake.files.wordpress.com/2013/06/pic2.png?w=300&#038;h=284" width="300" height="284" /></a></p>
<p>I ran stack.sh in a little under 3 minutes:</p>
<pre>[sdake@bigiron devstack]$ ./stack.sh
Using mysql database backend
Installing package prerequisites...done
Installing OpenStack project source...done
Starting qpid...done
Configuring and starting MySQL...done
Starting Keystone...done
Configuring Glance...done
Configuring Nova...done
Configuring Cinder...done
Configuring Nova...done
Using libvirt virtualization driver...done
Starting Glance...done
Starting Nova API...done
Starting Nova...done
Starting Cinder...done
Configuring Heat...done
Starting Heat...done
Uploading images...done
Configuring Tempest...[|]
Heat has replaced the default flavors. View by running: nova flavor-list
Keystone is serving at http://192.168.1.20:5000/v2.0/
Examples on using novaclient command line is in exercise.sh
The default users are: admin and demo
The password: 123456
This is your host ip: 192.168.1.20
done
stack.sh completed in 166 seconds</pre>
<p>I timed a heat stack create at 6 seconds.  Comapred to the non-ssd 34 seconds, RAID 0 SSDs rock!  Overall system seems much faster and benchmarking shows it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sdake.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sdake.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sdake.wordpress.com&#038;blog=29681491&#038;post=86&#038;subd=sdake&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sdake.wordpress.com/2013/06/17/turbocharge-devstack-with-raid-0-ssds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/616b869803d064bf9927ba7b665987d1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sdake</media:title>
		</media:content>

		<media:content url="http://sdake.files.wordpress.com/2013/06/bench-disk.png?w=300" medium="image">
			<media:title type="html">bench-disk</media:title>
		</media:content>

		<media:content url="http://sdake.files.wordpress.com/2013/06/pic2.png?w=300" medium="image">
			<media:title type="html">pic2</media:title>
		</media:content>
	</item>
		<item>
		<title>The Heat API &#8211; A template based orchestration framework</title>
		<link>http://sdake.wordpress.com/2012/04/24/the-heat-api-a-template-based-orchestration-framework/</link>
		<comments>http://sdake.wordpress.com/2012/04/24/the-heat-api-a-template-based-orchestration-framework/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 01:51:59 +0000</pubDate>
		<dc:creator>sdake</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[heat]]></category>
		<category><![CDATA[openstack]]></category>
		<category><![CDATA[pacemaker cloud]]></category>

		<guid isPermaLink="false">http://sdake.wordpress.com/?p=63</guid>
		<description><![CDATA[Over the last year, Angus Salkeld and I have been developing a IAAS high availability service called Pacemaker Cloud.  We learned that the problem we were really solving was orchestration.  Another dev group was also looking at this problem inside Red Hat from the launching side.  We decided to take two weeks off from our existing work and [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sdake.wordpress.com&#038;blog=29681491&#038;post=63&#038;subd=sdake&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Over the last year, Angus Salkeld and I have been developing a IAAS high availability service called <a href="http://www.pacemaker-cloud.org">Pacemaker Cloud</a>.  We learned that the problem we were really solving was orchestration.  Another dev group was also looking at this problem inside Red Hat from the launching side.  We decided to take two weeks off from our existing work and see if we could join together to create a proof of concept implementation from scratch of AWS CloudFormation for <a href="http://wiki.openstack.org/Heat">OpenStack</a>.  The result of that work was a <a href="https://github.com/heat-api/heat/zipball/v1-POC.release">proof of concept</a> project which provided launching of a WordPress template, as had been done in our previous project.</p>
<p>The developers decided to take another couple weeks to determine if we could get a more functional system that would handle composite virtual machines.  Today, we released that version, our <a href="https://github.com/heat-api/heat/tarball/v2-M1.release">second iteration</a> of  the <a href="http://www.heat-api.org">Heat API</a>.  Since we have many more developers, and a project that exceeded our previous functionality of Pacemaker Cloud, the Heat Development Community has decided to cease work on our previous orchestration projects and focus our efforts on <a href="http://www.heat-api.org">Heat</a>.</p>
<p>A bit about Heat:  The <a href="http://heat-api.org">Heat API</a> implements the <a href="//aws.amazon.com/cloudformation/">AWS Cloud Formations</a> API.  This API provides a rest interface for creating composite VMs called Stacks from template files.  The goal of the software is to be able to accurately launch AWS CloudFormation Stacks on <a href="http://www.openstack.org">OpenStack</a>.  We will also enable good quality high availability based upon the technologies we created in Pacemaker Cloud including escalation.</p>
<p>Given that C was a poor choice of implementation language for making REST based cloud services, Heat is implemented in Python which is fantastic for REST services.  The Heat API also follows OpenStack design principles.  Our<a href="https://github.com/sdake/diagrams/tree/master/PNG"> initial design</a> after our POC shows the basics of our architecture and our <a href="https://github.com/heat-api/heat/wiki/Getting-Started-with-Heat-v2-M1">quickstart guide</a> can be used with our <a href="https://github.com/heat-api/heat/tarball/v2-M1.release">second iteration release</a>.</p>
<p>A <a href="http://lists.heat-api.org/mailman/listinfo">mailing list</a> is available for developer and user discussion.  We track <a href="https://github.com/heat-api/heat/issues/milestones">milestones</a> and <a href="https://github.com/heat-api/heat/issues?direction=desc&amp;state=open&amp;sort=created">issues</a> using github&#8217;s issue tracker.  Things are moving fast &#8211; come join our project on <a href="https://github.com/heat-api">github</a> or chat with the devs on #heat on freenode!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sdake.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sdake.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sdake.wordpress.com&#038;blog=29681491&#038;post=63&#038;subd=sdake&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sdake.wordpress.com/2012/04/24/the-heat-api-a-template-based-orchestration-framework/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/616b869803d064bf9927ba7b665987d1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sdake</media:title>
		</media:content>
	</item>
	</channel>
</rss>