<?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>Attila Sukosd&#039;s blog</title>
	<atom:link href="http://attila.patup.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://attila.patup.com</link>
	<description></description>
	<lastBuildDate>Sun, 13 Jun 2010 11:08:08 +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>ProxMox (OpenVZ) + Fog Project (v0.29)</title>
		<link>http://attila.patup.com/?p=7</link>
		<comments>http://attila.patup.com/?p=7#comments</comments>
		<pubDate>Sun, 13 Jun 2010 11:08:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Default]]></category>

		<guid isPermaLink="false">http://attila.patup.com/?p=7</guid>
		<description><![CDATA[Alright, so at one of my works in my university, I am in charge of around 40 workstations with some very good hardware (i7, 6/12GB ram, Nvidia Quadro FX5800), and all of it should of course run Windows 7 to take advantage of the DX11 support etc.  In the previous years, the sysadmins before me [...]]]></description>
			<content:encoded><![CDATA[<p>Alright, so at one of my works in my university, I am in charge of around 40 workstations with some very good hardware (i7, 6/12GB ram, Nvidia Quadro FX5800), and all of it should of course run Windows 7 to take advantage of the DX11 support etc.  In the previous years, the sysadmins before me were using Symantec Ghost to image all the machines, by running around and popping in a CD to every machine (back then ghost didnt support pxe boot)</p>
<p>Anyway, since I&#8217;m not a big fan of Windows or Symantec, I&#8217;ve decided to look for an opensource solution, and the nicest one I&#8217;ve found was http://fogproject.org. It has a pretty good web interface, and supports many things..</p>
<p>So recently, I&#8217;ve setup a ProxMox cluster of 2 32bit P4 machines (more on that in another post), which of course have no Intel-VT to run kvm guests, and since I&#8217;m planning to run linux on the server side mostly, OpenVZ serves the purpose with much less overhead anyway. Then I just created a new VM for Fog, downloaded the latest sources/installer, but then I realised it tries to use the kernel NFS server, which obviously won&#8217;t work since OpenVZ shares kernels with the host, so after looking at the source for 5 minutes, it turns out you only need to change 4 lines to replace nfs-kernel-server with unfs3, which runs in the user space:</p>
<p>lib/ubuntu/functions.sh (lines 108-110):</p>
<p>sysv-rc-conf nfs-kernel-server on &gt;/dev/null 2&gt;&amp;1;<br />
/etc/init.d/nfs-kernel-server stop &gt;/dev/null 2&gt;&amp;1;<br />
/etc/init.d/nfs-kernel-server start &gt;/dev/null 2&gt;&amp;1;</p>
<p>To:</p>
<p>sysv-rc-conf unfs3 on &gt;/dev/null 2&gt;&amp;1;<br />
/etc/init.d/unfs3 stop &gt;/dev/null 2&gt;&amp;1;<br />
/etc/init.d/unfs3 start &gt;/dev/null 2&gt;&amp;1;</p>
<p>And in lib/ubuntu/config.sh (lines 24,25):</p>
<p>packages=&#8221;apache2 php5 php5-gd php5-cli php5-mysql php5-curl mysql-server mysql-client dhcp3-server tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd  sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc perl libcrypt-passwdmd5-perl lftp openssh-server php-gettext clamav-freshclam&#8221;;<br />
storageNodePackages=&#8221;apache2 php5 php5-cli php5-mysql php5-curl mysql-client nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 lftp php-gettext&#8221;;<br />
langPackages=&#8221;language-pack-it language-pack-en language-pack-zh-hans&#8221;;<br />
dhcpname=&#8221;dhcp3-server&#8221;;</p>
<p>To:</p>
<p>packages=&#8221;apache2 php5 php5-gd php5-cli php5-mysql php5-curl mysql-server mysql-client dhcp3-server tftpd-hpa tftp-hpa unfs3 vsftpd net-tools wget xinetd  sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc perl libcrypt-passwdmd5-perl lftp openssh-server php-gettext clamav-freshclam&#8221;;<br />
storageNodePackages=&#8221;apache2 php5 php5-cli php5-mysql php5-curl mysql-client unfs3 vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 lftp php-gettext&#8221;;<br />
langPackages=&#8221;language-pack-it language-pack-en language-pack-zh-hans&#8221;;<br />
dhcpname=&#8221;dhcp3-server&#8221;;</p>
<p>Then just run the installfog.sh in the bin directory, and you should be good to go!</p>
<p>I haven&#8217;t tested performance extensively yet, but it seems decent so far.</p>
]]></content:encoded>
			<wfw:commentRss>http://attila.patup.com/?feed=rss2&amp;p=7</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to my new blog!</title>
		<link>http://attila.patup.com/?p=5</link>
		<comments>http://attila.patup.com/?p=5#comments</comments>
		<pubDate>Sun, 02 May 2010 07:27:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Default]]></category>

		<guid isPermaLink="false">http://attila.patup.com/?p=5</guid>
		<description><![CDATA[Hello!
Welcome to my new blog! I decided to start one again and this time I&#8217;ll try to keep it updated as much as possible  
More to follow..
]]></description>
			<content:encoded><![CDATA[<p>Hello!</p>
<p>Welcome to my new blog! I decided to start one again and this time I&#8217;ll try to keep it updated as much as possible <img src='http://attila.patup.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>More to follow..</p>
]]></content:encoded>
			<wfw:commentRss>http://attila.patup.com/?feed=rss2&amp;p=5</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
