<?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>Chombo&#039;s Tech Blog</title>
	<atom:link href="http://tech-blog.chombo.com.au/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech-blog.chombo.com.au</link>
	<description></description>
	<lastBuildDate>Sun, 18 Apr 2010 09:00:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Individual web servers working together</title>
		<link>http://tech-blog.chombo.com.au/2010/02/11/individual-web-servers-working-together/</link>
		<comments>http://tech-blog.chombo.com.au/2010/02/11/individual-web-servers-working-together/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:03:04 +0000</pubDate>
		<dc:creator>Andrew Gould</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tech-blog.chombo.com.au/?p=20</guid>
		<description><![CDATA[Earlier this week I did something we hadn&#8217;t done before. Two servers to power the one website. There&#8217;s no more redundancy than before &#8211; in fact, I&#8217;ve added another point of failure to the equation. Why have I done this? I&#8217;m greedy. I want my cake and to eat it too.
static.chombo.com.au. It&#8217;s a virtual machine [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this week I did something we hadn&#8217;t done before. Two servers to power the one website. There&#8217;s no more redundancy than before &#8211; in fact, I&#8217;ve added another point of failure to the equation. Why have I done this? I&#8217;m greedy. I want my cake and to eat it too.</p>
<p><span style="color: #000080;">static.chombo.com.au</span>. It&#8217;s a virtual machine running the bare essentials. CentOS 5, lighttpd. No PHP, no MySQL, no Webmin. I&#8217;ve even got lighttpd stripped down, running only the modules that it needs. It&#8217;s not capable of vhosts or URL rewriting, so no fancy URLs or different content for different hostnames. All it has is the ability to respond to HTTP requests and the ability to compress JavaScript and CSS on the fly. Why have I done that? For speed. What&#8217;s it going to be hosting? Images, JavaScript, CSS.</p>
<p>I&#8217;ve been told that when you&#8217;re on a fast computer and fast network link not far from the server (less than 20ms latency), there can be a slightly noticeable difference in loading times between Apache and lighttpd when serving the same content. For ages we&#8217;ve had Apache and lighttpd running on the server that hosts chombo.com.au, lighttpd hosting all the public content, Apache hosting our &#8216;preview&#8217; website – the place where we can test website revisions before they go public. I do have a problem with lighttpd, however. It&#8217;s a pain in the backside if you&#8217;re wanting to be running any URL rewriting. Could be my config file causing the problems, but I think it&#8217;s just fussy. Time to run Apache for the public content, I think!</p>
<p>My reason for setting up static.chombo.com.au was so that I could have the flexibility of Apache for the main website and still get the fast response times of lighttpd. As I said, static.chombo.com.au is going to be for images/CSS/JavaScript only, meaning Apache will really only do the PHP stuff. Make sense?</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-blog.chombo.com.au/2010/02/11/individual-web-servers-working-together/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sweet dreams, Barney</title>
		<link>http://tech-blog.chombo.com.au/2010/02/11/sweet-dreams-barney/</link>
		<comments>http://tech-blog.chombo.com.au/2010/02/11/sweet-dreams-barney/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 13:16:13 +0000</pubDate>
		<dc:creator>Andrew Gould</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Barney]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://tech-blog.chombo.com.au/?p=8</guid>
		<description><![CDATA[Back in October 2009 we decided it was time to add some more capacity to our fleet of servers. Two Core 2 Quad servers were acquired and fitted with 8 GB of RAM. We immediately put the first one into use after giving it two 500 GB hard drives in RAID-1. We decided we&#8217;d give [...]]]></description>
			<content:encoded><![CDATA[<p>Back in October 2009 we decided it was time to add some more capacity to our fleet of servers. Two Core 2 Quad servers were acquired and fitted with 8 GB of RAM. We immediately put the first one into use after giving it two 500 GB hard drives in RAID-1. We decided we&#8217;d give virtualisation a shot. Virtualised software licenses are cheaper (i.e. $15/month for cPanel vs. $38) and idle resources on one &#8217;server&#8217; could be allocated to another that needed them more. Made sense to us!</p>
<p>VMware ESXi was the virtualisation platform that we decided to run with. Got some VMs running on it and it seemed fine. &#8216;Barney&#8217; was born. Named after the character in <em>How I Met Your Mother</em>, we had some hope invested in it/him. It was going to be more reliable than Mulder &#8211; which ironically became good after it wasn&#8217;t our sole shared hosting server &#8211; and potentially faster. I got some customers to volunteer to test out the new server and it seemed fine.</p>
<p>Further down the track Barney becomes the worst server on our network. No downtime or anything on it, the speed of it was just a killer. You&#8217;d try to open a WHM session, type in your password, then you&#8217;d have a white screen open for about a minute or two before anything really happened. While waiting for it to start working properly, the load would skyrocket to about 15 to 20 from 0. Once WHM had loaded for that first time the pages would be loading fine and everything would perform nicely. It&#8217;d just be that first time to load every separate session. Seemed as though the hard disk was spinning down, even though it wasn&#8217;t.</p>
<p>Naturally the most logical thing to do is to work out why it&#8217;s going slow. Log into an SSH session, make sure it&#8217;s all working, then load up WHM and wait for the load to spike. Yep, I did exactly that. SSH was always fast, WHM would always be initially sluggish. I&#8217;d have a <span style="color: #008000;">top</span> session running and nothing would seem odd. No resources sitting at 100% CPU usage. Plenty of RAM free, with a reasonable amount cached. Plenty of disk space. No other VMs on the same node hogging resources.</p>
<p>Ranjit was set up on the same node as a DNS server and was eventually going to be used as our primary cPanel DNS server for customers. It had the same problems as Barney. We were never able to work out the cause of this problem. Disappointing, I know. cPanel/WHM just weren&#8217;t liked. I had a Webmin server going on there for some of my own testing stuff and it seemed to work fine overall &#8211; a few patches of slowness here and there, but nothing like encountered with Barney &amp; Ranjit.</p>
<p>At the start of this month we provisioned a new server called Dugong. This was to coincide with the change of ownership, going from Curtis to Michael. Michael&#8217;s a big fan of Dugongs for some reason. If you&#8217;ve seen him on Twitter you&#8217;d think he was an absolute lunatic. Some of his tweets (prior to the acquisition) looked like this:</p>
<blockquote><p><em>Just you wait; Dugong Bank, Dugong Cars, Dugonalds.</em></p>
<p><em>@chombo I demand you rename to Dugong Hosting.</em></p></blockquote>
<p>I wanted to choose some sort of awesome name for the new server, but apparently I didn&#8217;t have a choice. Dugong has so far been an awesome server. Our best yet, in fact. Incredibly fast. What would surprise you is that it runs the exact same hardware as Barney did &#8211; only there&#8217;s no virtualisation involved here. We gradually moved everyone off Barney and on to Dugong. So far I&#8217;ve moved half of the people who were on Mulder onto Dugong. The exceptions being resellers and dedicated IP address customers.</p>
<p>What&#8217;s happening with Barney now? I turned off the VM earlier this evening after the last person on it moved off. I&#8217;ll admit, I did feel a little sentimental when running the <span style="color: #008000;">shutdown -h now</span> command. I had rebooted it many times in the hope of new kernels fixing the slowness, but nothing ever worked. We should soon have that node back up and running soon as &#8216;Dolphin&#8217;. Exactly the same hardware as Dugong. Core 2 Quad, 8 GB of RAM, dual 500 GB hard drives in RAID-1. Same software will be running on it as Dugong &#8211; CentOS 5 (64-bit), cPanel, Installatron, PHP 5, MySQL 5 etc. etc. There will be a slight difference to this server in terms of software configuration. What is that difference going to be? I&#8217;ll make an announcement when it happens. I can tell you now that Dolphin will be used for <span style="color: #000080;">reseller customers</span>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-blog.chombo.com.au/2010/02/11/sweet-dreams-barney/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chombo&#8217;s Tech Blog</title>
		<link>http://tech-blog.chombo.com.au/2010/02/10/chombos-tech-blog/</link>
		<comments>http://tech-blog.chombo.com.au/2010/02/10/chombos-tech-blog/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 11:35:45 +0000</pubDate>
		<dc:creator>Andrew Gould</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tech-blog.chombo.com.au/?p=4</guid>
		<description><![CDATA[Gould. Andrew Gould. Really doesn&#8217;t have the same ring to it as James Bond, does it? It&#8217;s the name my parents gave me, so I&#8217;m stuck with it unless I want to be an outcast from the family. Anyway, I&#8217;m the General Manager of Chombo. In our organisation I&#8217;m the guy who likes to focus [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Gould. Andrew Gould. </strong>Really doesn&#8217;t have the same ring to it as James Bond, does it? It&#8217;s the name my parents gave me, so I&#8217;m stuck with it unless I want to be an outcast from the family. Anyway, I&#8217;m the General Manager of Chombo. In our organisation I&#8217;m the guy who likes to focus on the cool stuff happening behind our doors. What&#8217;s that mean? Provisioning servers, making sure our own sites run fast, keeping your servers going, installing whatever etc. Of course I&#8217;m generally the one doing tickets and doing PR on places like Twitter, Facebook and Whirlpool.</p>
<p>I recently came up with the awesome idea of a blog site where I&#8217;m able to share my excitement about everything with everyone AND go into detail about it. Twitter only lets me tell people some of the stuff that&#8217;s going on. If I do get too carried away I&#8217;d probably lose 100 followers or something. That doesn&#8217;t excite me like this blog should.</p>
<p>Hopefully I&#8217;ll find some time soon to write up some posts on what&#8217;s been happening and why. Watch this space.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-blog.chombo.com.au/2010/02/10/chombos-tech-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
