Friday, June 17, 2011

How to install VMware VSphere ESXi 4 on a desktop PC

How to install VMware VSphere ESXi 4 on a desktop PC

Trying to figure out how to install VMWare Vsphere ESXi 4.0 on a home desktop computer but now sure how? Neither was I but I finally figured it out and I’ll tell you how!

Over the last year, I’ve been getting very involved in VMware ESX installations and rollouts at work. It started with doing several hundred P2V’s (physical machine to virtual machine conversions) then onto the server side and actually configuring the servers. We started with ESX 3.5 then upgraded to ESXi 4.0 which is now known as VSphere.

I took a couple of VMware training classes and realized that there was a lot of capabilites in VSphere that we weren’t using at my company. Unfortunately, since it was a production environment, tinkering and experimenting on the ESX clusters at the office wasn’t an option. I’m the type of person that when I get into a technology, I want to know as much about it as possible. It also helps to learn as much as possible as it makes you more valuable at work and to potential (higher paying) employers.

RESEARCH

My research began to find out what it would take to build a VMware VSphere ESXi 4.0 server at home.

A quick google search showed it was very possible to build a home ESX server, but unlike Windows servers there were very specific hardware requirements. Even tougher, VMware doesn’t list what desktop class hardware you can run it on since they don’t officially support running ESX on desktops. There are a couple of sites out there like UltimateWhiteBox.com that list various components that people have reported success in using, but obviously there is a huge range of possible hardware combinations out there on home machines, so a lot is not covered. The other issue is that it seems that the sites aren’t updated that often, if at all anymore.

Continuing my research, I looked into what processors were compatibile with ESXi 4 and settled on the Intel Quad Core. I specifically wanted a quad core processor since I was going to have several virtual machines running on it and didn’t want the processors pinned at 100% utilization from having too little cpu. I also wanted a lot of RAM for the same reason.

I was debating whether to buy all the components and build the machine myself, but every time I started pricing out components, I realized it would cost me the same or more than just buying an off the shelf desktop pc plus all the time involved in building it.

I ultimately settled on buying an HP Pavilion with an Intel Core i7 and 8gb of RAM. This would be a very solid machine at a decent price. I headed over toAmazon.com to see what they had since I could get it tax free and with free shipping.

THE BUILD

The machine arrived and I was impressed with the look. It looked like it was made to be a server with smooth glossy paint and even a cool arctic blue glowing power button. I gleefully started out trying to install ESX. First I tried ESX 3.5 and that failed since it couldn’t find my SATA controller. Next I tried ESXi 3.5 with the same result. I was getting worried but crossed my fingers and installed ESXi 4.0 and it worked! The only hiccup was that it couldn’t see the onboard network controller, which I knew would probably happen as VMware generally only recognized broadcom and Intel based NICs and the HP came with an onboard Realtek NIC.

I was bummed that I wouldn’t get to start playing immediately but was still happy that it was going to work. I headed back over to Amazon and picked up an Intel Gigabit Ct Desktop adapter for about thirty bucks. Two days later it showed up and I popped it into the machine. *Presto!* I have a fully functioning ESXi 4 VSphere server! **YAY!!**

After creating a couple of test VM’s and contemplating what type of home virtual universe I should start building, it occurred to me that the single drive in the Pavilion was not going to be big enough. I then started having my usual internal debate where my geek side fights with my cheap side over whether to buy larger drives or cheaper drives. I found a good compromise in the $119 Western Digital 2TB Caviar Green hard drives. They have an outstanding amount of storage and variable speed which allows them to spin down to a slower speed during the day while I’m away but ramp back up to full speed when I’m banging away on them doing Windows 2008 server installs.

I bought two of the drives and in another two days they arrived. I popped them in (replacing the original drive that came with the Pavilion) and reinstalled ESXi 4. Luckily the VMware installation is only about 15 minutes total. The drives worked like a charm out of the box and are drop dead silent which made me happy since I hate having the jet engine like whir of multiple hard drives in the background while I try to work.

THE RESULT

I am happy to report that over a month later, this machine is rock solid. I have two workstation VM’s and two server VM’s running 24 x 7 on it and haven’t had a hiccup. I’ve retired the hardware that my Windows Home Server was on as I’ve successfully virtualized it. I’ve found so many cool uses for it that I hadn’t even thought of before. For example, I loaded up a generic Windows XP vm that I remote control from my Apple iPad over wifi. I have another that I use when I am downloading from suspicious websites that may contain malware. When I’m done with the download and have scanned it for viruses, etc, I just power off the vm and restore it from a pristine image.

I can’t say enough about how happy this setup has made me (I know, I know, super geek)!

WHAT YOU’LL NEED

Here’s my final shopping list for this setup:

- HP Pavilion with an Intel Core i7 and 8gb of RAM
- Intel Gigabit Ct Desktop adapter
- Western Digital 2TB Caviar Green hard drives

Let me know if you’ve had success with a similar configuration or have questions about setting up your own by leaving a comment below.

Source:

No comments:

Post a Comment