<?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; ubuntu</title>
	<atom:link href="http://engwar.com/tags/ubuntu/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>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>

