VIRTUALIZATION | Run ESXI 4.1 on HP Compaq dc5750 Workstation

I purchased a 5750 on the cheap with an eye to making it a virtual host. It’s dual core and can accept up to 8GB of RAM. I confirmed it runs Hyper-v without a hitch, but I am partial to vmware esxi. Unfortunately, it’s SATA controller is not supported for esxi 4.1, so I worked a bit to arrive at the following methods to make enable support for the controller.

Here’s an overview of the steps, which are provided in detail below:

  1. Install esxi 4.1 to a usb drive
  2. In the running esxi host, enter the support mode shell to create a custom oem.tgz (with support for the storage controller as a result of an addition to the simple.map) which you place in /bootbank
  3. Restart, and the oem.tgz is appended to the boot and enables your usb-based esxi host to recognize your local SATA drives as available datastores.

Section 1 – Install esxi 4.1 to usb drive — this will serve as your hypervisor drive (adapted from http://blog.jargontech.com/installing-esxi-4-1-to-usb-flash-drive/)

  • Download the ESXi 4.1 ISO and burn to CD.
  • Insert your 1GB USB stick into the server and pop-in the CD to the server.
  • Boot from the CD
  • Select (Enter) Install
    Press F11 To accept the EULA and continue.
  • Select to USB Device (remember must be at least 1GB, but anything larger than 1GB will essentially be unused) and click Enter to continue.
  • You will get a notification (potentially) about overwriting the device, click Enter to continue.  All data on the USB will be lost so please use a blank USB or move data off of it before proceeding.
  • Press F11 to confirm the installation.
  • Press Enter to Reboot after install completes and eject the CD.
  • During the boot up process press the appropriate key to enter your server’s BIOS settings.
  • Ensure that Boot from USB is enabled and that the USB boot device is in the proper boot order  for your preferences (above Hard Drive but below CD/DVD in my case).
  • Save your setting and let the server complete the boot up process.
  • At this point your server is booted up to ESXi via USB and you can complete the customization of your specific ESXi deployment by setting the hostname, IP address and so forth.

Section 2 – Create and deploy a custom oem.tgz on your usb flash boot drive (adapted from http://www.vm-help.com/esx40i/customize_oem_tgz.php)

Let your dc5750 boot esxi from the usb drive. After esxi boot has completed, press F2 (customize system), go to Troubleshooting Options, and Enable Local Tech Support. Now you can do Alt-F1 to obtain shell access. From the the shell, complete the steps below:
1. cd /tmp/
2. mkdir -p oem/etc/vmware
3. cd oem/etc/vmware
4. cp /etc/vmware/simple.map simple.map
5. vi simple.map

— scroll to the 1002 section and add a line before the first 1002 as follows: 1002:4380 0000:0000 storage ahci (added line shown here).

simple.map clip6. close vi – press ESC and enter :wq
7. cp /etc/vmware/pci.ids pci.ids (note that the pci.ids does NOT need modification, as it already has an entry for the 1002:1038, shown below)
pci.ids excerpt 8. cd /tmp/oem
9. tar -cvzf oem.tgz etc
10. cp oem.tgz /bootbank/oem.tgz
11. reboot

Section 3 – You are set to go. Set your network settings on the esxi host and then access it using the vsphere client to begin operations.

Advertisements

One thought on “VIRTUALIZATION | Run ESXI 4.1 on HP Compaq dc5750 Workstation

  1. Pingback: Virtualization | Adding Intel Pro 100M Nic support to ESXi 4.1 « kabheap

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s