<?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>Pervasive Code &#187; vmware</title>
	<atom:link href="http://www.pervasivecode.com/blog/category/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pervasivecode.com/blog</link>
	<description>Jamie Flournoy's Software Development Blog</description>
	<lastBuildDate>Mon, 26 Jul 2010 05:29:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CentOS 5.3 Minimal VPS Install Guide</title>
		<link>http://www.pervasivecode.com/blog/2009/05/30/centos-53-minimal-vps-install-guide/</link>
		<comments>http://www.pervasivecode.com/blog/2009/05/30/centos-53-minimal-vps-install-guide/#comments</comments>
		<pubDate>Sat, 30 May 2009 16:52:14 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/?p=95</guid>
		<description><![CDATA[I just did this yesterday; you can pretty much just follow my CentOS 5.1 Minimal VPS Install Guide.
The differences are:

When you get to the &#8220;More Minimizing&#8221; section, yum -C grouplist will show a package called &#8220;Yum Utilities&#8221; which you probably want to leave installed.
The Deployment_Guide-en-US file is not there so you don&#8217;t need to remove [...]]]></description>
			<content:encoded><![CDATA[<p>I just did this yesterday; you can pretty much just follow my <a href="http://www.pervasivecode.com/blog/2008/03/29/centos-51-minimal-vps-install-guide/">CentOS 5.1 Minimal VPS Install Guide</a>.</p>
<p>The differences are:</p>
<ul>
<li>When you get to the &#8220;More Minimizing&#8221; section, <code>yum -C grouplist</code> will show a package called &#8220;Yum Utilities&#8221; which you probably want to leave installed.</li>
<li>The <code>Deployment_Guide-en-US</code> file is not there so you don&#8217;t need to remove it.</li>
</ul>
<p>That&#8217;s it.</p>
<p>I should also note that downloading a 3.9GB DVD ISO image in order to build a ~700MB installed OS may not be very efficient. I didn&#8217;t bother looking for a network installer but that might be the way to get this done faster.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2009/05/30/centos-53-minimal-vps-install-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 5.1 Minimal VPS Install Guide</title>
		<link>http://www.pervasivecode.com/blog/2008/03/29/centos-51-minimal-vps-install-guide/</link>
		<comments>http://www.pervasivecode.com/blog/2008/03/29/centos-51-minimal-vps-install-guide/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 07:00:25 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/03/29/centos-51-minimal-vps-install-guide/</guid>
		<description><![CDATA[I&#8217;m working on a project that is deploying on CentOS 5.1, and I found it not entirely obvious how to install a really stripped down server, as a starting point for a lean and mean, hardened production server. Since I&#8217;m doing work on this at home on VMWare, and it&#8217;s being deployed on a VPS [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a project that is deploying on CentOS 5.1, and I found it not entirely obvious how to install a really stripped down server, as a starting point for a lean and mean, hardened production server. Since I&#8217;m doing work on this at home on VMWare, and it&#8217;s being deployed on a VPS initially (and probably will remain virtualized for ease of management as it scales up), this guide is specifically aimed at this kind of configuration.</p>
<p><span id="more-63"></span></p>
<p><b>Assumptions:</b></p>
<ul>
<li>this server uses an x86_64 CPU architecture, not i386 (or for an ultra-small disk footprint, consider i386 since it doesn&#8217;t need duplicate 64 and 32 bit glibc libraries)</li>
<li>this is a server VPS (running in VMware or Xen) so it isn&#8217;t interested in low-level hardware management</li>
<ul>
<li>no need for ACPI (sleep/hibernate)</li>
<li>no need for laptop CPU power reduction</li>
<li>no need for SMART disk monitoring (since the VPS disk is virtualized)</li>
<li>no need for MD (software RAID) since it&#8217;s a VPS; any RAID is happening at a lower level (host OS / dom0)</li>
<li>no need to use LVM2 to mirror a logical volume (again because RAID is handled outside of the VPS)</li>
<li>no need for bluetooth, hot-plug hardware, or PCMCIA</li>
</ul>
<li>this server may have more than one CPU (or may be given additional VCPUs later due to load) so multi-CPU support is desired</li>
<li>this is a headless server so no GUI features are desirable</li>
<li>there are no legacy services that need RPC</li>
<li>NFS will not be used</li>
<li>SELinux will be left in the default configuration (&#8221;Enforcing&#8221; the &#8220;Targeted&#8221; policy).</li>
</ul>
<p><b>Basic Installation:</b></p>
<p>Start with the Centos 5.1 x86_64 install DVD.<br />
Boot the DVD.<br />
Select English language and U.S. English keyboard layout.<br />
Choose to Install the OS (not upgrade).<br />
Choose &#8220;Remove linux partitions on selected drives and create default layout.&#8221;<br />
Select DHCP network configuration, or the static IP address for this server.<br />
  (I choose DHCP, and tell the DHCP server to use a specific IP for this host based on its Ethernet MAC address.)<br />
Choose the time zone the server is in (for me this is America/Los Angeles), and enable the &#8220;System clock uses UTC&#8221; option.<br />
Pick a complex root password (https://grc.com/passwords can generate one for you) and enter it.<br />
When given a chance to install additional tasks, uncheck everything (no additional tasks) and choose the &#8220;Customize now&#8221; radio button.<br />
In the next screen, go into every group and uncheck everything. (*Nothing* should be checked when you&#8217;re done. Be careful not to miss anything!)<br />
Confirm that you want the installer to begin the installation process. (For me this process took about 6 minutes.)<br />
Confirm that you want to reboot, and make sure that the server will boot from the hard disk instead of the installation media.<br />
When the server boots, log in as root. (You can disconnect from the console and use SSH instead at this point if it&#8217;s more convenient.)</p>
<p><b>More Minimizing:</b><br />
Run this command to tell yum to go grab the latest package info from out on the internet.<br />
  <code>yum grouplist</code><br />
Run this command to make sure you didn&#8217;t install anything other than the bare minimum:<br />
  <code>yum -C grouplist</code><br />
You shouldn&#8217;t see a section called &#8220;Installed Groups:&#8221;. If you do see it, it means you missed something you were supposed to disable in the previous section.<br />
In that case, run this to remove it and all the packages in it:<br />
  <code>yum -C groupremove SomeGroupName</code></p>
<p>You can also run this command to count how many packages have been installed already:<br />
  <code>yum -C list installed | wc -l</code><br />
The resulting count of packages installed should be 154.</p>
<p>Next, run &#8220;<code>chkconfig --list | grep 3:on</code>&#8221; to see what services are enabled.<br />
Several of them can safely be disabled (provided that the assumptions at the top of this guide are true), so run this:<br />
  <code>for i in haldaemon lvm2-monitor messagebus netfs; do chkconfig $i off; done</code><br />
These are useful and should stay enabled:<br />
  ip6tables<br />
  iptables<br />
  kudzu<br />
  mcstrans<br />
  network<br />
  restorecond<br />
  sshd<br />
  syslog<br />
If for some reason there are others that are still enabled that aren&#8217;t on that list, you&#8217;ll have to decide for yourself.</p>
<p>Run this command to remove a 9.7MB standalone documentation package that you almost certainly won&#8217;t be reading from the server:<br />
  <code>yum -C remove Deployment_Guide-en-US</code></p>
<p>If you wish, run this command to update your installed packages to the latest stable version.<br />
  <code>yum update</code><br />
  As of 3/27/2008 this installed a new kernel, updated 19 other packages, and required a 54MB download.<br />
  Accept the CentOS package-signing GPG key when asked.<br />
  If a kernel update is installed, it would be a good idea to reboot soon to make sure it works.<br />
  You can also remove your old kernel (use &#8220;rpm -qa | grep kern&#8221; to find old ones) to save ~75MB.<br />
    <code>yum remove kernel-2.6.18-53.el5</code> NOTE! ONLY do this if you updated your kernel and have 2 installed now.</p>
<p><b>Useful Things You May Want To Install:</b></p>
<p>These packages are very useful for administering servers, deploying software and data to them, and performing backups:<br />
  <code>yum install bzip2 lsof man man-pages mlocate quota rsync sysstat vixie-cron wget which</code></p>
<p>If your server has more than 1 CPU you may wish to install irqbalance, to distribute interrupt servicing duty across CPUs:<br />
  <code>yum install irqbalance</code></p>
<p>This package makes the system boot slightly faster using a very simple, safe technique:<br />
  <code>yum install readahead</code></p>
<p>If you aren&#8217;t familiar with the vim text editor, you can install nano, which is less powerful but very easy to use:<br />
  <code>yum install nano</code></p>
<p>Have fun! Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/03/29/centos-51-minimal-vps-install-guide/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Athlon64 3500+ to Opteron 175 upgrade notes</title>
		<link>http://www.pervasivecode.com/blog/2008/03/01/athlon64-3500-to-opteron-175-upgrade-notes/</link>
		<comments>http://www.pervasivecode.com/blog/2008/03/01/athlon64-3500-to-opteron-175-upgrade-notes/#comments</comments>
		<pubDate>Sun, 02 Mar 2008 00:36:42 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/03/01/athlon64-3500-to-opteron-175-upgrade-notes/</guid>
		<description><![CDATA[In short, gain with minimal pain, a couple of small hitches. I went single-core to dual-core with a drop-in replacement CPU and it was almost as easy as replacing the batteries in a flashlight.

My main home server is getting old. It was bought in September of 2004, and featured an Athlon64 3500+ processor, 1GB of [...]]]></description>
			<content:encoded><![CDATA[<p>In short, gain with minimal pain, a couple of small hitches. I went single-core to dual-core with a drop-in replacement CPU and it was almost as easy as replacing the batteries in a flashlight.</p>
<p><span id="more-61"></span></p>
<p>My main home server is getting old. It was bought in September of 2004, and featured an Athlon64 3500+ processor, 1GB of RAM, and a heap of hard disks. It&#8217;s still very fast as a file server, and has 3GB RAM now, so other responsibilities (backups, virus and spam filtering of email, etc.) are handled quite quickly too. However, I&#8217;m starting to do more server virtualization for work purposes (test environments with various OS and app configurations) on this server, so I figured it&#8217;d be nice to catch up to a more recent CPU that had multiple cores.</p>
<p>The Socket 939 processor line from AMD is almost phased out now. Upgrading to a new Socket AM2 CPU would mean a new motherboard, and based on the churn in the PC industry, that might lead to some serious cascading upgrades.</p>
<p>For example, the motherboard in this system died a couple of years ago, and it turned out that the PC industry switched to a new type of power connector, so I ended up having to also buy a new power supply also. At the same time, I had to rearrange hard disks because some were attached via a pair of PCI ATA-133 cards, but there were only 3 PCI slots on the new motherboard, and I also had a 3ware 8006-LP (SATA RAID) card, and a video card, fighting for room in those 3 slots. Fun!</p>
<p>The PC enthusiast solution to this sort of problem is apparently to buy a shiny new computer every year, full of brand new parts that match. That would be simple, but would cost about five times as much as what I&#8217;ve done. I was keen to keep the cascade of surprise upgrades to a minimum, which meant trying to stay with Socket 939, and maintaining the same clock rate.</p>
<p>Luckily the Opteron 175 fit the bill exactly: 2.2GHz, Socket 939, dual core, and about $150. That&#8217;s right in my price range for a non-critical but noticeable speed upgrade.</p>
<p>I bought it from Newegg, who by the way rock utterly. It showed up promptly and I opened it up, and&#8230; ugh. A new style of plug for the heatsink fan? Hmm, can I use the old heatsink? Maybe&#8230; but the new one looks much fancier. (The new one is on the left and the old one is on the right.)</p>
<p><img src="/images/socket939/new_and_old_heatsinks.jpg" width="492" height="369" /></p>
<p>Note the <a href="http://en.wikipedia.org/wiki/Heat_pipe">heat pipe</a>:</p>
<p><img src="/images/socket939/new_heatsink_side.jpg" width="256" height="192" /></p>
<p>It was pretty obvious what the copper tubing was for, but I didn&#8217;t know about the cool capillary circulation aspect (no pump!) nor that this had become mainstream technology for low-end coolers. Nifty.</p>
<p>Also notice that the new one (in the first photo alongside the old one) has pre-applied thermal paste. It&#8217;s the light gray square in the middle. I wiped most of the paste off of the old one, in anticipation of maybe needing to re-apply new paste and use it again due to the 3 vs. 4 pin problem.</p>
<p>Some reading about this plug switchover led me to believe that the 4th pin was optional and that the new plug was designed to fit into old-style plugs as needed. I tried it and it worked fine.</p>
<p>Here&#8217;s the socket with no CPU in it; you can see the white 3-pin connector labeled &#8220;CPU FAN&#8221; in the upper right corner.</p>
<p><img src="/images/socket939/socket_939_empty.jpg" width="433" height="569" /></p>
<p>And here is a close-up of the 4-pin cable plugged into the 3-pin connector, overhanging a large screw. Note that the right side of the plug has two plastic ridges designed to force you to plug it in the right way. Clever!</p>
<p><img src="/images/socket939/after_installation.jpg" width="333" height="457" /></p>
<p>Still, if you fail to plug the CPU fan in and the CPU overheats and dies, you void your warranty, so I&#8217;m glad I checked before just plugging it in and hoping it&#8217;d work.</p>
<p>I thought about the conventional wisdom, which is first that &#8220;box coolers&#8221; (the CPU coolers that come in the box with CPUs from the manufacturer) are lame, and second that overclocking an Opteron 175 works well. Given that I have no intention of overclocking this thing, I figured that the box cooler would be fine.</p>
<p>After I put the server back together, I ran two instances of <code>burnK7</code> (from the <a href="http://packages.ubuntu.com/gutsy/cpuburn">cpuburn package</a>) for a little over an hour, to keep both cores super busy. <code>burnK7</code>&#8217;s mission in life is to make your CPU temperature as hot as possible. The temperature never exceeded 57C for either core, compared to an idle temperature of 37C. The ambient temperature was 69F, and the case is not particularly fancy (2 fans in, 1 out, plus one in the power supply), so I&#8217;d have to say that the box cooler and preinstalled thermal paste are fine.</p>
<p>Overclockers may disagree and favor fancier coolers, but from experience I know that in this server, the hard disks are more likely to overheat on a hot day. I added an external desk fan to this server&#8217;s rack last year to resolve that problem, which was caused mainly by poor external air circulation.</p>
<p>A couple of things went more easily than I had expected. First, when researching this upgrade I found that (at least for Ubuntu Gutsy, possibly for other Linux releases or distros) there regular AMD64 kernel has SMP support. So, no OS tweaking was required to support the Opteron 175&#8217;s dual cores. Second, VMware Server recognized the second CPU and used both CPUs when I ran some tests on two uniprocessor virtual servers. Interestingly, <code>/proc/cpuinfo</code> on a virtualized Linux server shows the right CPU name for what is a dual-core CPU, but only lists one core, which matches the VMware configuration for that virtual server.</p>
<p>VMware did complain in a couple of cases about the different CPU feature set, when resuming suspended VMs. You can dismiss the message and run the VM, and that works, but it warns each time in my case because they are set up as locked snapshots (always restoring from the point where it was originally suspended, before the CPU upgrade).</p>
<p>This is minor, and the fix to make the warnings go away is quick: resume the VM from the old snapshot (dismissing the warning message), unlock the snapshot, make a new snapshot, lock that, and suspend (or power off) the VM. Now when you resume it in the future the warning will not appear. That&#8217;s simple to do, but it wasn&#8217;t 100% seamless, so I thought I&#8217;d mention it. I am glad that there was a warning, though; that would have helped if there had been an actual problem caused by the CPU change. In my opinion VMware does exactly the right thing.</p>
<p>So, all in all this was a very pleasant upgrade; quick, cheap, and effective (for server workloads which parallelize easily, this server is almost twice as fast as before).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/03/01/athlon64-3500-to-opteron-175-upgrade-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leopard GUI Crashes &#8211; Not Parallels but Canon?</title>
		<link>http://www.pervasivecode.com/blog/2008/02/22/leopard-gui-crashes-not-parallels-but-canon/</link>
		<comments>http://www.pervasivecode.com/blog/2008/02/22/leopard-gui-crashes-not-parallels-but-canon/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 04:05:28 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2008/02/22/leopard-gui-crashes-not-parallels-but-canon/</guid>
		<description><![CDATA[I had some serious  Leopard stability problems recently. I thought I had found the problem but I was wrong then.
This time I&#8217;m pretty sure I&#8217;ve gotten rid of all the badness. I&#8217;ve had almost 2 days of continuous uptime, which may not sound like something to get excited about, but it sure beats the [...]]]></description>
			<content:encoded><![CDATA[<p>I had some <a href="/blog/2008/02/14/leopard-gui-crashes-solved-caused-by-outdated-parallels-kernel-modules/">serious  Leopard stability problems</a> recently. I thought I had found the problem but I was wrong then.</p>
<p>This time I&#8217;m pretty sure I&#8217;ve gotten rid of all the badness. I&#8217;ve had almost 2 days of continuous uptime, which may not sound like something to get excited about, but it sure beats the 4-6 hour average uptime I&#8217;ve had for the past few weeks.</p>
<p>I&#8217;ve spent so much time on this that I&#8217;m not willing to put in the extra 4-8 hours it would take to really truly isolate this issue. But my best guess is that it was the Canon drivers for my recently purchased Canon PIXMA MX310 multifunction printer. Specifically I think it&#8217;s the scanner driver, but I&#8217;m not certain. If so, that would mean that the culprits were <code>BJUSBLoad.kext</code> and <code>BJUSBMP.kext</code> in /System/Library/Extensions.<br />
<span id="more-60"></span><br />
I got fed up a couple of days ago and started using <code>sudo rm -rf</code> on anything that looked suspicious, based on the output of <code>launchctl list</code>. That included completely removing a recently installed copy of VMWare Fusion, and everything that had been installed for my prior printer, which was an HP PSC 1600. I also re-disabled all my fonts, leaving only the required ones (see the prior post for info about that).</p>
<p>The clue came when I had to scan something this past weekend. I had already reinstalled Leopard on an external drive and brought it up to 10.5.2 with the Leopard Graphics Update 1.0, and it was fine. So, I was using the external drive&#8217;s clean Leopard install to get work done. (As a re-cap, Safe Boot mode on the internal hard drive had worked fine also. So I knew it had to be something not installed on the external drive yet, that was loaded only in non-Safe Boot mode.)</p>
<p>In order to scan a document I had to install the Canon drivers for the printer and scanner. A couple of hours after doing so, the system froze up. I hadn&#8217;t yet made the mental association between the Canon drivers and the subsequent crash, so I kept using the system for a while, even though it was crashing and requiring a reboot every few hours. At that point I decided to punt and go back to using my internal drive, since it was no worse now than the reinstall.</p>
<p>So, given that info, and the fact that I had never installed the HP drivers nor VMWare Fusion on the external drive, I&#8217;m pretty sure it was one of the Canon drivers. Otherwise there would have to be something in my user directory (which I copied over from the internal drive) which managed to start up something that was not installed on the active boot disk. That seems unlikely to me, but possible. In the launchd config files I&#8217;ve seen, the paths are hard-coded to where the installer puts things, so even though the internal drive was mounted, those things should have failed to start because the actual installed drivers and daemons are not where they were expected to be.</p>
<p>So, which Canon driver is it? Probably the scanner driver. From what I can tell, the printer driver is more or less an outgoing thing: try and print, and it looks on the USB bus for the printer, and prints to it. However, the scanner driver has to deal with the case where the user presses the &#8220;Scan&#8221; button on the printer&#8217;s control panel. If that happens it launches either Image Capture.app or the &#8220;MP Navigator EX&#8221; application which is Canon&#8217;s multifunction dashboard app. My suspicion is that this is what those two kexts are for.</p>
<p>So, if you get this kind of trouble, try blowing away those two kexts (wouldn&#8217;t it be grand if Canon provided an uninstall feature for their scanner driver?) and rebooting and see if that fixes it. Better yet, delete them one at a time and reboot each time, and see if you can figure out which one is really the problem.</p>
<p><b>Update: It was actually an intermittent hardware problem and Apple has replaced the logic board of this computer.</b></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2008/02/22/leopard-gui-crashes-not-parallels-but-canon/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux 7.10 &#8220;Gutsy Gibbon&#8221; Upgrade Report</title>
		<link>http://www.pervasivecode.com/blog/2007/12/28/ubuntu-linux-710-gutsy-gibbon-upgrade-report/</link>
		<comments>http://www.pervasivecode.com/blog/2007/12/28/ubuntu-linux-710-gutsy-gibbon-upgrade-report/#comments</comments>
		<pubDate>Fri, 28 Dec 2007 19:37:13 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2007/12/28/ubuntu-linux-710-gutsy-gibbon-upgrade-report/</guid>
		<description><![CDATA[A few weeks ago I updated to the latest version of Ubuntu Linux. This is the 7.10 (meaning October 2007) release, called &#8220;Gutsy Gibbon&#8221;. I encountered a couple of serious issues early on, but now that these are resolved things are running well. I&#8217;ll describe the issues and solutions so that anyone else encountering them [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I updated to the latest version of Ubuntu Linux. This is the 7.10 (meaning October 2007) release, called &#8220;Gutsy Gibbon&#8221;. I encountered a couple of serious issues early on, but now that these are resolved things are running well. I&#8217;ll describe the issues and solutions so that anyone else encountering them can easily overcome them.<br />
<span id="more-54"></span></p>
<p>I used the instructions on the <a href="https://help.ubuntu.com/community/GutsyUpgrades?highlight=%28upgrade%29#head-f2435a45758bb5836f8e5b87e90045463f8c6ec7">GutsyUpgrades</a> page of the Ubuntu help wiki, under the heading &#8220;Network upgrade for Ubuntu servers (recommended)&#8221;. This is the command-line way of doing things, which is appropriate for administering a remote server via SSH. There are two steps: install the updater, and run the updater. That&#8217;s pretty slick.</p>
<p>Unfortunately as usual with Debian based releases there are many cases (a dozen or so) where the simple act of updating a package from an old version to a new version causes the installer to plead for human guidance. I find it irritating that if you change the default configuration at all, it cannot simply merge your changes into the new config file and continue. You have to do that manually. This is tedious, but not a really big issue.</p>
<p>In my case I had to manually merge apache2.conf, php.ini, and dovecot.conf because I had made a single line change in each file.</p>
<p>Upon reboot there were vast numbers of error messages, which I ultimately determined to have been caused by <a href="https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/115616">this issue</a>. Removing <code>evms</code> solved the problem, and now there&#8217;s a <a href="https://wiki.ubuntu.com/Evms">special page about <code>evms</code> and why it&#8217;s no longer supported</a>. Based on my reading of that page I suspect that there may be a new version of the Gutsy Gibbon updater that actually helps you by suggesting that you get rid of <code>evms</code> proactively to prevent this problem. Nice! Anyway my fix was simply to wait until the system had booted (slowly, with lots of error messages) and to carefully type in <code>apt-get remove evms</code> which I couldn&#8217;t even see as I typed because of the flood of error messages. Once that was done that problem went away completely.</p>
<p>I had a separate problem which was that the kernel has re-named the devices for my hard disks, which made a couple of my drives appear not to be recognized by the system. I use Linux Software RAID for a single mirrored volume, and for some reason it couldn&#8217;t use the volume UUID to figure out where the drives had gone. After recompiling a custom kernel using <a href="http://ubuntuforums.org/showthread.php?t=311158">these excellent instructions</a> to try and resolve <a href="https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/157909">this issue</a> (which turned out to be a red herring), I found out that I was on the wrong track. (But I also found out that it only takes 56 minutes to compile a kernel on my server, which isn&#8217;t too bad.) I read dmesg extremely carefully and figured out what had happened. Some work with mdadm told the software RAID manager how to find the components of my RAID mirror and all was well with that. My understanding is that since /etc/fstab includes UUIDs now, drives moving around shouldn&#8217;t cause problems like this, so maybe this is a problem specific to the Software RAID system. Other drives moved but were located and mounted properly, with no need for manual intervention.</p>
<p>Finally, I had to update to VMWare Server 1.0.4, which is the first version that supports the kernel included with Gutsy Gibbon (2.6.22-14-server).</p>
<p>Now that all this is behind me I can say that for servers it&#8217;s a decent update; I have no experience with it as a desktop. If you have any doubts you can probably skip this one and wait for the next <a href="https://wiki.ubuntu.com/LTS">LTS</a> release. But if you do plan to upgrade, just make sure to remove <code>evms</code> first and look in the /dev/sd_ range for any hard drives that seem to have disappeared.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2007/12/28/ubuntu-linux-710-gutsy-gibbon-upgrade-report/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Looking forward to LinuxWorld Expo SF 2007</title>
		<link>http://www.pervasivecode.com/blog/2007/07/27/looking-forward-to-linuxworld-expo-sf-2007/</link>
		<comments>http://www.pervasivecode.com/blog/2007/07/27/looking-forward-to-linuxworld-expo-sf-2007/#comments</comments>
		<pubDate>Sat, 28 Jul 2007 02:58:52 +0000</pubDate>
		<dc:creator>Jamie Flournoy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[gfs]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[xen]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://www.pervasivecode.com/blog/2007/07/27/looking-forward-to-linuxworld-expo-sf-2007/</guid>
		<description><![CDATA[Last year I was doing mobile development and there was interesting Linux-as-smartphone-OS stuff going on. Now I&#8217;m doing Ruby on Rails development and there&#8217;s interesting server grid stuff going on. Here&#8217;s what I&#8217;m looking forward to finding out more about (all of these are things I&#8217;ve been watching or directly researching already):

Xen:
Xen seems to have [...]]]></description>
			<content:encoded><![CDATA[<p>Last year I was doing mobile development and there was interesting Linux-as-smartphone-OS stuff going on. Now I&#8217;m doing Ruby on Rails development and there&#8217;s interesting server grid stuff going on. Here&#8217;s what I&#8217;m looking forward to finding out more about (all of these are things I&#8217;ve been watching or directly researching already):<br />
<span id="more-36"></span><br />
<b>Xen</b>:<br />
<a href="http://www.xensource.com/products/xen/">Xen</a> seems to have eclipsed <a href="http://www.vmware.com/">VMware</a> as the standard low-cost virtualization solution, and virtualization looks like a giant sysadmin time saver for people like me who want to start dirt cheap (tens of dollars / month for a single Xen VPS) and potentially have dozens of servers in multiple data centers a few months later. I&#8217;d like to see what people are doing with it, especially along the lines of turning distro ISOs into preinstalled Xen images, and making tools to ease the creation and deployment of existing custom Xen images.</p>
<p><b>GFS, ZFS:</b><br />
I&#8217;m also interested in distributed filesystems like <a href="http://www.redhat.com/software/rha/gfs/">GFS</a>. I was under the impression until a few months ago that <a href="http://www.linuxinsight.com/ols2006_why_nfs_sucks.html">gross ugly NFS</a> was still the state of the art, but apparently somebody has finally addressed that. <em>Correction: GFS is a SAN filesystem, not a distributed filesystem, so it isn&#8217;t really comparable with NFS.</em><br />
<a href="http://www.opensolaris.org/os/community/zfs/">ZFS</a> is also interesting, because RAID has turned out to be complicated and expensive, mainly because it has to provide a transparent abstraction of a simple low-level block device. In classic time-sharing situations where many users run many applications on one volume that made more sense than it does now, where many users share one clustered application that has one dominant usage pattern across a large number of servers, each of which has several disks. The smaller set of requirements means that you can customize the clustered storage behavior and get major cost and performance savings, and ZFS seems to be a really good halfway point between application-level 100% custom clustered storage code, and kernel or hardware-level 100% generic RAID. The goal here would be to have dozens of cheap servers with several cheap drives each connected to cheap (motherboard-based) controllers, with HA and parallelization provided in software. </p>
<p><b>PostgreSQL:</b><br />
Also I&#8217;m becoming a total <a href="http://www.postgresql.org/">PostgreSQL</a> weenie and I want to see how they&#8217;re presenting themselves, and who&#8217;s making closed-source enterprise add-ons, esp. since Sun is increasingly investing in PostgreSQL (in a way that benefits the PostgreSQL community, not just Sun and Sun&#8217;s customers). Sun&#8217;s wagon is no longer hitched to Oracle on Solaris on SPARC, and the open stack of PostgreSQL on Linux (or Solaris) on x86 is proving to be extremely cost effective without sacrificing features, data integrity, or SMP scalability (as has been the case with MySQL). I think the &#8220;who&#8217;s the big fast fancy database of choice&#8221; tipping point from Oracle-&gt;PostgreSQL is already here and the world just hasn&#8217;t fully recognized that yet. The only thing left is built-in multimaster clustering (there&#8217;s <a href="http://www.pgcluster.org/">PGCluster</a> but it doesn&#8217;t look like a healthy project, and it&#8217;s not built in) but I think that&#8217;s just a matter of time now, since it&#8217;s such a desirable feature for the kind of customers Sun is courting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pervasivecode.com/blog/2007/07/27/looking-forward-to-linuxworld-expo-sf-2007/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
