<?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>jpabloae.blog</title>
	<atom:link href="http://jpabloae.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jpabloae.wordpress.com</link>
	<description>Release Engineering at Openbravo</description>
	<lastBuildDate>Mon, 09 Jan 2012 14:23:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jpabloae.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/6415941755d0c2772d00035f4daae21f?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>jpabloae.blog</title>
		<link>http://jpabloae.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jpabloae.wordpress.com/osd.xml" title="jpabloae.blog" />
	<atom:link rel='hub' href='http://jpabloae.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Openbravo releases: life cycle and support plan</title>
		<link>http://jpabloae.wordpress.com/2010/11/29/openbravo-releases-life-cycle-and-support-plan/</link>
		<comments>http://jpabloae.wordpress.com/2010/11/29/openbravo-releases-life-cycle-and-support-plan/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 15:01:44 +0000</pubDate>
		<dc:creator>jpabloae</dc:creator>
				<category><![CDATA[openbravo]]></category>
		<category><![CDATA[Release process]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://jpabloae.wordpress.com/?p=747</guid>
		<description><![CDATA[Let&#8217;s play a game: find a word that describes in the best possible manner how your ideal ERP should be. Think about it for a minute. Many of you have probably answered Stable. I mean, once you implement it in a customer you want it to behave as you designed it to be. No more, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=747&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s play a game: find a word that describes in the best possible manner how your ideal ERP should be. Think about it for a minute. Many of you have probably answered <em>Stable</em>. I mean, once you implement it in a customer you want it to behave as you designed it to be. No more, no less. No inconveniences, no surprises.  That&#8217;s stability, right? Admittedly this sounds pretty good.</p>
<p>Some of you, on the other hand, might have answered <em>Featureful</em>, <em>Useful</em>, <em>Pleasant</em> or even <em>Gorgeous</em>. But hey, hold on a minute&#8230; if you want something to be <em>Stable</em> it can&#8217;t possibly be <em>Beautiful</em>, <em>Pleasant</em> and <em>Featureful</em> at the same  time. You know, <a title="Business software is boring" href="http://openbravouxlab.blogspot.com/2010/10/business-software-is-boring.html" target="_blank">business software is boring</a> by design. That&#8217;s how it&#8217;s been up to now and don&#8217;t expect it to change in the future. Learn to live with that.</p>
<p>Really? Is this true? How can we find a balance between offering a user a stable but featureful, pleasant and beautiful product? Imagine an ERP that you enjoy using. Is that even possible? We believe it is, and this is why we have redesigned our releases life cycle and support plan. We started applying it in June 2010, now let me explain you how it works.</p>
<p>Principles:</p>
<ul>
<li>We care about the ERP&#8217;s stability: a major release should be there for a long time.</li>
<li>We care about eliminating headaches to the system integrator: upgrades should be easy. And don&#8217;t force me to upgrade to the next major version, let me skip one if I want to.</li>
<li>I want a featureful ERP: one that helps me get the job done in a <strong>pleasant</strong> manner. Allow me to get the latest features in an easy manner.</li>
</ul>
<p>Based on these principles, we have defined three phases for every major release:</p>
<ol>
<li><strong>Preventive Support: </strong>
<ul>
<li>Customers receive support according to SLA.</li>
<li>Customers are entitled to report defects and expect resolution.</li>
<li>Openbravo ships regular maintenance packs.</li>
</ul>
<p>This phase starts on the release day and ends 6 months after the second to next release, with a minimum duration of 2.5 years.</p>
<p><em>Example:</em> 2.40 was released on November 2008. And 3.0 will be released on March 2011. Therefore the <em>Preventive Support</em> phase for 2.40 lasts till September 2011 (March 2010 + 6 months).</li>
<li><strong> Reactive Support &#8211; phase 1: </strong>
<ul>
<li>Customers receive support according to SLA.</li>
<li>Customers are entitled to report defects and expect resolution (major severity only).</li>
</ul>
<p>This phase lasts for 1 year.</p>
<p><em>Example:</em> 2.40 finishes the <em>Preventive Support</em> phase in September 2011. And the <em>Reactive support &#8211; phase 1</em> lasts till October 2012.</li>
<li><strong>Reactive Support &#8211; phase 2: </strong>
<ul>
<li>Customers receive support according to reduced SLA (no critical tickets accepted).</li>
</ul>
<p>This phase lasts for 2 years.</p>
<p><em>Example:</em> 2.40 finishes the <em>Reactive Support &#8211; phase 1</em> in September 2012. And the <em>Reactive support &#8211; phase 2</em> lasts till September 2014.</li>
</ol>
<p>Let&#8217;s illustrate this so that we can get the idea visually:</p>
<p style="text-align:center;"><a href="http://jpabloae.files.wordpress.com/2010/11/releasestimeline.png"><img class="aligncenter size-full wp-image-756" style="border:0 none;" title="Openbravo Releases Timeline" src="http://jpabloae.files.wordpress.com/2010/11/releasestimeline.png?w=700&#038;h=383" alt="" width="700" height="383" /></a></p>
<p>Note that Openbravo 3.1 and 3.2 are fictional releases, they are not planned nor developed yet. They are listed here to illustrate the support plans for 2.50 and 3.0 if the future 3.1 and 3.2 were to be released in 03/2012 and 03/2013 respectively.</p>
<p>As you can see in the graph the minimum support length of a release is of <strong>5.5 years</strong>. Feel free to check the <a title="Openbravo release life cycle" href="http://wiki.openbravo.com/wiki/ERP/Release_Life_Cycle" target="_blank">complete document</a> in our wiki for more details.</p>
<p>We&#8217;ve seen there are different user profiles: those more conservative who look for a &#8220;Stable&#8221; product above all. And those somewhat more aggressive who look for new features and additional stimulus. Which profile fits better to you? The good news is we have a plan for both.</p>
<br /> Tagged: <a href='http://jpabloae.wordpress.com/tag/release-process/'>Release process</a>, <a href='http://jpabloae.wordpress.com/tag/releases/'>Releases</a>, <a href='http://jpabloae.wordpress.com/tag/support/'>Support</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpabloae.wordpress.com/747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpabloae.wordpress.com/747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpabloae.wordpress.com/747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpabloae.wordpress.com/747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpabloae.wordpress.com/747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpabloae.wordpress.com/747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpabloae.wordpress.com/747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpabloae.wordpress.com/747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpabloae.wordpress.com/747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpabloae.wordpress.com/747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpabloae.wordpress.com/747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpabloae.wordpress.com/747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpabloae.wordpress.com/747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpabloae.wordpress.com/747/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=747&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpabloae.wordpress.com/2010/11/29/openbravo-releases-life-cycle-and-support-plan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jpabloae</media:title>
		</media:content>

		<media:content url="http://jpabloae.files.wordpress.com/2010/11/releasestimeline.png" medium="image">
			<media:title type="html">Openbravo Releases Timeline</media:title>
		</media:content>
	</item>
		<item>
		<title>We&#8217;re branching the Openbravo 3.0 code line</title>
		<link>http://jpabloae.wordpress.com/2010/10/18/were-branching-the-openbravo-3-0-code-line/</link>
		<comments>http://jpabloae.wordpress.com/2010/10/18/were-branching-the-openbravo-3-0-code-line/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 15:33:51 +0000</pubDate>
		<dc:creator>jpabloae</dc:creator>
				<category><![CDATA[openbravo]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Mercurial]]></category>
		<category><![CDATA[Release process]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[SCM]]></category>

		<guid isPermaLink="false">http://jpabloae.wordpress.com/?p=740</guid>
		<description><![CDATA[Up to now the 2.50 and 3.0 versions of Openbravo have shared the same Core. &#8220;Core&#8221; is what we call the most essential module of Openbravo, the one that includes standard functionality like Financial or Sales Management. If 2.50 and 3.0 have shared the same Core, what&#8217;s the difference between them? While a default 2.50 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=740&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Up to now the 2.50 and 3.0 versions of Openbravo have shared the same <em>Core</em>. &#8220;Core&#8221; is what we call the most essential module of Openbravo, the one that includes standard functionality like Financial or Sales Management.</p>
<p>If 2.50 and 3.0 have shared the same <em>Core</em>, what&#8217;s the difference between them? While a default 2.50 installation includes just <em>Core</em>, the 3.0 version includes <a href="http://paolojuvara.blogspot.com/2010/06/packaging-openbravo-30-as-distribution.html">a distribution of several modules</a>: right now &#8220;Core&#8221; plus 16 more.</p>
<p>In terms of source code management we decided to keep <a href="https://code.openbravo.com/erp/devel/main">one code line</a> as much time as possible, simply because it reduces our developer&#8217;s backporting work. Backporting basically means that a bug fixed in 3.0 should also be fixed in 2.50 (if it affects 2.50, of course).</p>
<p>The news is that we have now reached the point where the 2.50 and 3.0 <em>Core</em> cannot share the same code any more. So we are planning to branch the 2.50 and 3.0 code-lines around the 15th of November.</p>
<p>And that&#8217;s not all about it. According to <a href="http://wiki.openbravo.com/wiki/ERP/Roadmap#Deliverables">our plans</a> we&#8217;ll be releasing version 3.0RC3 precisely the 15th of November. The extra news is that we&#8217;ll be having two 2.50 MPs on November, 2.50MP24 and 2.50MP25. Why? Simple, as the &#8220;Core&#8221; is still shared between 2.50 and 3.0, version 3.0RC3 will be needing some code not ready yet in 2.50MP23. And this is why we need 2.50MP24.</p>
<p>In terms of timing, we&#8217;ll freeze 2.50MP24 the 1st of November and release it the 15th of that month. So are we releasing both 2.50MP24 and 3.0RC3 the 15th of November? That&#8217;s right, and starting from that point the 2.50 and 3.0 <em>Core</em> code-lines will follow their own paths.</p>
<p>Lastly a couple of notes about how this affects to the 2.50 to 3.0 upgrade process:</p>
<ol>
<li>While we are introducing a separate branch to simplify our code management, 3.0 is just another version of core and updating from 2.50 MPx to 3.0 is not any different than updating from 2.50 MPx to 2.50 MPy. In both cases, it is a full code replacement of core and, as long as the system has been configured using the principles of modularity and does not contain any core customization, system configurations and extensions are going to be preserved during the upgrade.</li>
<li>We will be cleaning the 3.0 core more aggressively than we are doing with the 2.50 core. Because of that, we can expect a higher volume of API changes in the 3.0 code line for the next few months and up to general availability date. However, we will continue to be conservative in 3.0 as well and accept only low risk API changes in an effort to minimize the chances to break module dependencies.  3.0 API changes will be listed in the Release Notes and users intending to upgrade from 2.50 are encouraged to monitor those notifications.</li>
</ol>
<br /> Tagged: <a href='http://jpabloae.wordpress.com/tag/api/'>API</a>, <a href='http://jpabloae.wordpress.com/tag/mercurial/'>Mercurial</a>, <a href='http://jpabloae.wordpress.com/tag/release-process/'>Release process</a>, <a href='http://jpabloae.wordpress.com/tag/releases/'>Releases</a>, <a href='http://jpabloae.wordpress.com/tag/scm/'>SCM</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpabloae.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpabloae.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpabloae.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpabloae.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpabloae.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpabloae.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpabloae.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpabloae.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpabloae.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpabloae.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpabloae.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpabloae.wordpress.com/740/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpabloae.wordpress.com/740/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpabloae.wordpress.com/740/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=740&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpabloae.wordpress.com/2010/10/18/were-branching-the-openbravo-3-0-code-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jpabloae</media:title>
		</media:content>
	</item>
		<item>
		<title>Sizing Openbravo: the art of choosing the right hardware</title>
		<link>http://jpabloae.wordpress.com/2010/10/05/sizing-openbravo-the-art-of-choosing-the-right-hardware/</link>
		<comments>http://jpabloae.wordpress.com/2010/10/05/sizing-openbravo-the-art-of-choosing-the-right-hardware/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 17:15:21 +0000</pubDate>
		<dc:creator>jpabloae</dc:creator>
				<category><![CDATA[openbravo]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Sizing]]></category>

		<guid isPermaLink="false">http://jpabloae.wordpress.com/?p=698</guid>
		<description><![CDATA[Let&#8217;s say you&#8217;ve been working hard customizing Openbravo for a customer. And now you&#8217;d like to deploy it, so that the customer can start using it immediately. Next step? You go ahead and start installing the ERP on a server&#8230; wait! Not yet! You first need to think about the hardware, don&#8217;t you? Not so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=698&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://jpabloae.files.wordpress.com/2010/10/sizing-tool.jpg"><img class="alignright size-full wp-image-716" style="border:0 none;" title="Sizing Tool" src="http://jpabloae.files.wordpress.com/2010/10/sizing-tool.jpg?w=700" alt=""   /></a> Let&#8217;s say you&#8217;ve been working hard customizing Openbravo for a customer. And now you&#8217;d like to deploy it, so that the customer can start using it immediately. Next step? You go ahead and start installing the ERP on a server&#8230; wait! Not yet! You first need to think about the hardware, don&#8217;t you? Not so relevant nowadays? A commodity? Try to answer these questions and you&#8217;ll see why it matters:</p>
<ul>
<li>How many employees does the company have?</li>
<li> From these employees, how many of them will use the ERP?</li>
<li> From these users, could you classify them depending on the amount of time and <em>intensity</em> they&#8217;ll devote to the ERP?</li>
<li> How do the most typical user flows look like? Standard ERP flows? Customized ones? Heavy report generation or long processes?</li>
</ul>
<p>As you can imagine the hardware requirements differ quite significantly depending if you need to support 5, 20 or 100 concurrent users.</p>
<p>And let me ask you two additional questions:</p>
<ul>
<li> Do you care about saving costs?</li>
<li> Do you like the feelings (aka headaches) arisen when you notice that your server just cannot cope with all the requests in the ERP? Imagine you&#8217;ve just bought some new hardware and it&#8217;s not enough. Even worse, the customer can no longer work under those conditions, they&#8217;re unhappy because of having to buy new hardware again and they do not trust your abilities to choose the right hardware this time.</li>
</ul>
<blockquote><p><em>&#8220;Well, of course I care about costs, my time and the service level I provide to my customers! Are you kidding?&#8221;</em></p></blockquote>
<p>OK, I might have dramatized it a bit. Have I? If you&#8217;ve ever participated in an ERP implementation process, you&#8217;ll know that these things happen. Obviously no one chooses to consciously increase the project&#8217;s costs, look for headaches and decrease the overall customer satisfaction. But these might be some of the consequences of incorrectly sizing your Openbravo installation.</p>
<p>Sizing? <em>Sizing</em>, you say? A sizing is an approximation of the hardware resources required to support a specific software implementation, in this case Openbravo. And I have good news for you, for all these inconveniences can be avoided by using the Sizing Tool we&#8217;ve just developed for you!</p>
<p>In a nutshell, you simply tell the tool how many concurrent users you want to support and it tells you what hardware you can use. And in case you want to calculate it using your own flows, it&#8217;s enabled to allow that as well.</p>
<p>To give some of the <em>behind the scenes</em> details, we have written test cases for the most common Openbravo flows using a performance benchmarking tool called <a href="http://jakarta.apache.org/jmeter/">JMeter</a>. This, summed to our experience with real customers has outcome in the Sizing Tool and Guidelines.</p>
<p style="text-align:center;"><a href="http://jpabloae.files.wordpress.com/2010/10/jmeter.png"><img class="size-full wp-image-723 aligncenter" style="border:0 none;" title="Apache JMeter with Openbravo flows" src="http://jpabloae.files.wordpress.com/2010/10/jmeter.png?w=700&#038;h=448" alt="" width="700" height="448" /></a></p>
<p>Additionally there&#8217;s some interesting data we have proved with this tool. For instance we&#8217;ve been specially pleased to see that Openbravo supports 100-250 concurrent users without a hitch (given the proper hardware, of course).</p>
<p>This tool is available for the <a href="http://www.openbravo.com/partners">Openbravo partners</a>. What are you waiting for? Don&#8217;t miss it, check it out, it&#8217;s in the <a href="http://www.openbravo.com/partners/restricted-area/">Partner Portal</a>, under the<em> Resources &amp; Assets</em> -&gt; <em>Delivery Materials</em> sections.</p>
<br /> Tagged: <a href='http://jpabloae.wordpress.com/tag/performance/'>Performance</a>, <a href='http://jpabloae.wordpress.com/tag/sizing/'>Sizing</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpabloae.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpabloae.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpabloae.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpabloae.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpabloae.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpabloae.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpabloae.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpabloae.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpabloae.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpabloae.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpabloae.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpabloae.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpabloae.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpabloae.wordpress.com/698/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=698&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpabloae.wordpress.com/2010/10/05/sizing-openbravo-the-art-of-choosing-the-right-hardware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jpabloae</media:title>
		</media:content>

		<media:content url="http://jpabloae.files.wordpress.com/2010/10/sizing-tool.jpg" medium="image">
			<media:title type="html">Sizing Tool</media:title>
		</media:content>

		<media:content url="http://jpabloae.files.wordpress.com/2010/10/jmeter.png" medium="image">
			<media:title type="html">Apache JMeter with Openbravo flows</media:title>
		</media:content>
	</item>
		<item>
		<title>Introducing maturity levels to Openbravo ERP</title>
		<link>http://jpabloae.wordpress.com/2010/09/29/introducing-maturity-levels-to-openbravo-erp/</link>
		<comments>http://jpabloae.wordpress.com/2010/09/29/introducing-maturity-levels-to-openbravo-erp/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 17:03:36 +0000</pubDate>
		<dc:creator>jpabloae</dc:creator>
				<category><![CDATA[openbravo]]></category>
		<category><![CDATA[QA]]></category>
		<category><![CDATA[Release process]]></category>
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://jpabloae.wordpress.com/?p=685</guid>
		<description><![CDATA[Stability is a keyword inherently attached to ERP systems. System integrators and end users want a system that simply offers them the capabilities they need in a pleasant manner and at any moment. In this case stability means that it always works in the way they expect it to work. Openbravo takes this challenge very [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=685&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Stability</em> is a keyword inherently attached to ERP systems. System integrators and end users want a system that simply offers them the capabilities they need in a pleasant manner and at any moment. In this case <em>stability</em> means that it <strong>always</strong> works in the way they expect it to work. Openbravo takes this challenge very seriously, as you can see in our current 2.50 MPs (Maintenance Packs) release process:</p>
<ul>
<li>We run a set of <a href="http://builds.openbravo.com/view/int/">automated tests</a> on every commit, which in practice means a 24/7 job: build tests, sanity tests, upgrade tests, functional tests, etc.</li>
<li>As a general rule every commit is related to a resolved issue. The QA team, together with the development team, leads the effort of individually verifying the correct resolution of these issues.</li>
<li>The QA team performs complete set of manual tests before releasing a maintenance pack to guarantee the quality of the release.</li>
</ul>
<p>This is the global picture of our current 2.50 MP release process, delivered at the beginning of every month. Now we would like to go beyond this by offering an additional service level in our MPs. And precisely the <a href="http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Concepts/Publishing_Modules#Version_Life_Cycle_2">Life Cycle Management</a> feature introduced in version 2.50MP20 makes this possible: whenever a released MP stays live without known issues for 40 days we&#8217;ll tag that release in a special manner. So that system integrators can choose to either use the current stable versions or the ones that have matured for 40 days.</p>
<p>This <em>Life Cycle Management</em> feature introduces the concept of <em>Maturity level</em> for modules, which allows Openbravo to make use of its statuses as follows:</p>
<ul>
<li><strong>Test:</strong> primarily used by the Openbravo QA team. This is the pre-release status.</li>
<li><strong>QA Approved (</strong>old name: <del>Controlled release</del><strong>):</strong> this is the current maturity level of the MPs once they are released. It means they have passed the automated tests, the issues have been individually verified and the QA team has run a comprehensive set of manual tests.</li>
<li><strong>Confirmed Stable (</strong>old name: <del>General availability</del><strong>):</strong> the module has passed 40 days in the <em>QA Approved </em>maturity level without any known issues.</li>
</ul>
<p>So in practice, what does this mean for a system integrator? Simple: those looking for exactly the same maturity level of the current MPs should use the <em>QA Approved</em> status. And those who would like to go beyond this level should consider using the <em>Confirmed Stable</em> status.</p>
<p><a href="http://wiki.openbravo.com/wiki/ERP/2.50/Configuration_Manual/Modules_Management#Advanced_settings">Configuring this</a> is as simple as selecting the desired setting in the Module Management Console:</p>
<p style="text-align:center;"><a href="http://jpabloae.files.wordpress.com/2010/09/mmc-maturity-levels.png"><img class="size-full wp-image-686      aligncenter" title="MMC window: selection of the maturity levels" src="http://jpabloae.files.wordpress.com/2010/09/mmc-maturity-levels.png?w=700&#038;h=311" alt="" width="700" height="311" /></a></p>
<p>Note that <em>Confirmed Stable</em> is the default option for all the modules. We&#8217;ll apply this policy for <em>Core</em> starting from 2.50MP23.</p>
<p>&nbsp;</p>
<p><strong>EDIT, 2011/07/04:</strong> the maturity levels have been renamed as follows:</p>
<ul>
<li><em>Controlled Release → QA Approved</em>.</li>
<li><em>General Availability</em> → <em>Confirmed Stable</em>.</li>
</ul>
<br /> Tagged: <a href='http://jpabloae.wordpress.com/tag/qa/'>QA</a>, <a href='http://jpabloae.wordpress.com/tag/release-process/'>Release process</a>, <a href='http://jpabloae.wordpress.com/tag/releases/'>Releases</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpabloae.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpabloae.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpabloae.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpabloae.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpabloae.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpabloae.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpabloae.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpabloae.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpabloae.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpabloae.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpabloae.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpabloae.wordpress.com/685/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpabloae.wordpress.com/685/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpabloae.wordpress.com/685/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=685&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpabloae.wordpress.com/2010/09/29/introducing-maturity-levels-to-openbravo-erp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jpabloae</media:title>
		</media:content>

		<media:content url="http://jpabloae.files.wordpress.com/2010/09/mmc-maturity-levels.png" medium="image">
			<media:title type="html">MMC window: selection of the maturity levels</media:title>
		</media:content>
	</item>
		<item>
		<title>On demand branch testing for Openbravo developers</title>
		<link>http://jpabloae.wordpress.com/2010/07/01/on-demand-branch-testing-for-openbravo-developers/</link>
		<comments>http://jpabloae.wordpress.com/2010/07/01/on-demand-branch-testing-for-openbravo-developers/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 12:00:48 +0000</pubDate>
		<dc:creator>jpabloae</dc:creator>
				<category><![CDATA[openbravo]]></category>
		<category><![CDATA[Continuous Integration]]></category>
		<category><![CDATA[Mercurial]]></category>
		<category><![CDATA[QA]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://jpabloae.wordpress.com/?p=645</guid>
		<description><![CDATA[These have been some hard working but passionate weeks for Ken, an Openbravo ERP Core developer. He&#8217;s been working on implementing a couple of features in the accounting engine. In fact he&#8217;s pretty excited: - &#8220;Wow, this is really going to be valuable for our users!&#8221;. But hold on Ken, you think you&#8217;ve finished the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=645&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These have been some hard working but passionate weeks for Ken, an Openbravo ERP Core developer. He&#8217;s been working on implementing a couple of features in the accounting engine. In fact he&#8217;s pretty excited:</p>
<p><em>- &#8220;Wow, this is really going to be valuable for our users!&#8221;</em>.</p>
<p>But hold on Ken, you think you&#8217;ve finished the development process but you haven&#8217;t. Let&#8217;s go back to the beginning, so that you can understand.</p>
<p>Once upon a time Ken and his team detected the need to developing a new feature. So being this a relevant change in the Core of the product, Ken decided to start developing this new feature in a new <a href="http://hg-scm.org">Mercurial</a> branch. It&#8217;s the common sense choice for these cases, because he doesn&#8217;t want to integrate these changes into Core until it&#8217;s ready for general usage. Then he dived into the interesting part: he spent 2 weeks coding and writing some new tests for this new feature. So there he is, he wants the end users to enjoy this new development as soon as possible. This is legitimate and desirable, but Core has a golden rule which cannot be broken:</p>
<p style="color:#555555;background-color:#eeeeee;border:#dddddd 2px solid;padding:2px 6px 4px;">Anything pushed into the Core repository (<a href="https://code.openbravo.com/erp/devel/pi">erp/devel/pi</a>) must meet a certain quality defined by our automatic tests. This is what we usually call the <em>integration process</em>, or simply <em>int</em>.</p>
<p>To see this simpler: all the balls in <em>int</em> must always be green. You might be wondering which tests they cover. Click on any of the jobs listed in the <a href="http://builds.openbravo.com/view/int">integration tab</a> to see a description of what they do.</p>
<p>So Ken is now somehow a bit frightened, because although he has written quality code, and quoting his own words:</p>
<blockquote><p><em>You never know for sure if you pass the tests until you pass them</em></p></blockquote>
<p>And running the tests in your own machine is not an option, because from one side it&#8217;s difficult to set them up and from another side we&#8217;re continuously adding new tests to this process. As this is a legitimate concern, we&#8217;ve decided to solve this gap: we&#8217;ll provide Ken a way of running all the tests in a simulated environment, a real clone of the integration process.</p>
<p>So how can Ken run all the tests on his branch? Simple, just running this command:</p>
<p><pre class="brush: xml;">
hg push -f https://code.openbravo.com/erp/devel/try
</pre></p>
<p>And then monitor the jobs in the<a href="http://builds.openbravo.com/view/try/"> try tab</a>. As of now only one developer can use <em>try</em> at a time. So you need to click on the <em>Changes</em> link of the active job to see if it&#8217;s testing your branch or not.</p>
<p>To make things easier to remember, you can add the following snippet to your main Mercurial configuration file (e.g. <em>$HOME/.hgrc</em>):</p>
<p><pre class="brush: xml;">
[paths]
try = https://code.openbravo.com/erp/devel/try
</pre></p>
<p>So that if you ever need to run the tests in a branch, the process would be as simple as running this command:</p>
<p><pre class="brush: xml;">
hg push -f try
</pre></p>
<p>But Ken is confused:</p>
<p><em>- &#8220;How can everyone push to the same repository? We are using different branches. Isn&#8217;t this crazy?&#8221;</em>.</p>
<p>The key lies on the <em>-f</em> argument we&#8217;re passing to the <em>hg push </em>command. If you&#8217;re interested in the basic internals of how this works, every time you push your commits you&#8217;ll create a new head in the repository, and the last commit of this head will effectively become the tip of the entire repository. And the <em>try</em> tests are run against this <em>tip</em>. Confusing? If you want to have a better understanding I suggest you to play with a local repository and see how it evolves as you push new heads. If you don&#8217;t care, just use it and forget about the internals.</p>
<p>So what&#8217;s next? This is just the beginning of this <em>try</em> feature, you can consult the <a href="http://wiki.openbravo.com/wiki/ERP/2.50/TryServer">reference documentation</a>. Some future plans in our TODO list:</p>
<ul>
<li>Add e-mail notifications when your build starts, ends and with the final result.</li>
<li>Increase the number of developers that can use this simultaneously.</li>
</ul>
<p>This feature is available for all the Core contributors (Openbravo S.L.U staff and external contributors). Would you like to become a Core contributor? Great! Read the <a href="http://wiki.openbravo.com/wiki/Contributor%27s_Guide#Contributing_to_Openbravo_ ERP_Core">following guide</a>.</p>
<p>I&#8217;m sure you have suggestions about this, so we&#8217;ll be happy to hear about them. You can do it either by adding a comment here or by joining us in the <a href="http://wiki.openbravo.com/wiki/Communication_channels#Openbravo_IRC_channels">#openbravo IRC channel</a>.</p>
<p>I would like to thank the Mozilla team for the <a href="https://wiki.mozilla.org/Build:TryServerAsBranch">original idea</a> behind this concept.</p>
<br /> Tagged: <a href='http://jpabloae.wordpress.com/tag/continuous-integration/'>Continuous Integration</a>, <a href='http://jpabloae.wordpress.com/tag/mercurial/'>Mercurial</a>, <a href='http://jpabloae.wordpress.com/tag/qa/'>QA</a>, <a href='http://jpabloae.wordpress.com/tag/scm/'>SCM</a>, <a href='http://jpabloae.wordpress.com/tag/testing/'>testing</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpabloae.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpabloae.wordpress.com/645/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpabloae.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpabloae.wordpress.com/645/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpabloae.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpabloae.wordpress.com/645/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpabloae.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpabloae.wordpress.com/645/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpabloae.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpabloae.wordpress.com/645/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpabloae.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpabloae.wordpress.com/645/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpabloae.wordpress.com/645/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpabloae.wordpress.com/645/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=645&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpabloae.wordpress.com/2010/07/01/on-demand-branch-testing-for-openbravo-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jpabloae</media:title>
		</media:content>
	</item>
		<item>
		<title>Openbravo ERP Ubuntu Lucid package available</title>
		<link>http://jpabloae.wordpress.com/2010/04/29/openbravo-erp-ubuntu-lucid-package-available/</link>
		<comments>http://jpabloae.wordpress.com/2010/04/29/openbravo-erp-ubuntu-lucid-package-available/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 21:59:49 +0000</pubDate>
		<dc:creator>jpabloae</dc:creator>
				<category><![CDATA[openbravo]]></category>
		<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[OpenJDK]]></category>
		<category><![CDATA[Packaging]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://jpabloae.wordpress.com/?p=619</guid>
		<description><![CDATA[Ladies and gentlemen, fasten your seat belts. It&#8217;s here. Be ready for the new Cloud experience with Openbravo ERP and Ubuntu. For the long awaited Ubuntu release, codename Lucid Lynx 10.04, has been just released today! Two key words you should never forget: LTS: this is a Long Term Support release. A new LTS version [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=619&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ladies and gentlemen, fasten your seat belts. It&#8217;s here. Be ready for the new Cloud experience with Openbravo ERP and Ubuntu. For the long awaited Ubuntu release, codename Lucid Lynx 10.04, has been just <a href="http://www.ubuntu.com/products/whatisubuntu/1004features">released today</a>! Two key words you should never forget:</p>
<ul>
<li><strong>LTS:</strong> this is a <a href="https://wiki.ubuntu.com/LTS">Long Term Support</a> release. A new LTS version is released every 2 years and it gets longer support and more focus on security, stability and maintenance.</li>
<li><strong>Cloud:</strong> first class cloud computing support in <a href="http://www.ubuntu.com/cloud/public">Amazon EC2</a> and <a href="http://www.ubuntu.com/cloud/private">Ubuntu Enterprise Cloud</a> (UEC). It&#8217;s never been easier to work with your Openbravo ERP Ubuntu instance on the Cloud.</li>
</ul>
<p>Fine, this sounds good. But how do I install it? First you need to get Ubuntu Lucid Lynx up and running. You can do this in mainly two ways:</p>
<ol>
<li><a href="http://releases.ubuntu.com/releases/10.04/">Install Ubuntu</a> on a local machine: your own computer, a local server or a virtual machine.</li>
<li><a href="https://help.ubuntu.com/community/EC2StartersGuide">Run an instance</a> on the Amazon EC2 cloud. Use the <a href="http://uec-images.ubuntu.com/releases/10.04/release">official AMIs</a>. If it&#8217;s for a production server make sure you choose the <a href="http://aws.amazon.com/ebs/">EBS</a> powered images (aka persistent storage).</li>
</ol>
<p>And once this is done, install Openbravo ERP:</p>
<ol>
<li>Enable the Partner&#8217;s Repository:</li>
<p><pre class="brush: xml;">
sudo add-apt-repository &quot;deb http://archive.canonical.com/ubuntu lucid partner&quot;
sudo add-apt-repository &quot;deb-src http://archive.canonical.com/ubuntu lucid partner&quot;
</pre></p>
<li>Install the openbravo-erp package:</li>
<p><pre class="brush: xml;">
sudo apt-get update
sudo apt-get install openbravo-erp
</pre></ol>
<p>You can also install it using Synaptic or the Ubuntu Software Center:</p>
<p style="text-align:center;"><a href="http://jpabloae.files.wordpress.com/2010/04/lucid_openbravo-erp.png"><img class="size-full wp-image-627    aligncenter" style="border:0 none;" title="lucid_openbravo-erp" src="http://jpabloae.files.wordpress.com/2010/04/lucid_openbravo-erp.png?w=700" alt="Software Center: Openbravo ERP installation"   /></a></p>
<p>For more details about the installation process you can check the complete intructions in the <a href="http://wiki.openbravo.com/wiki/ERP/2.50/Openbravo_ERP_Installation#Ubuntu_Installation">user&#8217;s manual</a>.</p>
<p>This package is powered by PostgreSQL 8.4, OpenJDK 6, Tomcat 6 and the Apache HTTP Server 2.2.</p>
<p>It&#8217;s been a <a href="http://gorkagil.wordpress.com/2009/12/17/openbravo-erp-beta-package-for-ubuntu-karmic-available-for-testing/">long</a> <a href="http://gorkagil.wordpress.com/2010/03/31/openbravo-erp-package-available-for-ubuntu-karmic/">way</a> and with <a href="http://jpabloae.wordpress.com/2010/04/07/openbravo-erp-ubuntu-lucid-package-available-for-beta-testing/">your help</a> we have improved the stability and overall maturity of the Ubuntu + Openbravo ERP experience. We are excited with new delivery. Enjoy!</p>
<br /> Tagged: <a href='http://jpabloae.wordpress.com/tag/cloud-computing/'>Cloud computing</a>, <a href='http://jpabloae.wordpress.com/tag/ec2/'>EC2</a>, <a href='http://jpabloae.wordpress.com/tag/openjdk/'>OpenJDK</a>, <a href='http://jpabloae.wordpress.com/tag/packaging/'>Packaging</a>, <a href='http://jpabloae.wordpress.com/tag/postgresql/'>PostgreSQL</a>, <a href='http://jpabloae.wordpress.com/tag/releases/'>Releases</a>, <a href='http://jpabloae.wordpress.com/tag/ubuntu/'>Ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpabloae.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpabloae.wordpress.com/619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpabloae.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpabloae.wordpress.com/619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpabloae.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpabloae.wordpress.com/619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpabloae.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpabloae.wordpress.com/619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpabloae.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpabloae.wordpress.com/619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpabloae.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpabloae.wordpress.com/619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpabloae.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpabloae.wordpress.com/619/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=619&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpabloae.wordpress.com/2010/04/29/openbravo-erp-ubuntu-lucid-package-available/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jpabloae</media:title>
		</media:content>

		<media:content url="http://jpabloae.files.wordpress.com/2010/04/lucid_openbravo-erp.png" medium="image">
			<media:title type="html">lucid_openbravo-erp</media:title>
		</media:content>
	</item>
		<item>
		<title>Openbravo ERP Ubuntu Lucid package available for beta testing</title>
		<link>http://jpabloae.wordpress.com/2010/04/07/openbravo-erp-ubuntu-lucid-package-available-for-beta-testing/</link>
		<comments>http://jpabloae.wordpress.com/2010/04/07/openbravo-erp-ubuntu-lucid-package-available-for-beta-testing/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 14:37:16 +0000</pubDate>
		<dc:creator>jpabloae</dc:creator>
				<category><![CDATA[openbravo]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[OpenJDK]]></category>
		<category><![CDATA[Packaging]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://jpabloae.wordpress.com/?p=583</guid>
		<description><![CDATA[Ubuntu Lucid Lynx 10.04 LTS is around the corner. It&#8217;s the latest and greatest of the Ubuntu releases and it will be ready the 29th of April. It&#8217;s a special release, different to the previous Karmic 9.10, Jaunty 9.04 and Intrepid 8.10 releases. In fact it&#8217;s the most important Ubuntu release in the last 2 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=583&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ubuntu Lucid Lynx 10.04 LTS is around the corner. It&#8217;s the latest and greatest of the Ubuntu releases and it will be ready the 29th of April. It&#8217;s a special release, different to the previous Karmic 9.10, Jaunty 9.04 and Intrepid 8.10 releases. In fact it&#8217;s the most important Ubuntu release in the last 2 years. Why? The key lies on the <a href="https://wiki.ubuntu.com/LTS">LTS</a> term, which is an abbreviation for <em>Long Term Support</em>. In a nutshell, a new LTS version is released every 2 years and it gets <a href="http://www.ubuntu.com/products/ubuntu/release-cycle">longer support</a> for security and maintenance updates and also more testing. This means that it will be the natural choice for those who want to use Ubuntu on a production server for the next 2 years. Openbravo is aware of this fact and we&#8217;re getting ready for this.</p>
<p>Now we need your help for getting it fine tuned. Would you like to help out? Great!</p>
<p>We have just released a <strong>beta</strong> version of the package, so we encourage you to test it and provide us any feedback you find valuable:</p>
<ul>
<li>Tell us what you like about the package.</li>
<li>Tell us what you don&#8217;t like.</li>
<li>Find what you think that could be improved.</li>
<li>Anything else you think is important.</li>
</ul>
<p>Being a beta package, keep in mind these important notes:</p>
<ul>
<li>Do not use it in production environments.</li>
<li>The official release of this package is scheduled for the 29th of April.</li>
</ul>
<p>What&#8217;s new on this package? There is a significant change compared to <a href="http://gorkagil.wordpress.com/2010/03/31/openbravo-erp-package-available-for-ubuntu-karmic/">our Karmic release</a>: we have switched to OpenJDK! For those unfamiliar with <a href="http://openjdk.java.net/">OpenJDK</a>, it&#8217;s a 100% open/free version of the <a href="http://java.sun.com/javase/">Sun JDK</a>, as well as 100% compatible. Some months ago <a href="http://jpabloae.wordpress.com/2009/11/05/erp-2-50-experimenting-with-postgresql-8-4-and-openjdk-6/">we foresaw this need</a> and started working to support it.</p>
<p>So how can I test the Openbravo ERP Lucid Lynx package? First you need to get the beta version of Ubuntu Lucid Lynx up and running. You can do this in mainly two ways:</p>
<ol>
<li><a href="http://www.ubuntu.com/testing/lucid/beta2">Install Ubuntu</a> on a local machine: your own computer, a local server or a virtual machine.</li>
<li><a href="https://help.ubuntu.com/community/EC2StartersGuide">Run an instance</a> on the Amazon EC2 cloud. Use the <a href="http://uec-images.ubuntu.com/releases/10.04/beta-2/">official AMIs</a>.</li>
</ol>
<p>Once this is ready, add our testing repository and install openbravo-erp:</p>
<ol>
<li>Add our testing repository:<br />
<pre class="brush: xml;">
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C2F11D81
sudo sh -c 'echo &quot;deb http://ppa.launchpad.net/openbravo-isv/ppa/ubuntu lucid main&quot; &gt;&gt; /etc/apt/sources.list'
sudo sh -c 'echo &quot;deb-src http://ppa.launchpad.net/openbravo-isv/ppa/ubuntu lucid main&quot; &gt;&gt; /etc/apt/sources.list'
</pre></li>
<li>Install the openbravo-erp package:<br />
<pre class="brush: xml;">
sudo apt-get update
sudo apt-get install openbravo-erp
</pre></li>
</ol>
<p>You can also use Synaptic or your favourite package management tool.</p>
<p>This is how you can send us your feedback:</p>
<ul>
<li>Add your comments to this blog post.</li>
<li>Report an issue: <a href="https://bugs.launchpad.net/openbravo-erp">https://bugs.launchpad.net/openbravo-erp</a></li>
<li>Connect to the <a href="http://wiki.openbravo.com/wiki/Communication_channels#Openbravo_IRC_channels">#openbravo IRC channel</a> in Freenode.</li>
</ul>
<p>This beta testing phase will last four weeks, primarily because our intention is to release our package together with the final version of Lucid. This is your opportunity to test the long awaited Ubuntu release together with the new Openbravo ERP package. And why not, also a good chance get involved in the project!</p>
<p><strong>UPDATE (2010/04/09):</strong> the beta2 version of Lucid is out, download links updated.</p>
<br /> Tagged: <a href='http://jpabloae.wordpress.com/tag/ec2/'>EC2</a>, <a href='http://jpabloae.wordpress.com/tag/openjdk/'>OpenJDK</a>, <a href='http://jpabloae.wordpress.com/tag/packaging/'>Packaging</a>, <a href='http://jpabloae.wordpress.com/tag/releases/'>Releases</a>, <a href='http://jpabloae.wordpress.com/tag/ubuntu/'>Ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpabloae.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpabloae.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpabloae.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpabloae.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpabloae.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpabloae.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpabloae.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpabloae.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpabloae.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpabloae.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpabloae.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpabloae.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpabloae.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpabloae.wordpress.com/583/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=583&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpabloae.wordpress.com/2010/04/07/openbravo-erp-ubuntu-lucid-package-available-for-beta-testing/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jpabloae</media:title>
		</media:content>
	</item>
		<item>
		<title>Towards a better Openbravo ERP release process</title>
		<link>http://jpabloae.wordpress.com/2010/03/31/towards-a-better-openbravo-erp-release-process/</link>
		<comments>http://jpabloae.wordpress.com/2010/03/31/towards-a-better-openbravo-erp-release-process/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 15:21:08 +0000</pubDate>
		<dc:creator>jpabloae</dc:creator>
				<category><![CDATA[openbravo]]></category>
		<category><![CDATA[Release process]]></category>
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://jpabloae.wordpress.com/?p=570</guid>
		<description><![CDATA[Openbravo ERP 2.50 has a time based release plan. This helps us get bug fixes and new features into our user&#8217;s hands more quickly and improve our planning process. Up to now we&#8217;ve been releasing Maintenance Packs on a monthly basis. However we have detected some improvement areas, mainly two: We want to release like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=570&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Openbravo ERP 2.50 has a time based release plan. This helps us get bug fixes and new features into our user&#8217;s hands more quickly and improve our planning process.</p>
<p>Up to now we&#8217;ve been releasing Maintenance Packs on a monthly basis. However we have detected some improvement areas, mainly two:</p>
<ol>
<li>We want to release<em> like a clock</em>:  same time, same day, every month. Everyone gets benefited by this:
<ul>
<li>End users appreciate knowing the release dates without even reading a release calendar. They simply know that they&#8217;ll have an update at the end of every month.</li>
<li>Our engineering team can organize more effectively: developers, QA, Support, Release Management.</li>
</ul>
</li>
<li>Developers should know what commits they push go into what release. This way they can organize their work more efficiently.</li>
</ol>
<p>So let&#8217;s start! We already have the list of desired improvements and we know that we need to set the key dates. So first we need to identify the different kind of events involved in the development process:</p>
<ul>
<li>Regular commits (e.g. bugfixes or small features).</li>
<li>Large project merges (e.g. a new large feature).</li>
<li>QA automatic tests.</li>
<li>Feature freeze for the release.</li>
<li>Release packaging.</li>
<li>QA manual tests.</li>
<li>Publish the release.</li>
</ul>
<p>Now we need to set some dates and deadlines. The <em>QA manual work &#8211; bug found &#8211; fix it</em> loop lasts around 10 days. So the freeze and packaging should be before the 20th. And we want to provide a guarantee to developers, so that they know which commits go into what release. Here&#8217;s a proposal:</p>
<ul>
<li>All the commits pushed before the 15th of a month will go into that month&#8217;s release. We&#8217;ll make sure all the tests are passed, working together with the developers in case there&#8217;s a failure.</li>
<li>We&#8217;ll freeze the code the 18th and start the packaging right after this moment. This means we have 3 days to make the code pass all the automatic test suite. It should be more than enough. It also means that commits pushed between the 15th and the 18th <em>might</em> go into that month&#8217;s release. If it passes the tests of course.</li>
<li>From that moment on QA can start the manual work. If they find issues the affected developer will work on the fix and they&#8217;ll iterate on this process till QA happy is happy with the result.</li>
<li>Afterwards the Release Management team can publish the release.</li>
</ul>
<p>And last but not least, project merges tend to create instabilities in the code main line, compared to having no reintegrations at all. So taking this into account the project merges must be done a specific time frame: from the 22nd of one month until the 5th of the next one. So that we give it enough room (10 days) to get the code stable for the freeze time.</p>
<p>We can see these policies summarized in the following graph:</p>
<p style="text-align:center;"><a href="http://jpabloae.files.wordpress.com/2010/03/releasetimeline.png"><img class="size-full wp-image-574 aligncenter" style="border:0 none;" title="ReleaseTimeline" src="http://jpabloae.files.wordpress.com/2010/03/releasetimeline.png?w=700&#038;h=345" alt="Openbravo ERP 2.50 release timeline" width="700" height="345" /></a></p>
<p style="text-align:center;">
<p>Improving a release process is usually an evolution, not a revolution. And I believe this is the first step towards better timely releases.</p>
<br /> Tagged: <a href='http://jpabloae.wordpress.com/tag/release-process/'>Release process</a>, <a href='http://jpabloae.wordpress.com/tag/releases/'>Releases</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpabloae.wordpress.com/570/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpabloae.wordpress.com/570/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpabloae.wordpress.com/570/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpabloae.wordpress.com/570/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpabloae.wordpress.com/570/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpabloae.wordpress.com/570/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpabloae.wordpress.com/570/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpabloae.wordpress.com/570/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpabloae.wordpress.com/570/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpabloae.wordpress.com/570/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpabloae.wordpress.com/570/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpabloae.wordpress.com/570/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpabloae.wordpress.com/570/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpabloae.wordpress.com/570/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=570&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpabloae.wordpress.com/2010/03/31/towards-a-better-openbravo-erp-release-process/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jpabloae</media:title>
		</media:content>

		<media:content url="http://jpabloae.files.wordpress.com/2010/03/releasetimeline.png" medium="image">
			<media:title type="html">ReleaseTimeline</media:title>
		</media:content>
	</item>
		<item>
		<title>Amazon EC2: backup management tips</title>
		<link>http://jpabloae.wordpress.com/2010/03/10/amazon-ec2-backup-management-tips/</link>
		<comments>http://jpabloae.wordpress.com/2010/03/10/amazon-ec2-backup-management-tips/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 15:11:07 +0000</pubDate>
		<dc:creator>jpabloae</dc:creator>
				<category><![CDATA[openbravo]]></category>
		<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[EC2]]></category>

		<guid isPermaLink="false">http://jpabloae.wordpress.com/?p=546</guid>
		<description><![CDATA[Cloud Computing services offer a great deal of advantages to end users and sysadmins. I&#8217;m sure most of us appreciate not taking care about the hardware, having agility to provision new resources, getting the ability to recover fast from disasters, taking benefit of a very high network bandwidth speed, and so forth. It&#8217;s a very [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=546&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Cloud Computing services offer a great deal of advantages to end users and sysadmins. I&#8217;m sure most of us appreciate not taking care about the hardware, having agility to provision new resources, getting the ability to recover fast from disasters, taking benefit of a very high network bandwidth speed, and so forth. It&#8217;s a very good solution for many situations.</p>
<p>However managing a Cloud is different compared to the traditional server management. We have been using Amazon EC2 in Openbravo for the last couple of years, so I would like to share some tips with you with regards to backup management and recovery.</p>
<h3><strong>DNS management: Elastic IPs</strong></h3>
<p>Making backups is the first step towards a successful system recovery. But in order to take benefit of these backups it is also essential to react in a quick and easy manner when something goes wrong, so that we have the system is back up and running in a matter of minutes.  One of the biggest delays tied to the traditional server management comes with the DNS changes. That is, migrating to a new machine usually means having a new IP address. And therefore it forces you to update the DNS records, and this might take days to propagate.</p>
<p>Amazon has a nice feature called <a href="http://docs.amazonwebservices.com/AWSEC2/latest/DeveloperGuide/concepts-elastic-addressing.html">Elastic IP</a> that allows you to forget about this. You basically allocate an IP address for you, so that you can assign it to any of your machines &#8220;on the fly&#8221;.</p>
<p>Think about the difference:</p>
<ol>
<li>Traditional DNS management: if a new server gives me a new IP I have to change the DNS records.</li>
<li>Elastic IP DNS management: I can assign my IP address to any of my instances.</li>
</ol>
<p>The first option might take several days to be spread in the entire world, while the second one is immediate.</p>
<h3><strong>EBS: persistent storage</strong></h3>
<p>Amazon EC2 has continuously improved the features they offer. One of the limitations it initially had consisted of the fact that the hard drives where not persistent. That is, if you shut down a machine you lose your data. In September 2008 Amazon introduced the <a href="http://docs.amazonwebservices.com/AWSEC2/latest/DeveloperGuide/index.html?concepts-elastic-addressing.html">EBS</a> hard drives (Elastic Block Storage), which means persistent storage that essentially works like a normal hard drive that you can attach to any of your instances. However you could not run the entire operating system in one of these EBS drivers. In any case this was a big step forward, given that you could save your critical dynamic data (e.g. a database) in a persistent storage. Starting from December 2009 you can finally run an entire operating system in a EBS unit.</p>
<p>This feature is relatively new so most of the public AMIs are still based &#8220;instance-store&#8221;, instead of in &#8220;EBS-store&#8221;. The recommendation here is incremental:</p>
<ul>
<li>Make sure you save your critical dynamic data in a EBS drive.</li>
<li>If possible, run the entire instance in a EBS drive.</li>
</ul>
<p>I&#8217;ve just said that it works similar to a regular hard drive you can attach to any instance. This is not entirely true, it&#8217;s better: you can make snapshots of the entire disk. As many as you want, and they are incremental. You can of course restore them into a new drive any time you want.</p>
<p>So as a last tip with EBS do regular snapshots, and make sure you purge the old ones.</p>
<h3><strong>Off-site backups</strong></h3>
<p>There&#8217;s a golden rule with regards to backups: &#8220;Do not put all the eggs in the same basket&#8221;. It is very unlikely for Amazon EC2 to suffer a general downtime or disaster so that you would loose your data (e.g. a fire). They make sure this won&#8217;t happen and they do their backup homework as well. In any case it is generally a good idea to have a second recovery plan, physically isolated from your main backup location.</p>
<p>Amazon EC2 currently has two independent regions (US and EU), so the first option is to replicate the backups from region to another. However if a malicious user gets your EC2 credentials they might have temptations to wipe out all your data in both regions. To avoid this, as a recommendation, create an extra EC2/S3 account with complete read-only access to the first account. So that your backups cannot be compromised in that way.</p>
<p>If you are more paranoid than this, you can schedule weekly or biweekly backups to an external storage service provider.</p>
<h3><strong>Physical backups</strong></h3>
<p>It is sometimes very useful to have a recent backup available with you at your office. One option is to download it. But depending on the size of your backups and your network speed this might be prohibitive. Amazon has a nice feature called Import/Export that covers this need:</p>
<ul>
<li>You send a hard drive to them with instructions.</li>
<li>They load the requested data into the hard drive.</li>
<li>They send you the hard drive back.</li>
</ul>
<h3><strong>Openbravo ERP and EC2</strong></h3>
<p>OK, those tips sounds reasonable. So what should I specifically do with my Openbravo ERP instance in EC2? Stay tunned, a new post will be coming soon covering this topic.</p>
<br /> Tagged: <a href='http://jpabloae.wordpress.com/tag/cloud-computing/'>Cloud computing</a>, <a href='http://jpabloae.wordpress.com/tag/ec2/'>EC2</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpabloae.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpabloae.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpabloae.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpabloae.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpabloae.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpabloae.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpabloae.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpabloae.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpabloae.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpabloae.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpabloae.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpabloae.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpabloae.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpabloae.wordpress.com/546/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=546&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpabloae.wordpress.com/2010/03/10/amazon-ec2-backup-management-tips/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jpabloae</media:title>
		</media:content>
	</item>
		<item>
		<title>SSH: a Swiss knife for system integrators</title>
		<link>http://jpabloae.wordpress.com/2010/02/27/ssh-a-swiss-knife-for-system-integrators/</link>
		<comments>http://jpabloae.wordpress.com/2010/02/27/ssh-a-swiss-knife-for-system-integrators/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 10:37:01 +0000</pubDate>
		<dc:creator>jpabloae</dc:creator>
				<category><![CDATA[openbravo]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://jpabloae.wordpress.com/?p=471</guid>
		<description><![CDATA[Give me a place to stand on, and I will move the Earth. This is a legend ascribed to the famous Archimedes, genius of antiquity. When he understood the basic principles behind the lever he felt its power and he started seeing them in a different way. His paradigm changed. In a similar way SSH [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=471&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>Give me a place to stand on, and I will move the Earth.</p></blockquote>
<p>This is a legend ascribed to the famous <a href="http://en.wikipedia.org/wiki/Archimedes">Archimedes</a>, genius of antiquity. When he understood the basic principles behind the lever he felt its power and he started seeing them in a different way. His paradigm changed.</p>
<p>In a similar way SSH is a tool that can completely change the way you work, for good. Let me show you why you, as a system integrator, should be interested in its wonders. And I can assure you that if you get familiar with the basic principles behind it you&#8217;ll be able to perform tasks you would never possibly imagine.</p>
<h3><strong>Case 1: Browsing through a remote computer</strong></h3>
<p>There are multiple situations where browsing through a remote computer is interesting:</p>
<ul>
<li>IP address restrictions: a customer has restricted access so that I can only access a remote machine from my network at work. I am at home and I really need to access this server.</li>
<li>Content filtering: I am located in a network or a country that restricts my Internet connection. And I really need to access some pages which are key to do my job.</li>
<li>Remote LAN access: I have access to a remote computer. But I would like to access the ERP or database of another computer in the same local network.</li>
</ul>
<p>So this is the magic that makes this possible:</p>
<p><code>ssh -D 8888 johndoe@remote_computer</code></p>
<p>This basically converts the remote computer into a proxy server only for you. So that you just need to provide this information to your web browser. Using Firefox as an example, you&#8217;d need to go to <em>Preferences → Advanced → Network → Settings</em>, then select <em>Manual proxy configuration</em> and finally enter <em>localhost </em>in the <em>SOCKS Host </em>field and <em>8888</em> as the port number. The simplest way to verify it&#8217;s working is to visit <a href="http://www.whatismyip.org/">whatismyip.org</a> so that you can verify your IP address, it should be the remote one.</p>
<p style="text-align:center;"><a href="http://jpabloae.files.wordpress.com/2010/02/ffox-proxy-1.png"><img class="size-medium wp-image-500 alignleft" style="border:0 none;" title="ffox-proxy-1" src="http://jpabloae.files.wordpress.com/2010/02/ffox-proxy-1.png?w=300&#038;h=274" alt="Firefox Preferences, Advanced section" width="300" height="274" /></a><a href="http://jpabloae.files.wordpress.com/2010/02/ffox-proxy-2.png"><img class="aligncenter  size-medium wp-image-501" style="border:0 none;" title="ffox-proxy-2" src="http://jpabloae.files.wordpress.com/2010/02/ffox-proxy-2.png?w=262&#038;h=300" alt="Firefox proxy settings" width="262" height="300" /></a></p>
<h3><strong>Case 2: Securely connect to a remote database</strong></h3>
<p>This is a typical case scenario. The remote machine has only SSH opened and there is no direct access to the database. Let&#8217;s suppose it&#8217;s PostgreSQL running on port 5432 on the remote computer, but the port is not opened to the outside world, only to local connections. So as have SSH access you can ask it to redirect the remote 5432 port into any port of your local machine, like 5433:</p>
<p><code>ssh -L 5433:localhost:5432 johndoe@remote_computer</code></p>
<p>Now you can start psql, pgAdmin or your favorite client and use <em>localhost</em> as the host and <em>5433</em> as the port in the connection details.</p>
<p style="text-align:center;"><a href="http://jpabloae.files.wordpress.com/2010/02/ssh-pgadmin3.png"><img class="aligncenter size-medium wp-image-520" style="border:0 none;" title="ssh-pgadmin3" src="http://jpabloae.files.wordpress.com/2010/02/ssh-pgadmin3.png?w=300&#038;h=225" alt="PgAdmin3 through a SSH tunnel" width="300" height="225" /></a></p>
<p>As for Oracle the concept is the same and just the port numbers change:</p>
<p><code>ssh -L 1522:localhost:1521 johndoe@remote_computer</code></p>
<p style="text-align:center;"><a href="http://jpabloae.files.wordpress.com/2010/02/ssh-oracle.png"><img class="aligncenter size-medium wp-image-525" style="border:0 none;" title="ssh-oracle" src="http://jpabloae.files.wordpress.com/2010/02/ssh-oracle.png?w=300&#038;h=210" alt="" width="300" height="210" /></a></p>
<h3><strong>Case 3: Expose my local ERP into a remote network</strong></h3>
<p>Let&#8217;s suppose that I have Openbravo ERP beautifully running in my local machine, it includes some nice new changes we&#8217;ve been working on. I would like to show it to Mike and Sandra, but they are located in a remote network. I am in a hotel, there is no way I can ask the IT staff of the hotel to open a port for my users to access the ERP in my computer.  SSH comes to the rescue again: basically you can perform the opposite operation of <em>Case 2</em>, and forward your local Web Server port into any port of a remote machine:</p>
<p><code>ssh -R :9999:localhost:80 johndoe@remote_computer</code></p>
<p>So now I can ask Mike and Sandra to enter <em>http://local_ip_of_remote_computer:9999</em> and bingo, they can access my ERP installation.</p>
<p><strong>Important note:</strong> for this feature to work the server&#8217;s SSH configuration (sshd_config) must have the <em>GatewayPorts </em>option set to<em><em> </em> yes.<br />
</em></p>
<h3><strong>Case 4: Securely connect to a remote database available only in the LAN</strong></h3>
<p>Now let&#8217;s suppose I have SSH access to <em>remote_computer</em>, but not to <em>remote_computer-2</em>, which is is in the same LAN as the first one. And I want to access the database in <em>remote_computer-2</em> using my graphical SQL client. There are multiple ways of solving this situation, by using variants of <em>Case 1</em> or <em>Case 2</em>.  We&#8217;ll do it extending the first case. Firstly,  open the SSH connection and establish the local proxy server:</p>
<p><code>ssh -D 8888 johndoe@remote_computer</code></p>
<p>Now we want to tell our PostgreSQL client to use this proxy. But usually they don&#8217;t support this feature. So here <a href="http://proxychains.sourceforge.net/">proxychains</a> comes to the rescue. This is a tool that allows you to make any program use the Internet connection through that proxy. Once it is installed, it requires a minimal configuration in <em>$HOME/.proxychains/proxychains.conf, </em>only required the first time you use it:</p>
<p><pre class="brush: xml;">
DynamicChain
tcp_read_time_out 15000
tcp_connect_time_out 10000

[ProxyList]
socks5 127.0.0.1 8888
</pre></p>
<p>From now on you can prepend the <em>proxychains</em> command to your program and it will go to the Internet using the proxy server connection. So for example in our case we would go a terminal and run:</p>
<p><code>proxychains pgadmin3</code></p>
<p>or</p>
<p><code>proxychains psql -d openbravo -U tad -h localhost -p 5433</code></p>
<h3><strong>Conclusions</strong></h3>
<p>As you can see SSH opens a new world of possibilities for you. Invest some time playing with it, you won&#8217;t regret.</p>
<p>Some final words for Windows users: don&#8217;t worry, this is not valid for UNIX based systems only. If you run Windows in your computer you can use <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a> to achieve exactly the same results.</p>
<p><strong>UPDATE (2010/04/26)</strong>: adding the <em>GatewayPorts</em> requirement and the corrected ssh command based on Asier&#8217;s comments.</p>
<br /> Tagged: <a href='http://jpabloae.wordpress.com/tag/security/'>Security</a>, <a href='http://jpabloae.wordpress.com/tag/ssh/'>SSH</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jpabloae.wordpress.com/471/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jpabloae.wordpress.com/471/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jpabloae.wordpress.com/471/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jpabloae.wordpress.com/471/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jpabloae.wordpress.com/471/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jpabloae.wordpress.com/471/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jpabloae.wordpress.com/471/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jpabloae.wordpress.com/471/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jpabloae.wordpress.com/471/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jpabloae.wordpress.com/471/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jpabloae.wordpress.com/471/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jpabloae.wordpress.com/471/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jpabloae.wordpress.com/471/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jpabloae.wordpress.com/471/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jpabloae.wordpress.com&amp;blog=3798438&amp;post=471&amp;subd=jpabloae&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jpabloae.wordpress.com/2010/02/27/ssh-a-swiss-knife-for-system-integrators/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jpabloae</media:title>
		</media:content>

		<media:content url="http://jpabloae.files.wordpress.com/2010/02/ffox-proxy-1.png?w=300" medium="image">
			<media:title type="html">ffox-proxy-1</media:title>
		</media:content>

		<media:content url="http://jpabloae.files.wordpress.com/2010/02/ffox-proxy-2.png?w=262" medium="image">
			<media:title type="html">ffox-proxy-2</media:title>
		</media:content>

		<media:content url="http://jpabloae.files.wordpress.com/2010/02/ssh-pgadmin3.png?w=300" medium="image">
			<media:title type="html">ssh-pgadmin3</media:title>
		</media:content>

		<media:content url="http://jpabloae.files.wordpress.com/2010/02/ssh-oracle.png?w=300" medium="image">
			<media:title type="html">ssh-oracle</media:title>
		</media:content>
	</item>
	</channel>
</rss>
