<?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>Infernus &#187; Work</title>
	<atom:link href="http://infernus.org/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://infernus.org</link>
	<description>Don&#039;t feel you have to take any notice of me, please.</description>
	<lastBuildDate>Sat, 17 Sep 2011 19:57:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Linux love for TeamCity</title>
		<link>http://infernus.org/2009/02/linux-love-for-teamcity/</link>
		<comments>http://infernus.org/2009/02/linux-love-for-teamcity/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 15:41:22 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://infernus.org/2009/02/linux-love-for-teamcity/</guid>
		<description><![CDATA[For far too long we&#8217;ve been running our TeamCity build agents on Windows 2003 Server. This was, originally, driven by necessity. We were using Selenium, and out client cared only for a single browser: Internet Explorer. As time progressed we decided Selenium was costing us more than we received from it, so we dropped it. [...]]]></description>
			<content:encoded><![CDATA[<p>For far too long we&#8217;ve been running our <a href="http://www.jetbrains.com/teamcity/index.html">TeamCity</a> build agents on Windows 2003 Server. This was, originally, driven by necessity. We were using Selenium, and out client cared only for a single browser: Internet Explorer. As time progressed we decided Selenium was costing us more than we received from it, so we dropped it. And so we ended up using Windows to build for historical reasons only. And, of course, inertia.</p>
<p>So, over the last day or two, I&#8217;ve been building up replacements. Our build box is actually a PowerEdge 1950, split into two machines with the aid of <a href="http://www.vmware.com/products/esxi/">VMWare ESXi</a>. So I hacked together a build agent on VMWare Fusion to use as a template, copied it onto ESX, and set it spinning.</p>
<p>This was the point I got a kick in the arse. We were using Ubuntu 8.10 64bit &#8211; and ESX didn&#8217;t like it one bit. So I dragged a LCD and keyboard up to the server room and had a nose in the BIOS &#8211; sure enough, Dell had left VT off. Bloody Dell. I took advantage of the visit to <a href="http://www.yellow-bricks.com/2008/08/10/howto-esxi-and-ssh/">hack SSH on in ESXi</a> and headed downstairs.</p>
<p>No luck. Same error.</p>
<p>An hour later I stumbled on the solution. The VM had paravirtualisation turned on. Paravirtualisation, apparently, only supports 32bit hosts. Off went paravirtualisation and on went the build server. Win!</p>
<p>So, victory, one less Windows server, and once more a severe wish that VMWare would produce Infratructure Client for either Linux or Mac OS X.</p>
<p>That wasn&#8217;t all I learnt of value, however. JetBrains are good enough to <a href="http://www.jetbrains.net/confluence/display/TCD4/Setting+up+and+Running+Additional+Build+Agents">tell you how to start TeamCity automatically</a> on Windows (via a server) and the Mac (via launchd) and complete omit Linux. So I went and found out about <a href="http://upstart.ubuntu.com/">Upstart</a>.</p>
<p>End solution: create the scripts below in /etc/event.d. They&#8217;ll run on startup/shutdown, and can also be started manually using:</p>
<pre>sudo start [start|stop]-teamcity-buildagent</pre>
<h2>/etc/event.d/start-teamcity-buildagent</h2>
<pre>
start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5

console output

script
	exec su -l buildagent -c '/opt/build-agent/bin/agent.sh start'
end script
</pre>
<h2>/etc/event.d/stop-teamcity-buildagent</h2>
<pre>
start on shutdown

console output
script
	exec su -l buildagent -c '/opt/build-agent/bin/agent.sh stop'
end script
</pre>
]]></content:encoded>
			<wfw:commentRss>http://infernus.org/2009/02/linux-love-for-teamcity/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vive la différence!</title>
		<link>http://infernus.org/2008/12/vive-la-difference/</link>
		<comments>http://infernus.org/2008/12/vive-la-difference/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 19:59:55 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://infernus.org/wordpress/?p=11</guid>
		<description><![CDATA[Michael Arrington has written a somewhat strong piece on his views on European startups. As always, a browse of the comments leads you to the conclusion that arrogance and defensiveness are common traits shared across the Atlantic. However, I think Michael has missed a rather important point &#8211; while correctly attacking the climate (in particular [...]]]></description>
			<content:encoded><![CDATA[<p>Michael Arrington has written a somewhat strong piece on his views on <a href="http://www.techcrunch.com/2008/12/13/joie-de-vivre-the-europeans-are-out-to-lunch/">European startups</a>.</p>
<p>As always, a browse of the comments leads you to the conclusion that arrogance and defensiveness are common traits shared across the Atlantic. However, I think Michael has missed a rather important point &#8211; while correctly attacking the climate (in particular bureaucracy) arrayed against start-ups he misses that his definition of success is an American one.</p>
<p>Maybe working 70 hours a week for years turns him on. Good for him. He can profit from our varying attitude and hopefully we&#8217;ll profit from what he&#8217;s producing. In the meantime, we&#8217;ll have a fair work-life balance and work hard without forgetting the other things in life. Chances are we won&#8217;t be outlandishly rich, chances are he&#8217;ll spend less time with friends and family. Neither approach is wrong, merely different.</p>
<p>He also appears to believe that being bought out by an American company is failure. Given the amount of money changing hands it&#8217;s an interesting definition. Even in America, independence is not always a company goal.</p>
<p>I fear I won&#8217;t be moving to America any time soon to join in the Silicon Valley 24-hour workday. In any case, even if I wanted that lifestyle the pound won&#8217;t buy very much elsewhere ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://infernus.org/2008/12/vive-la-difference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: infernus.org @ 2012-02-10 02:20:57 -->
