Build an ESXi server on the Cheap

February, 11. 2009 at 01:29 AM

If your a network admin, and you’re not using virtualization in your disaster recovery, then you’re probably being negligent. VMware ESXi is free. You can’t do all of the fancy stuff, like VM motion, but it is the same bare-metal hypervisor as ESX. You can register, download, and obtain a free license for ESXi here.

ESXi is pickier when it comes to hardware than its pricier counterpart ESX. However, if your hardware works with the drivers it does have, you can add your hardware IDs to the configuration files and use your hardware. If you use a system, motherboard, and/or NIC listed on the community maintained list and download and use the community maintained configthen you can forgo a lot of tinkering. If you are going to use local storage, you won’t be able to use RAID with a SATA drive, or at least I haven’t figured it out; that would probably slow things down anyway. ESXi can use storage on NFS file shares, SANs, and some NAS devices as well. I am going to look at using FREENAS to hold some VMs instead of shelling out boo koo bucks for fiber. Whatever you decide to do, make sure you get an Intel NIC listed on the HCL; I had no luck with anything else.

For now, I am using a newly built device for DR testing and proof of concept. I went to my local Micro Center, friggin love that store, and purchased an ASUS PQ5 SE2 ($95), 4 GB 800mhz DDR2 Corsair RAM ($70), a 45nm 2.6 Ghz 8mb Core 2 Quad ($189),  and a 1TB WD SATA HD with a dual IO controller ($139). I happened to have a case/power supply, DVD drive, and compatible Intel NIC laying around. So I spent about $480 for the parts I needed.

I elected to install ESXi on a bootable flash drive.  VMware made a video  and pdf showing how. Here are the steps on how to do this on a Windows machine per yellowbrick.com:

  1. First get the following tools: 7-Zip(Free), WinImage(Demo)
  2. Download the ESXi ISO
  3. Open the ISO with 7-Zip
  4. Extract “install.tgz”
  5. Open “install.tgz” with 7-Zip
  6. Click on “install.tar”
  7. Browse to “usr\lib\vmware\installer\”
  8. Open “VMware-VMvisor-big-3.5.0_Update_2-103909.i386.dd.bz2″
  9. Extract “VMware-VMvisor-big-3.5.0_Update_2-103909.i386.dd”
  10. Open WinImage and go to Disk, click on “Restore Virtual Harddisk Image on physical drive”
  11. Select a physical drive
  12. Select “VMware-VMvisor-big-3.5.0_Update_2-103909.i386.dd”
  13. Click “yes” to write the DD image to the USB Disk

After building an ESXi bootable flash drive, I downloaded the community maintained config, renamed it to oem.tgz, and pasted into the bootable partition on the flash drive – overwriting the existing one.

Time to boot it. After inserting my USB ESXi, I had to go into the BIOS of my board and set the USB drive to be bootable. I also had to change my SATA drive configuration to be AHCI instead of RAID or IDE.  After saving, I was eventually greeted by the ESXi system.

You will need to adjust your network settings to be appropriate for your network, which you won’t have the option for unless you have a compatible NIC (get a listed Intel NIC). Once ESXi is network capable, you can go to your server’s IP address (http) and download VMware Infrastructure Client to manage it. I went to VMware’s site and downloaded VMware Converter (also free) to convert an existing workstation VM to ESX format; took a while but I did it over wireless.  You can also use the converter to convert an existing physical computer to VM. The converter uploads directly to your ESXi server, and it will complain about using a login without a password, so add a password to your ESXi root user account and use that.

esxi server

So far, its working like a champ. The next step is to set up a FREENAS iSCSI target server via crossover cable to a dedicated NIC.  If you have any pointers, let me know. Cheers.

Comments

6/19/2009 9:41:55 AM

acne

Very helpful advice and a detailed description of all the action, I do not know what would I do without your article.

acne United States

7/16/2009 7:11:58 AM

dentist kent

Since long time looking for this only, it is very useful idea to get effective results.

dentist kent United Kingdom

7/21/2009 6:01:05 AM

orkut graphics

finally i find something that i want to know..
thanks for this usefull informations..

orkut graphics United States

7/29/2009 10:26:26 PM

California Criminal Defense Attorney

                  I have my own blogengine which i noticed that i have to develop or to improve the application or add some significant application in my blog. So i decided to continuing searching what is more better application in my blog to attract more visitors.
                  And also i read some errors or problems in some blogengine. So i pursue exploring to evade this errors or problems in my blog.

California Criminal Defense Attorney United States

8/28/2009 8:45:31 AM

Panic Puzzle

This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article

Panic Puzzle United States

10/17/2009 6:03:27 AM

personal loans

Nice resource. rss feed added

personal loans United States

10/30/2009 11:12:14 PM

fast cash loans

I always wanted to write in my site something like that but I guess you'r faster Smile

fast cash loans United States

11/2/2009 8:04:27 PM

lyrics

i really appreciate this your good article
from there i get something that i want to know
thanks for this usefull informations

lyrics United States

11/18/2009 6:59:34 AM

payday loans

Interesting stuff you've got here

payday loans United States

12/17/2009 9:05:20 AM

Colon Cleanse

Its very good thing that this can be build in cheaper rates as every body now thing of it.

Colon Cleanse United States

1/29/2010 12:31:47 AM

Loans in OK

Nothing is so much fun as business. I do not expect to do anything but work as long as I can stand up.

Loans in OK United States

1/29/2010 8:54:20 AM

instant loans

If someone is going down the wrong road, he doesn't need motivation to speed him up. What he needs is education to turn him around.

instant loans United States

2/5/2010 6:32:12 AM

no fax personal loans

Work is much more fun than fun.

no fax personal loans United States

2/16/2010 11:03:13 PM

free online games

So nice blog post...

free online games Turkey

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading