<?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>Wes Kroesbergen&#039;s Portfolio &#187; Server</title>
	<atom:link href="http://www.kroesbergens.com/portfolio/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kroesbergens.com/portfolio</link>
	<description>my opinions, conjectures, and thoughts</description>
	<lastBuildDate>Tue, 10 Aug 2010 13:51:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Update re: ESXi &amp; ZFS Storage</title>
		<link>http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/</link>
		<comments>http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 13:44:48 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.kroesbergens.com/portfolio/?p=403</guid>
		<description><![CDATA[It&#8217;s been a while since I&#8217;ve posted an update to this blog. I&#8217;ve been rather busy with both work and personal matters, and haven&#8217;t had a chance to maintain this blog properly. I hope to rectify this and post at least once a week for the next few months. I posted an update1 regarding my [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/' rel='bookmark' title='Permanent Link: ESXi, ZFS, and Home Server Data Storage &#8211; Part 1'>ESXi, ZFS, and Home Server Data Storage &#8211; Part 1</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/' rel='bookmark' title='Permanent Link: VMWare ESXi as a Media Server'>VMWare ESXi as a Media Server</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2008/11/update-re-print-issues/' rel='bookmark' title='Permanent Link: Update Re: Print Issues'>Update Re: Print Issues</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>It&#8217;s been a while since I&#8217;ve posted an update to this blog. I&#8217;ve been rather busy with both work and personal matters, and haven&#8217;t had a chance to maintain this blog properly. I hope to rectify this and post at least once a week for the next few months.</p>
<p>I posted an update<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-403-1' id='fnref-403-1'>1</a></sup> regarding my home server on ESXi a few months ago, and that I was re-evaluating how my data storage implementation was going to change. I&#8217;m happy to report that I&#8217;ve finally found an appropriate solution, utilizing the NexentaStor OpenSolaris-based OS<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-403-2' id='fnref-403-2'>2</a></sup>. While not without its problems (notably a buggy web-management interface, I suspect due to Python issues), it has proved itself to be quite stable as far as data access and integrity.<span id="more-403"></span></p>
<p>In my last post about my home server I mentioned a few issues I would have migrating data, including the scaling down an LVM-based Linux VM to enable RDM (Raw Disk Mapping) to the NexentaStor VM. I mitigated this issue by adding 3 new drives, one ATA based 500GB drive to host the actual virtual machine installations, and two new 1.5TB SATA drives for storage. I mapped these two new drives to the NexentaStor VM using RDM and set them up as a ZFS array. I then migrated data over the network from the old Ubuntu VM to the new storage VM. After a large portion of data was migrated, I diminished the size of the LVM to free up the 1.5TB drive, and disconnected from the old storage VM. I then mapped it to the new storage VM and added it to the ZFS array. I then migrated the rest of the data and deleted the old storage VM.</p>
<p>So, my data storage needs are met for now. Unfortunately, the original 1TB drive has the ESXi installation on it, meaning I can&#8217;t format and add to the new ZFS array. I am considering the best approach to this, but it seems I&#8217;ll likely move the VM&#8217;s from the 500GB drive to the 1TB, disconnect all drives except the 500, and install ESXi to the drive. After this I would import the machines from the 1TB back to the 500GB drive. My concern with this approach is how to ensure that the physical ZFS disks import appropriately to the storage VM.</p>
<p>As always, post any questions in the comment section, or send me an email, and I&#8217;ll do my best to respond.</p>
<div class='footnotes'><div class='footnotedivider'></div><ol><li id='fn-403-1'><a href="http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/">http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-403-1'>&#8617;</a></span></li><li id='fn-403-2'><a href="http://www.nexentastor.org/" onclick="pageTracker._trackPageview('/outgoing/www.nexentastor.org/?referer=');">http://www.nexentastor.org/</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-403-2'>&#8617;</a></span></li></ol></div>

<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/' rel='bookmark' title='Permanent Link: ESXi, ZFS, and Home Server Data Storage &#8211; Part 1'>ESXi, ZFS, and Home Server Data Storage &#8211; Part 1</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/' rel='bookmark' title='Permanent Link: VMWare ESXi as a Media Server'>VMWare ESXi as a Media Server</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2008/11/update-re-print-issues/' rel='bookmark' title='Permanent Link: Update Re: Print Issues'>Update Re: Print Issues</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ESXi, ZFS, and Home Server Data Storage &#8211; Part 1</title>
		<link>http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/</link>
		<comments>http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/#comments</comments>
		<pubDate>Wed, 12 May 2010 13:45:12 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Nexenta]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[raidz]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/</guid>
		<description><![CDATA[UPDATE: It seems I may be re-evaluating my choice of OpenSolaris vs. Nexenta. I&#8217;ve experienced a lot of issues with SMB/CIFS authentication on OpenSolaris, and have not been able to get it to work properly. I&#8217;ve also had a reply from a commenter assuring me as to the stability of Nexenta 3. I&#8217;ll post again [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/' rel='bookmark' title='Permanent Link: Update re: ESXi &#038; ZFS Storage'>Update re: ESXi &#038; ZFS Storage</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/' rel='bookmark' title='Permanent Link: VMWare ESXi as a Media Server'>VMWare ESXi as a Media Server</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>UPDATE:</strong> It seems I may be re-evaluating my choice of OpenSolaris vs. Nexenta. I&#8217;ve experienced a lot of issues with SMB/CIFS authentication on OpenSolaris, and have not been able to get it to work properly. I&#8217;ve also had a reply from a commenter assuring me as to the stability of Nexenta 3. I&#8217;ll post again once I&#8217;ve re-evaluated my choice of SAN OS.</p></blockquote>
<p>A few months ago I wrote<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-298-1' id='fnref-298-1'>1</a></sup> about a new home server I was setting up. I designed the server from ground up to handle VMware ESXi 4.0. When I built it I did not build in data redundancy, as I had two mismatched drives (a 1.5TB and a 1TB). Also, because I was relatively new to ESXi, I created the datastore with default block sizes, limiting me to 256GB virtual disk file sizes. I used Ubuntu Linux to link the virtual disks together with Logical Volume Manager (LVM), and create one big mount for my data storage. Unfortunately, the 2.5TB volume is now full. <span id="more-298"></span></p>
<p>With a full server volume, nothing would seem more obvious than to go out and buy more storage. So, I went out and bought two 1.5TB disks (I don&#8217;t believe that 2TB drive sizes have hit the optimal price point yet). On my way home however, I realized that I now have the capacity for almost 5.5TB of storage. If one physical drive were to crash, I would not only lose the data that was on that drive, I would also lose my entire dataset. LVM does not handle missing drives, so the entire logical volume, with all my data on it, would be gone. This is far too much risk, and I decided to build in data redundancy.</p>
<p>With that in mind, I began to consider various options. The motherboard&#8217;s BIOS supports RAID 1,0, 10, and 5. Of those options, I would prefer a RAID5 configuration, as it offers the best capacity/redundancy ratio. Unfortunately however, I&#8217;ve already got ESXi installed on the existing 1.5TB drive, and the data between it and the second drive must remain intact. I don&#8217;t know how well ESXi would handle a sudden BIOS change to a RAID configuration. Also, after some reading, I found that it was likely that drivers would be required in the OS install to support the RAID configuration. There are too many unknown variables to risk my data with a BIOS RAID configuration change. </p>
<p>The next option I considered was a software level RAID5 implementation, one where I&#8217;d have a virtual machine handle the RAID5 control. Unfortunately however, this approach also has its drawbacks. RAID5 requires 3 drives of the same size to setup. I have 3 1.5TB drives right now, but one of them is full of data, including my ESXi host install. I would have to create a deteriorated RAID5 array with two drives, install another physical drive for the ESXi host install, import my original ESXi host configuration to the new host install, move my data to the new array, then move the actual client OS virtual disk to the new physical drive. After that point I could wipe the original 1.5TB and add it to the RAID5 array. I would be left with the 1TB to use for other purposes. During this whole process praying that something does not mess up the LVM i  the Linux install. All in all, a very messy endeavor. Too much risk, both with the data itself as well as with the host/client OS installations.</p>
<p>Since a RAID configuration seemed to be out, I looked for other &#8216;outside-the-box&#8217; solutions. Obviously it would have to be a disk/file level solution, as LVM with virtual disks wasn&#8217;t going to cut it. Then I remembered looking at ZFS<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-298-2' id='fnref-298-2'>2</a></sup> (a file system format) a couple years ago. ZFS offers great data redundancy for little disk cost, flexibility, compression, good performance, and a host of other things (things most non-technical people wouldn&#8217;t care about). The stability of the filesystem has come a long way since I first looked at it (it was more proof of concept at the time), to the point where I would trust my data with it. ZFS seemed to fit my current needs and network conditions perfectly.</p>
<p>Now that I&#8217;d decided on ZFS as my new network storage solution, I had to decide how I was going to implement it. Because it was developed by SUN Microsystems, there are licensing quirks that have kept it from being incorporated into the Linux kernel. There is however, an implementation via the FUSE project. I could potentially install it into my Ubuntu media server virtual machine, and have a relatively easy transition. After some investigation however, I felt that ZFS-fuse was still too much of a hack for me to trust my data with.</p>
<p>The only other real ZFS options were FreeBSD, OpenSolaris, and a project called Nexenta<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-298-3' id='fnref-298-3'>3</a></sup>. Nexenta is a Gnome (Ubuntu-like) user land built around the OpenSolaris kernel. This initially attracted me quite a bit, as it seemed to perhaps be the easiest way forward. Two things kept me back however. One, the version of Nexenta that offers deduplication support for ZFS is currently labeled beta. Two, because it was built around the OpenSolaris kernel, there would be a lot more hacking required if I was going to try to replicate my Ubuntu media serving services. At this point I realized that it would be easiest to keep my Ubuntu media server, and just point its data volumes to another VM&#8217;s network share, as though the other VM was a SAN. So, I decided that Nexenta was more than I needed, and that it was targeting a different person than I. Add to that the lack of deduplication, and Nexenta was out.</p>
<p>The other two ZFS options were OpenSolaris and FreeBSD. Since I&#8217;m a Max OS X (built around BSD Unix) power user, it seemed the most attractive option. On doing some analysis however, it seemed that OpenSolaris had better support and a better-performing ZFS implementation. Consequently, I&#8217;ve decided to go the OpenSolaris route for my virtual SAN.</p>
<p>I&#8217;ll post Part 2 over the next week or so. Part 2 will cover the actual implementation (still in progress), and some of the challenges encountered.</p>
<div class='footnotes'><div class='footnotedivider'></div><ol><li id='fn-298-1'><a href="http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server">http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-298-1'>&#8617;</a></span></li><li id='fn-298-2'><a href="http://en.wikipedia.org/wiki/ZFS" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/ZFS?referer=');">http://en.wikipedia.org/wiki/ZFS</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-298-2'>&#8617;</a></span></li><li id='fn-298-3'><a href="http://www.nexenta.org" onclick="pageTracker._trackPageview('/outgoing/www.nexenta.org?referer=');">http://www.nexenta.org</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-298-3'>&#8617;</a></span></li></ol></div>

<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/' rel='bookmark' title='Permanent Link: Update re: ESXi &#038; ZFS Storage'>Update re: ESXi &#038; ZFS Storage</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/' rel='bookmark' title='Permanent Link: VMWare ESXi as a Media Server'>VMWare ESXi as a Media Server</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>VMWare ESXi as a Media Server</title>
		<link>http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/</link>
		<comments>http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 14:53:28 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.kroesbergens.com/portfolio/?p=235</guid>
		<description><![CDATA[In the last little while, I&#8217;ve begun to work a lot more with VMware ESXi, in an attempt to understand virtualization better. Along with the benefits it brings to larger companies, I began to see some benefits that it would bring to my personal life. At home, I am constantly developing or experimenting with new [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/' rel='bookmark' title='Permanent Link: ESXi, ZFS, and Home Server Data Storage &#8211; Part 1'>ESXi, ZFS, and Home Server Data Storage &#8211; Part 1</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/' rel='bookmark' title='Permanent Link: Update re: ESXi &#038; ZFS Storage'>Update re: ESXi &#038; ZFS Storage</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/04/thoughts-on-the-ipad/' rel='bookmark' title='Permanent Link: Thoughts on the iPad'>Thoughts on the iPad</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In the last little while, I&#8217;ve begun to work a lot more with VMware ESXi, in an attempt to understand virtualization better. Along with the benefits it brings to larger companies, I began to see some benefits that it would bring to my personal life. At home, I am constantly developing or experimenting with new technologies in an attempt to understand them and build my skills. The problem is that I tend to do a lot of my experimentation on our home server (an old Dell 5150, with lots of extra hard drives). Since we are using this as a media server, things tend to become difficult for those using the media or data when I need to reboot/install something new. This resulted in much of our data being scattered among our other machines (two MacBook Pro&#8217;s and an iMac). All in all, a very messy setup.<span id="more-235"></span></p>
<p>Enter ESXi. Virtualized machines brings me the ability to leave a media server up and running while I add, build, or reconfigure other machines, without the expense of all the hardware. It also brings all those machines into a single console, making it really convenient for me to manage. Along with that, I can now easily allocate more storage to the virtual machine as I have need!</p>
<p>Of course, this presented a problem. There is a <strong>lot</strong> of data that needed to be migrated. 1TB on the iMac, 320GB + 500GB + 160GB + 160GB on the existing media server, 160GB on the other MacBook Pro, and ~100GB on my MacBook Pro. How do you migrate all this data over? I budgeted for 1 new hard drive, but not more than one.</p>
<p>I purchased new server components (see below) on Boxing Day, and spent about ~$600 on what would have been an ~$830 server.</p>
<p>Components:</p>
<ul>
<li>Motherboard: Asus P5Q Pro Turbo</li>
<li>CPU: Intel E7500 Boxed (mid-late 2009 versions have VT-x, a requirement for 64bit host VM&#8217;s)</li>
<li>Ram: 4GB OCZ DDR2 800</li>
<li>Hard-drive: WD 1.5TB</li>
<li>Case: Antec P183</li>
<li>PSU: Antec TruePower 650 New</li>
<li>Video Card: Asus EAH4350 (Asus motherboard doesn&#8217;t have on-board video)</li>
<li>NIC: Intel EXPI9301CT (Required, as ESXi 4 didn&#8217;t support the integrated Atheros-based NIC)</li>
</ul>
<p>I began the new ESXi build by assembling the new hardware. As I wasn&#8217;t installing from USB and instead opted for the lower-hassle CD installation method, I borrowed a CD drive from my spare hardware box (I also borrowed keyboard/mouse/monitor). When I tried to boot ESXi for the first time, it informed me that the integrated NIC was not compatible. I nipped out to Canada Computers and purchased a new one, and the installation proceeded smoothly from that point on. Once installation was completed, I enabled SSH to ESXi by doing the following:</p>
<ol>
<li>alt-f1 (Note: As pointed out below, you will not see your typing on this screen, just trust us, it is there).</li>
<li>unsupported</li>
<li>root pw</li>
<li>vi /etc/inetd.conf</li>
<li>delete the “#” from ssh</li>
<li>services.sh restart</li>
</ol>
<p>I rebooted the machine, and went to my Windows box (no Mac ESXi/vSphere client yet) to manage the server. (If you haven&#8217;t installed the vSphere client yet, you can download it by going to your ESXi installation&#8217;s IP in your web browser) I setup a new VM for Ubuntu Linux 9.10, allocating 16GB to the VM hard drive, and configuring it with thin provisioning (dynamically expands). All my data would be on a second virtual drive. I then proceeded to install Ubuntu and install all the updates. Now it was time to add space for my data.</p>
<p>It was at this point that I hit a snag. VMware ESXi only supports 256GB virtual disks. I have terabytes of data, so how am I supposed to store all this information? </p>
<p>Enter LVM (Logical Volume Manager). LVM is a great technology that has seen a lot of use in Linux, allowing you to create volumes that span multiple hard-drives/partitions. I added 5 256GB thin provisioned disks to the Ubuntu installation, and proceeded to mount them as a single ext3 volume under /mnt/Shares. I set the volume to auto-mount on reboot in my /etc/fstab file, and proceeded to create the directories inside /mnt/Shares that would serve up my data. You can see a list of my shares below.</p>
<ul>
<li>Backup (To be used for Time Machine)</li>
<li>Data (To be used for miscellaneous data, like eBooks)</li>
<li>Movies</li>
<li>Music</li>
<li>Photos (Will contain an rsync-ed folder of my Adobe Lightroom photos, as well as a folder for miscellaneous images (scans, etc))</li>
<li>Software (Will contain a copy of my software. I have directories created Windows and Mac, and the respective software in each)</li>
<li>TV</li>
</ul>
<p>The next interesting bit. How to actually share these shares. Obviously I don&#8217;t want to just open everything up to the world, and I also happen to have a multi-platform environment here, with Windows clients, Mac clients, and my landlord&#8217;s Linux clients. I elected to share all the shares using AFP (for my Macs), and the Movies, TV, and Software directories via SMB (for my Windows clients and the Linux clients). I created a user account called &#8216;main&#8217; for my use, &#8216;kidd&#8217; for my landlord, and &#8216;visitor&#8217; for any guests that may be over. All three are password protected. &#8216;main&#8217; has access to all shares, &#8216;kidd&#8217; has access to Movies, TV, and Software, and &#8216;visitor&#8217; has access to Movies and TV.</p>
<p>I shared the AFP shares to my Macs using a custom-compiled version of netatalk, following the great tutorial <a rel="nofollow" target="_blank" href="http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/" onclick="pageTracker._trackPageview('/outgoing/www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/?referer=');">here</a>. SMB configuration was fairly straightforward, and everything went well. I copied over as much data as possible (from the old server), before running out of disk space. At this point, I copied over data from the iMac 1TB into the now-empty old server, and popped the 1TB drive into the server. At this point I ran into the second snag. ESXi did not want to format the drive! I did some digging, and found that it was due to having been formatted as GUID before (in the Mac). I used dd to wipe out the first and last sectors of the drive, and tried to create a new partition via fdisk as per <a rel="nofollow" target="_blank" href="http://www.vm-help.com/esx/esx3i/ESXi_35_common_issues.php#unable_to_read_partition_information" onclick="pageTracker._trackPageview('/outgoing/www.vm-help.com/esx/esx3i/ESXi_35_common_issues.php_unable_to_read_partition_information?referer=');">these</a> instructions. Again, no go. After several attempts, I discovered that immediately after creating the partition table with fdisk, I had to reboot before using the vmkfstools command to create a datastore. After rebooting the server, I was able to format the drive appropriately. I logged into the Windows GUI console and deleted the new datastore. I then added the drive to the existing datastore, and fired up Ubuntu. I created several more 256GB thin-provisioned disks, and added them to the LVM. </p>
<p>I&#8217;ve installed &#8216;forked-daapd&#8217; as a service on Ubuntu. This allows me to open Front Row and select the server as a source. I&#8217;ve also &#8216;tightvncserver&#8217; set to run on startup, and have advertised the service in Avahi/Bonjour. This allows me to see the &#8216;Share Screen&#8230;&#8217; button in OS X finder, and control the MediaServer via Screen Sharing, rather than a dedicated VNC client.</p>
<p>It&#8217;s been a great experiment, and now a great production home-media server. I&#8217;m looking forward to setting up my lab environment in other VM&#8217;s on ESXi. Feel free to leave me any questions/comments below that you might have on the process.</p>


<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/' rel='bookmark' title='Permanent Link: ESXi, ZFS, and Home Server Data Storage &#8211; Part 1'>ESXi, ZFS, and Home Server Data Storage &#8211; Part 1</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/' rel='bookmark' title='Permanent Link: Update re: ESXi &#038; ZFS Storage'>Update re: ESXi &#038; ZFS Storage</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/04/thoughts-on-the-ipad/' rel='bookmark' title='Permanent Link: Thoughts on the iPad'>Thoughts on the iPad</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The Cloud as a Load Balancer</title>
		<link>http://www.kroesbergens.com/portfolio/2009/12/the-cloud-as-a-load-balancer/</link>
		<comments>http://www.kroesbergens.com/portfolio/2009/12/the-cloud-as-a-load-balancer/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 16:09:25 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[demand]]></category>
		<category><![CDATA[launch day]]></category>
		<category><![CDATA[load balancing]]></category>
		<category><![CDATA[product launch]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[WIND]]></category>

		<guid isPermaLink="false">http://kroesbergens.com/portfolio/2009/12/the-cloud-as-a-load-balancer/</guid>
		<description><![CDATA[Today is the day of a remarkable new entry into the Canadian wireless space, the launch of WIND Mobile. It is a launch I&#8217;m incredibly excited about, but that in itself shall be left to another post. The launch of WIND, just as with virtually any other major product/company launch, was not without problems. Mere [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/03/cloud-computing-it/' rel='bookmark' title='Permanent Link: Cloud Computing &#038; IT'>Cloud Computing &#038; IT</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/02/microsoft-vs-ipad/' rel='bookmark' title='Permanent Link: Microsoft vs. iPad'>Microsoft vs. iPad</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2009/08/rogers-docsis-3-0/' rel='bookmark' title='Permanent Link: Rogers &#038; DOCSIS 3.0'>Rogers &#038; DOCSIS 3.0</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Today is the day of a remarkable new entry into the Canadian wireless space, the launch of WIND Mobile. It is a launch I&#8217;m incredibly excited about, but that in itself shall be left to another post. The launch of WIND, just as with virtually any other major product/company launch, was not without problems. Mere minutes after I first visited the new online store portal <a rel="nofollow" target="_blank" href="http://shop.windmobile.ca" onclick="pageTracker._trackPageview('/outgoing/shop.windmobile.ca?referer=');">http://shop.windmobile.ca</a>, the connection was cut, and I was no longer able to access the online shop. It would seem that the problem was simply due to immense demand on the servers. It&#8217;s quite a common experience for hot new product/service launches. Just ask Microsoft or Apple.<span id="more-217"></span></p>
<p>Anyway, this started a train of thoughts. Were I planning the technology end of a product launch, how would I prepare to deal with unanticipated demand? The problem with unanticipated demand is that you don&#8217;t know how many resources need to be set aside to cope with or load-balance. To me the answer is relatively simple. Leverage cloud computing resources. Build and use your front end for launch day on the cloud, preferably a cloud service that auto-scales to meet demand. Microsoft Azure would seem a great candidate for such a task, as it seems to extend the Windows Server platform nicely. You pay for the extra resources and bandwidth you utilize, but having a working front end on the most important day in your product&#8217;s lifecycle far outweighs the cost. </p>
<p>Simply planning ahead with the thought to use the &#8216;unlimited&#8217; resources of a cloud computing platform for a product launch would be my preferred method of preparing for a major product launch.</p>
<p>Please leave me your thoughts below.    </p>


<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/03/cloud-computing-it/' rel='bookmark' title='Permanent Link: Cloud Computing &#038; IT'>Cloud Computing &#038; IT</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/02/microsoft-vs-ipad/' rel='bookmark' title='Permanent Link: Microsoft vs. iPad'>Microsoft vs. iPad</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2009/08/rogers-docsis-3-0/' rel='bookmark' title='Permanent Link: Rogers &#038; DOCSIS 3.0'>Rogers &#038; DOCSIS 3.0</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2009/12/the-cloud-as-a-load-balancer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Update Re: Print Issues</title>
		<link>http://www.kroesbergens.com/portfolio/2008/11/update-re-print-issues/</link>
		<comments>http://www.kroesbergens.com/portfolio/2008/11/update-re-print-issues/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 00:18:00 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Print]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://portfolio.kroesbergens.com/?p=69</guid>
		<description><![CDATA[Two posts ago, I wrote about the printer issues at work. At the end, I mentioned that the print role had been moved to a dedicated server, a move I agree with. What is puzzling and perturbing to me is that EXACTLY the SAME drivers were used on the new print server. With the new [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2008/11/printer-issues/' rel='bookmark' title='Permanent Link: Printer Issues'>Printer Issues</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/' rel='bookmark' title='Permanent Link: Update re: ESXi &#038; ZFS Storage'>Update re: ESXi &#038; ZFS Storage</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2008/05/update-on-oha-rollout-project/' rel='bookmark' title='Permanent Link: Update on OHA Rollout Project'>Update on OHA Rollout Project</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Two posts ago,<a rel="nofollow" target="_blank" style="text-decoration: none; color: #3c5fc3; padding: 0px; margin: 0px;" rel="self" href="http://portfolio.kroesbergens.com/?p=66" onclick="pageTracker._trackPageview('/outgoing/portfolio.kroesbergens.com/?p=66&amp;referer=');"> </a><a rel="nofollow" target="_blank" href="http://portfolio.kroesbergens.com/?p=66" onclick="pageTracker._trackPageview('/outgoing/portfolio.kroesbergens.com/?p=66&amp;referer=');">I wrote</a> about the printer issues at work. At the end, I mentioned that the print role had been moved to a dedicated server, a move I agree with. What is puzzling and perturbing to me is that EXACTLY the SAME drivers were used on the new print server. With the new client desktop image, the clients are able to connect fine, but now anyone with Windows Vista installed (read: most of IT) now has their client print spooler crash on them when they try to connect to some printers. We’re being told to ‘restart your spooler service’. It works the second time around after restarting the print spooler service on the Vista client. Unfortunately however, the HPcdMC32.dll file is not going to be replaced right now. Since it’s only IT that’s affected, the decision has been made to leave printing alone for a while. Could be interesting if it gets forgotten and next year it’s not updated before the organization moves to Vista.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" /><span id="more-69"></span></p>
<p>My main concern is that, just like last time, this driver is going to mess up the print spooler service on the server, like the previous incident. We stand a very good chance of losing print services again if the dll is not replaced. The whole operation to fix it would take less than 10 minutes, including time to download the driver from HP.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" /></p>
<p>In other news, the Microsoft Support site has been updated with a new look. Quite nice if you ask me.</p>


<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2008/11/printer-issues/' rel='bookmark' title='Permanent Link: Printer Issues'>Printer Issues</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/' rel='bookmark' title='Permanent Link: Update re: ESXi &#038; ZFS Storage'>Update re: ESXi &#038; ZFS Storage</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2008/05/update-on-oha-rollout-project/' rel='bookmark' title='Permanent Link: Update on OHA Rollout Project'>Update on OHA Rollout Project</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2008/11/update-re-print-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Printer Issues</title>
		<link>http://www.kroesbergens.com/portfolio/2008/11/printer-issues/</link>
		<comments>http://www.kroesbergens.com/portfolio/2008/11/printer-issues/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 00:15:38 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Print]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://portfolio.kroesbergens.com/?p=66</guid>
		<description><![CDATA[Update: I&#8217;ve gotten an insane amount of hits for &#8220;you do not have sufficient access to your computer to connect to the selected printer&#8221;, &#8220;windows cannot connect to the printer 000006be&#8221;, and &#8220;hp printer You do not have sufficient access&#8221;. (start reading at the 3rd paragraph if you want to jump straight to the details [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2008/11/update-re-print-issues/' rel='bookmark' title='Permanent Link: Update Re: Print Issues'>Update Re: Print Issues</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2008/11/imaging-issues/' rel='bookmark' title='Permanent Link: Imaging Issues'>Imaging Issues</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2008/11/interesting-outlook-2007-client-issue/' rel='bookmark' title='Permanent Link: Interesting Outlook 2007 Client Issue'>Interesting Outlook 2007 Client Issue</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>Update:</strong> I&#8217;ve gotten an insane amount of hits for <em>&#8220;you do not have sufficient access to your computer to connect to the selected printer&#8221;</em>, <em>&#8220;windows cannot connect to the printer 000006be&#8221;</em>, and <em>&#8220;hp printer You do not have sufficient access&#8221;</em>. (start reading at the 3rd paragraph if you want to jump straight to the details of my incident) If you want to jump straight to what the solution was for my issue, please see <a rel="nofollow" target="_blank" href="http://bit.ly/bXn0R" onclick="pageTracker._trackPageview('/outgoing/bit.ly/bXn0R?referer=');">this</a> Microsoft bulletin. I highly recommend reading <a rel="nofollow" target="_blank" href="http://bit.ly/1cF2km" onclick="pageTracker._trackPageview('/outgoing/bit.ly/1cF2km?referer=');">this</a> (PDF) HP document for a more detailed technical explanation. Also, if you could do me the courtesy of letting me know if this resolved your issue, whether via comment or email, I would greatly appreciate it.<span id="more-66"></span></p></blockquote>
<p>Today’s post will be an exercise in troubleshooting. It addresses a problem I believe I’ve solved regarding our printer issues at work, as well as what was actually implemented.</p>
<p>So, two weeks ago we rolled out new network printers to our organization (I was not present at the time, I attend school fulltime). All the printers were the same make and model as the ones they were replacing, with the exception of a small P3005 (All our network printers are HP). Since the network printers were replaced, there have been a number of issues. Some people randomly can’t print to printers. Others can’t add printers to their local machine, receiving an error message ‘You do not have sufficient access to your computer to connect to this printer’. Initially we tried adding the users to the local power users and then local administrators group. This did not solve the issue. According to an employee from our finance department, the problems she had seemed to start she said the problems she had seemed to start when the printer near her was replaced. Interesting coincidence.</p>
<p>Our second level support tech told me that it was a problem with the local machines, and that they all were using the same standard image from June 2008 that I’d created. Interestingly enough, NOT ALL computers using that image were having the permissions issue. I then asked him if he’d updated any drivers on the server. He replied that he hadn’t updated any, except the driver for the P3005, the little printer, and that it was impossible for it to affect the other network printers. So I decided to do some more digging.</p>
<p>I found this Microsoft KB, <a rel="nofollow" target="_blank" href="http://support.microsoft.com/kb/954367" target="_blank" onclick="pageTracker._trackPageview('/outgoing/support.microsoft.com/kb/954367?referer=');">KB954367</a>. Microsoft’s bulletin describes a problem with an older HP driver, and an error message with:<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" /><span style="font: normal normal normal 11px/normal Verdana, serif; color: #fc0008; font-weight: bold; padding: 0px; margin: 0px;">Windows cannot connect to the printer. <br style="padding: 0px; margin: 0px;" />Operation could not be completed (error 0x000006be). <br style="padding: 0px; margin: 0px;" />You do not have sufficient access to your computer to connect to the selected printer.<br style="padding: 0px; margin: 0px;" /><br style="padding: 0px; margin: 0px;" /></span>Microsoft also says that “You may experience one or more of the following symptoms on a Windows Vista-based or a Windows Server 2003-based computer”. I tried to connect to one of the ‘affected’ printers using Windows Vista, and the spooler promptly crashed on the server, another symptom described in the bulletin. Microsoft suggests that the problem is due to a driver using HPBmini.dll of earlier than 1.0.0.19, or HPcdMC32.dll version less than 1.0.2.35. I went and checked the version of the driver on the server. The HPBmini.dll file is 1.0.0.19, but the HPcdMC32.dll file is 1.0.1.17, quite a bit earlier than the max threshold set by the Microsoft KB. Armed with this knowledge, I felt that it was very likely the driver that caused the issue. I then went and checked out the HP bulletin linked to from Microsoft’s KB, and found that among the affected products, the driver shipping with P3005 is one of the affected.</p>
<p>I brought this information to my manager, and he instructed me to talk to the second level tech before I updated the driver on the server. The second level tech refused to allow me to update the driver on the server, saying that it was impossible for the driver to cause the issue, since P3005 is only a small printer and the driver shouldn’t affect any other printer drivers. I tried to explain the fact that it updated files common to all the HP printers, but this was rejected. He ended up installing a new image on the client machines, and the problem seemed to go away. The driver on the server was not updated.</p>
<p><strong>Note:</strong> To be perfectly fair, the knowledge bulletin specifies that the issue occurs on a Windows Server 2003 or Windows Vista installation with an HP printer connected. However, in my opinion this does not mean that the same issue won’t occur on Windows XP. In fact, it seems to me even more likely, since Windows Server 2003 and Windows XP use very similar driver mechanisms.</p>
<p>Unfortunately however, it seems the problem might NOT have gone away. Apparently this morning (I’m not in on Mondays) the printspl.exe process on the print server refused to start, and no one on the network was able to print to any printers. Now, (calling any and all people with any IT experience) what’s the common cause of the print spooler not working? A corrupted driver? You guessed right! I did some browsing on HP’s forums, and it seems like their printer drivers or the HP Inject service (which is installed along side the driver frequently) often mess up the print spooler.</p>
<p><strong>Note:</strong> There are other causes for a print spooler to fail, but since it’s been functioning fine for the last several years, and the only real change was an updated driver, that the driver is what was causing havoc.</p>
<p>I found out that the way they tried to resolve the issue was by uninstalling every driver till the last modified. Unfortunately however, if the information I’d submitted had been read completely, it would have been understood that the whole reason for the issue in the first place was because the files are timestamped incorrectly. Windows Server 2003 does not look at the file version when updating. Rather, it looks at the time stamp of the file to determine whether it should be updated or not. Uninstalling won’t help. HP says that the only way to rectify this problem is to manually copy over the new dll’s. Uninstalling and rolling back the drivers won’t work. This would have been known had the ‘More information’ been read.</p>
<p>After getting an update from my manager this evening, I found that they’re (IT) is setting up a new print server on one of our other servers. At least it will get the organization printing again. Our main job is to get keep the organization functioning. I’m just disappointed that we had to experience downtime, and that what I suspect was the real cause wasn’t fixed. I’m trying to understand what the big resistance was to following my recommendation to update the driver per HP’s suggestion. I still firmly believe that if we were to fix the ‘updated’ driver on the old print server, things would be up and functional. However, I haven’t been given that liberty, so we’re stuck with our new print server. This means everyone has to re-add their printers, whether they’re having issues or not.</p>
<p>Feel free to leave your comments and/or troubleshooting suggestions. I can’t really implement them now that we have a new print server, but I’d love to hear suggestions for alternative solutions.</p>


<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2008/11/update-re-print-issues/' rel='bookmark' title='Permanent Link: Update Re: Print Issues'>Update Re: Print Issues</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2008/11/imaging-issues/' rel='bookmark' title='Permanent Link: Imaging Issues'>Imaging Issues</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2008/11/interesting-outlook-2007-client-issue/' rel='bookmark' title='Permanent Link: Interesting Outlook 2007 Client Issue'>Interesting Outlook 2007 Client Issue</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2008/11/printer-issues/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
