<?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>ITworks &#187; VirtualBox</title>
	<atom:link href="http://itworks.hu/tag/virtualbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://itworks.hu</link>
	<description>Random musings in IT</description>
	<lastBuildDate>Mon, 09 Jan 2012 08:01:21 +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>Starting VirtualBox on boot</title>
		<link>http://itworks.hu/2009/08/06/starting-virtualbox-on-boot/</link>
		<comments>http://itworks.hu/2009/08/06/starting-virtualbox-on-boot/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 14:13:50 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://itworks.hu/?p=36</guid>
		<description><![CDATA[After setting up VirtalBox based virtualization on our server, I needed a way to have it automatically started and stopped whenever the host is restarted. Also it would be for the better if the system was not simply started and &#8230; <a href="http://itworks.hu/2009/08/06/starting-virtualbox-on-boot/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After setting up VirtalBox based virtualization on our server, I needed a way to have it automatically started and stopped whenever the host is restarted.</p>
<p>Also it would be for the better if the system was not simply started and stopped, but rather saved and restored when possible. I love scripting, but prefer the easy way, and since it&#8217;s a problem many have probably already tackled I sniffed around for a while.</p>
<p>There it was, new and shiny <a href="http://vboxtool.sourceforge.net/">tool</a> to make my day!</p>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2009/08/06/starting-virtualbox-on-boot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting DB2 instances on boot</title>
		<link>http://itworks.hu/2009/08/06/starting-db2-instances-on-boot/</link>
		<comments>http://itworks.hu/2009/08/06/starting-db2-instances-on-boot/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 08:32:27 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://itworks.hu/?p=34</guid>
		<description><![CDATA[After migrating our hosted application to a virtual server I realized, that as usual the system is a &#8220;maintenance free&#8221; Linux, meaning we set it up as it were and left it running for ages without touching it. On the &#8230; <a href="http://itworks.hu/2009/08/06/starting-db2-instances-on-boot/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After migrating our hosted application to a virtual server I realized, that as usual the system is a &#8220;maintenance free&#8221; Linux, meaning we set it up as it were and left it running for ages without touching it. On the occasion of power failure the applications were started manually.</p>
<p>As I don&#8217;t want to restart everything by hand, whenever our system is restarted I decided to iron these glitches out. OK, the system is only restarted about twice a year, but I tend to forget to restart things manually, so that&#8217;s the real reason.</p>
<p><span id="more-34"></span>The hosted application runs on a WebSphere Application Server Community Edtition 2.0 (meaning an IBM branded Apache Geronimo 2.0) which had an init script hacked together from an init script originally for Apache Tomcat. Talking about code reuse is one thing, doing it is another. It had a few quirks, like the JAVA_HOME setup, that were easily ironed.</p>
<p>The application stores it&#8217;s data in an IBM DB2 Universal Database 9.5, which performs beautifully by the way. It&#8217;s running on Debian, and was installed using the factory installer, which created the startup scripts as well. However the DB2 instances are not automatically started, and that&#8217;s a problem.</p>
<p>I was going to write a startup script which starts the db using the instance user, but it turned out it&#8217;s easier than that. DB2 instances can be auto started, only they are not created that way. Changing the flag is easy, as documented <a href="http://publib.boulder.ibm.com/infocenter/db2luw/v9//topic/com.ibm.db2.udb.admin.doc/doc/t0004919.htm?resultof=%22%64%62%32%69%61%75%74%6f%22%20">here</a>, you just have to issue the db2auto command for the instance.</p>
<p>The only thing left is to add some script to auto start the VirtualBox instance, and preferably stop it as well on shutdown.</p>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2009/08/06/starting-db2-instances-on-boot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

