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

<channel>
	<title>Engwar &#187; private cloud</title>
	<atom:link href="http://engwar.com/tags/private-cloud/feed" rel="self" type="application/rss+xml" />
	<link>http://engwar.com</link>
	<description>Chintana Wilamuna&#039;s weblog</description>
	<lastBuildDate>Wed, 30 Nov 2011 13:28:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Private cloud and importance of OpenStack</title>
		<link>http://engwar.com/post/613?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=private-cloud-and-importance-of-openstack</link>
		<comments>http://engwar.com/post/613#comments</comments>
		<pubDate>Mon, 12 Sep 2011 04:03:12 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[amazon]]></category>
		<category><![CDATA[openstack]]></category>
		<category><![CDATA[private cloud]]></category>
		<category><![CDATA[stratos]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=613</guid>
		<description><![CDATA[On my last post, I mentioned that it&#8217;s getting more important having a solid open source private cloud solution. Without a doubt OpenStack is getting very good traction from the community, which is a good thing. As it turns out, &#8230; <a href="http://engwar.com/post/613">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://engwar.com/post/607">On my last post</a>, I mentioned that it&#8217;s getting more important having a solid open source private cloud solution. Without a doubt OpenStack is getting very good traction from the community, which is a good thing. As it turns out, for WSO2 Stratos (open source middleware platform as a service for enterprise) a private cloud is a very important part. Specially when most popular public cloud offering, Amazon EC2 is having so many issues.</p>
<p>In WSO2 data center, we run the entire platform on UEC which ships Eucalyptus and we haven&#8217;t seen any of the problems we faced with EC2. Ok, private cloud &#8211; very important.</p>
<p>As a platform as a service, it&#8217;s important to be able to run on top of many IaaS vendors. Same goes for private cloud solutions. So, if Stratos is to be run on OpenStack the auto scaling code should be working. Stratos auto scales on Amazon EC2 that&#8217;s the API that&#8217;s been implemented. It&#8217;s always a pain to support a different API. OpenStack is said to have an EC2 SOAP API but I couldn&#8217;t find the extent to which operations are supported. I&#8217;ll definitely have a definitive answer if I contact one of the devs. This post however was not about that.</p>
<p><a href="http://www.markshuttleworth.com/archives/765">Mark Shuttleworth wrote an excellent blog about some concerns over OpenStack</a>. As Mark correctly observes, it&#8217;s not the right thing to innovate at the API level. As eternal perfectionists it&#8217;s very easy to get into having cleaner and powerful APIs. Then again from a pragmatic perspective it&#8217;s energy that&#8217;s better put into where it matters.</p>
<p>WSO2 Stratos already have a working implementation that is tested. Effort of implementing and testing for another API is going to be time consuming. Whether it&#8217;s a bad or a good API when we have to get it running we&#8217;ll implement it nevertheless.</p>
<p>There are many concerns that needs more attention than having a good API. Higher IO and network throughput comes to the top of the list &#8216;cos that&#8217;s what it matters from a user&#8217;s perspective. It&#8217;s great that people debating this issue and looking to make a difference!</p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/613/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Amazon EC2 woes</title>
		<link>http://engwar.com/post/607?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=amazon-ec2-woes</link>
		<comments>http://engwar.com/post/607#comments</comments>
		<pubDate>Sun, 11 Sep 2011 02:10:30 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[amazon]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[iaas]]></category>
		<category><![CDATA[private cloud]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=607</guid>
		<description><![CDATA[Samisa has written a great blog about instability and unpredictability of Amazon EC2 when we ran WSO2 Stratos on it for months. Also, Azeez shares his views which is similar. As a result of Amazon EC2 issues, mainly relating to &#8230; <a href="http://engwar.com/post/607">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://samisa-abeysinghe.blogspot.com/2011/09/cloud-computing-facts-iaas-is-not-prime.html">Samisa has written a great blog about instability and unpredictability of Amazon EC2</a> when we ran WSO2 Stratos on it for months. Also, <a href="http://blog.afkham.org/2011/09/is-paas-on-top-of-iaas-good-idea-after.html">Azeez shares his views which is similar</a>.</p>
<p>As a result of Amazon EC2 issues, mainly relating to unacceptable I/O and network delays hosted version of <a href="http://wso2.com/cloud/stratos/">Stratos</a> which we call <a href="http://stratoslive.wso2.com">StratosLive</a> was so damn slow. Now it&#8217;s hosted on real hardware and the site is way way faster!</p>
<p>In the long run, enterprise-wide software are better off running on real hardware. Investing in more powerful machines. Or horizontally scale with a number of cheap machines. I can see Amazon&#8217;s appeal for a very short term computing problems. Or as Azeez mentioned, cloud bursting for one. <a href="http://open.blogs.nytimes.com/2007/11/01/self-service-prorated-super-computing-fun/">Problems like this infamous article about Amazon EC2 trying to solve</a>. Value you gain for paying exuberant bills for Amazon EC2 is very little at the end of the month. Specially when you&#8217;re running it long term.</p>
<p>IMO, this is one reason why a reliable private cloud infrastructure matters. In my experience open source private cloud software has a lot to improve. The free stuff by VMware is good for playing around. When you need I/O and network performance + provisioning, you have to pay big bucks.</p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/607/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up Ubuntu Enterprise Cloud</title>
		<link>http://engwar.com/post/356?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setting-up-ubuntu-enterprise-cloud</link>
		<comments>http://engwar.com/post/356#comments</comments>
		<pubDate>Mon, 31 May 2010 17:59:56 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[cloud]]></category>
		<category><![CDATA[private cloud]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[uec]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=356</guid>
		<description><![CDATA[On a previous post I briefly looked at Ubuntu Enterprise Cloud. Let&#8217;s see how UEC can be setup quickly on two machines. This is a simple configuration. One computer will have cloud controller (CLC), Walrus, cluster controller (CC), and storage &#8230; <a href="http://engwar.com/post/356">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On a <a href="http://engwar.com/post/338">previous post</a> I briefly looked at Ubuntu Enterprise Cloud. Let&#8217;s see how UEC can be setup quickly on two machines. This is a simple configuration. One computer will have cloud controller (CLC), Walrus, cluster controller (CC), and storage controller (SC). The other computer will act as the node controller (NC). As the name implies cloud controller machine acts as a controlling node. Actual virtual machines will be running on node controllers. You can add node controllers as your resource requirements increase. More complex and supported topologies are <a href="https://help.ubuntu.com/community/UEC/Topologies">listed in the Ubuntu wiki</a>. UEC by default use KVM as the virtualization technology.</p>
<ol>
<li>Easiest way to install UEC is to do a CD Install. Follow the <a href="https://help.ubuntu.com/community/UEC/CDInstall">instruction on the Ubuntu Wiki</a> to get it installed.</li>
<li>Select CLC/Walrus/CC/SC on one machine</li>
<li>Install NC in the second machine</li>
<li>With the default configuration, the number of instances you can start is very limited. Through the web based admin console, you can configure number of CPUs and memory that goes into small, medium and large instances. Medium instances by default is configured to have 2 CPUs. If your host computer have 8 CPU cores, the number of medium instances you can start is 4. The maximum number of virtual machines KVM support by default is 8 * number of CPU cores. If you&#8217;re having 8 cores, KVM can start 64 guests (assuming you have enough memory). So, we need to get this number intu Eucalyptus. On the node controller machine, edit <code>/etc/eucalyptus/eucalypus.conf</code> and add <code>MAX_CORES="64"</code>. Or whatever the number applicable to your system.</li>
<li>Next, when you install a cloud controller on a computer residing in your LAN, it&#8217;ll add another DHCP server. When you start your instances they&#8217;ll start getting IPs from the main DHCP server in the LAN. Which is not what you probably want. To prevent this from happening, you have to blacklist MAC addresses generated by UEC. UEC generated MAC addresses begins with <code>d0::0d</code>. <a href="https://help.ubuntu.com/community/UEC/Tips">Ubuntu wiki contains how to do this for dnsmasq</a>. If you&#8217;re using dhcpd you can add,
<p><pre>
class "uec-members" {
    match pick-first-value (option agent.remote-id);
}

subclass "uec-members" d0:0d:00:00:00:00;
subclass "uec-members" d0:0d:ff:ff:ff:ff;

subnet ... {

     pool {
         deny members of "uec-members";
         range 10.100.1.100 10.100.1.252;
     }

 }
</pre>
</p>
</li>
</ol>
<p>Voila! You&#8217;re on your way to do great things on your private cloud!</p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/356/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>UEC in Lucid Lynx</title>
		<link>http://engwar.com/post/338?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=uec-in-lucid-lynx</link>
		<comments>http://engwar.com/post/338#comments</comments>
		<pubDate>Wed, 26 May 2010 09:01:11 +0000</pubDate>
		<dc:creator>Chintana</dc:creator>
				<category><![CDATA[lucid lynx]]></category>
		<category><![CDATA[private cloud]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[uec]]></category>

		<guid isPermaLink="false">http://engwar.com/?p=338</guid>
		<description><![CDATA[Ubuntu 10.04, code named Lucid Lynx, ships UEC with their server distro. UEC uses Eucalyptus 1.6.2 to provide a private cloud infrastructure. Getting it to work in a production setting requires a considerable amount of effort because you&#8217;ll be facing &#8230; <a href="http://engwar.com/post/338">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 10.04, code named Lucid Lynx, ships <a href="http://www.ubuntu.com/cloud/private">UEC</a> with their server distro. UEC uses <a href="http://open.eucalyptus.com/">Eucalyptus</a> 1.6.2 to provide a private cloud infrastructure.</p>
<p>Getting it to work in a production setting requires a considerable amount of effort because you&#8217;ll be facing undocumented issues. Here, effort refers to scanning through forums and mailing lists.</p>
<p>Still, for me the experience was much pleasant compared to fiddling with some proprietary crap acting as a black box. Although, the documentation for Eucalyptus still a bit rough around the edges; if all else fails you have the option of reading the source to find out the intended behaviour. If you use open source stuff in production I don&#8217;t have to say how much time this saves.</p>
<p>After some failed attempts to get this shit up and running, the bazzilion things you should not do when installing UEC turned out to be a useful experience. Doing a CD install, selecting to install cloud stuff from the menu takes you on a short path to finish line. Make sure you <a href="https://help.ubuntu.com/community/UEC/Topologies">select a right topology for your installation</a>.</p>
<p>All the nitty gritty details intentionally left out for a later post.</p>
]]></content:encoded>
			<wfw:commentRss>http://engwar.com/post/338/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

