ESXi Server Build Lessons Learned

While building the new ESXi box, I ran into a few issues that I've had to navigate through. Below is a list of those items.

  • Dell Perc 5i RAID card - didn't work with DirectPath I/O enabled. After adding it to ESXi, it would 'disappear' under load and appear as a new drive after re-scanning. Discovered other users have had the same issue.
  • The Broadcom NIC on the ASRock X79 Extreme 6 motherboard was supported by ESXi 5[0, 1]. I didn't need to purchase the 2 port PCI-e NIC. Will be returning this / selling  -- decided against this when the RAID controller card didn't work.
  • Video card pass through - works great! However, did have to reserve all the memory for the VM up front while configuring the pciHole.start / pciHole.end values within the VM's configuration file. And, while using HDMI, it passes sound to my TV, so I didn't need a sound card. I did run into issues though when I tried using the HDMI extender.
  • ESXi 5.1 had some problems with USB pass through. I had to downgrade to ESXi 5.0. (Discovered other users were having the same issue from blogs).
  • ESXi pass through devices in 5.0 weren't listed properly (lots of 'unknowns'). However, 5.1 lists a few more of them correctly, so it was a good thing I started with 5.1 first before going to 5.0.
  • USB 2.0 and pass through was a little different than expected. I was expecting the 10 on board ports to be divided in groups of 2 to pass through to VMs. However, the ASRock X79 Extreme 6 divided the ports onto 2 controllers. The first are for the 4 on the back and the 2 on the motherboard closest to the back of the motherboard. The second controller controls the other two mother board ports (I bought a 4 port USB bracket for $4 to get a connection to these)
    • Other than only having 2 controllers, the USB pass through works great
  • USB Boot of ESXi - this worked great. Highly recommended. However, I had to move to using an older 2.5" SATA drive since there were only 2 USB controllers, and I would rather have the USB ports going to the VMs (1 VM for keyboard / mouse and 1 VM for backup drive, USB TV tuner - which could be moved to another VM temporarily if necessary to mirror a 'dual boot' setup).
  • USB 3.0 - currently not working (hope to get this working in ESXi 5.5)
  • RAID - the on board RAID is not supported by ESXi 5. (currently looking at raid controllers to pull the 4 - 2.5 TB drives into a RAID 5 array -- see above note on RAID controller). The ports individually can be used within ESXi.
  • ESXi free version of 5.1 and 5.2 only supports 32 GB of memory. I'll need to upgrade to 5.5 soon to get support for 64 GB (as soon as I have time to dedicate to a maintenance weekend!).
  • PCI pass through - It appears that if you pass 1 of the PCI cards through, you have to pass both of them through. However, I haven't had any issues with assigning the PCI cards to separate machines.
  • PCI sound card pass through - I was able to pass my PCI Sound Blaster Audigy 2 to a VM. But, it appeared to cause the VM to 'studder'. I'm not sure if this was related to the drivers (Windows 7); I will need to test this out again, as the first round of testing I was flushing out a lot of other items. However, this really won't be needed as the HDMI out on the video card pushes sound to the TV.
  • UPS - UPS functionality is working, but currently pending resolving issues with the UPS and the Tripp-Lite software. The VM does see it when plugged in via USB as a battery, but the software isn't seeing it. I will need to test this on my laptop. -- Update Jan 2016, when I moved the UPS to be managed with my new hardware based FreeNAS, I couldn't get it working correctly. I migrated to an APC BackUP UPS PRO 1500 to work correctly with FreeNAS.
  • VM Templates - I'm used to using VM Templates at work. However, this feature isn't available within ESXi free version. But, I was able to copy the vmdk files manually using the datastore browser and boot the OS ok (Windows 7). If you need to rename the virtual disk, there's a hidden file that gets copied that needs to be renamed and edited to reflect the new name of the vmdk file. I connected to ESXi via SSH and used VI to edit the file.
  • SANS Digital 4 bay RAID tower - I'm not sure why, but I'm seeing very slow performance from this now. I don't remember having a problem with slowness, but I also wasn't moving very large files around. When copying (writing) files, it would start at around 70mb/sec, but would drop to around 6mb/sec (on RAID 5). When I went with no RAID (individual drives), it increased to around 25mb/sec. *Update - I think this might have just been the file copying protocol going slow due to the small size of files (i.e., copy file, check file, copy file, check file...), so I'll need to flush this out.
  • Local Drives - I did have a local drive to the ESXi server go bad, and it really caused a lot of I/O issues. It was very difficult to get the ESXi host to do anything because it was running so slow, even after a reboot. I knew it was one of two drives (based on what was shown in the storage summary view), so I opted for powering off the host and pulling each of the drives one at a time until I found the culprit. It ended up being drive number two for me. With this happening, I don't recommend local drives if at all possible.
Below are some pictures of the DirectPath I/O Configuration. The first is when I tested with 5.1. A few items are labeled better than what it is within 5.0.0. The other two are from 5.0.0 with my current setup fully populated with cards.

ESX 5.1 DirectPath I/O Configuration

ESX 5.0.0 DirectPath I/O Configuration Part 1

ESX 5.0.0 DirectPath I/O Configuration Part 2
While using the ESX 5.0.0 pictures above:
  • 00:10 USB #2 = The two USB 2 (4) connector ports on the motherboard closest to the south bridge
  • 00:1b Audio = on board audio controller
  • 00:1d USB #1 = All the USB 2 connector ports on the back I/O panel and the one USB 2 connector port on the MB closest to the back I/O panel (6 total)
  • 00:1f = I'm not 100% on this, but I'm guessing the 4 SATA II ports (black connectors) and the 2 adjacent SATA III ports (gray connectors)
  • 00:01 = My add on Hauppauge TV Tuner card (PCI-e)
  • 00:02 = My add on Radeon video card (PCI-e)
  • 00:03 = My add on Realtek based 2 port gigabit Ethernet card (PCI-e)
  • 00:1c.1 = A set of USB 3 ports
  • 00:1c.2 = A set of USB 3 ports
  • 00:1c.3 = Motherboard's Broadcom gigabit Ethernet
  • 00:1c:6 = A SATA controller; my best guess is the 2 SATA ports (grey connectors) adjacent to the 2 SATA III ports (far right on the picture below)
  • 00:1c.7 = A SATA controller; my best guess is the single SATA port (grey connector facing upward) that is targeted for SATA BD/DVD/CD ROM drives
  • 00:1e = Supports the two PCI slots; in the screen shot, I have the Sound Blaster Audigy 2 ZS (with the front panel) and a Digium TDM4 analog card installed.
Physical placement of cards (starting closest to CPU and moving outward):
  1. Video card (PCI-e)
  2. Video card (it's a wide card, it's not plugged into the PCI-e port)
  3. Sound card (PCI)
  4. Ethernet card (PCI-e)
  5. Phone card (PCI)
  6. TV card (PCI-e)
Here are some pictures of the motherboard for quick reference:








5 comments:

  1. Hi! Thank you very much for this information. I'm thinking of getting the same board for my ESXi-server and have a few questions;

    1. What do you mean with RAID doesn't work? Does that mean that the SATA-ports will not be able to passthrough, or just that RAID doesn't work?
    1.2 If if is possible to passthrough the SATA-ports, is the ports devided with different controllers? The reason for why I'm asking is because I would like to use some ports for VMs and passthrough most of the boards.

    2. Have you tried this board with ESXi 5.5? I have read that it have better support with USB 3.0, the free version should also support more RAM.

    Best regards,
    Martin

    ReplyDelete
    Replies
    1. Hi! I added some screen shots to the page for reference, so hopefully that helps.

      It's definitely been a good board for me. If you don't think you'll use the full 64 GB, then the Extreme 4 might be a good option too (but I can't guarantee that it'll work with DirectPath, but the manual says that it does). I usually have about about 14 VMs running (most are Linux running small services so not too heavy on disk I/O, i.e. ldap, dns, spacewalk, smtp, zenoss, freepbx, ...) and using about 41 GB of memory.

      Answer 1: When I configured RAID on the SATA ports using the motherboard RAID utility/controller, the RAID disk(s) would not show up in ESXi. When I un-configured the RAID, ESXi saw all my SATA drives individually. After some reading, people did mention adding the RAID controller drivers to ESXi, but I didn't get that far.

      Answer 1.2: From the DirectPath page, it appears that the 4 SATA II and the 2 SATA III ports use the same controller. If you don't plan on using DirectPath for any other cards, the Dell Perc 5i RAID card should work. I tested it, but it wouldn't work with DirectPath being used (do some searches for other users with the same problem). It's a fairly cheap card (~$35), but if you go with it, make sure you get the correct SAS to SATA cable (there's a cross over and straight through) type. My first attempt didn't work, but I was able to get "http://dx.com/p/4-in-1-sata-to-scsi-hard-disk-data-cable-1940" to work. I was reading "http://forums.servethehome.com/raid-controllers-host-bus-adapters/1622-ideal-hardware-raid-1-10-card-esxi-datastore.html" about the card and "http://en.community.dell.com/support-forums/servers/f/906/t/19498091.aspx" on the issues with DirectPath being used.

      Answer 2: I haven't tested 5.5 at home yet. It would be nice to get USB 3.0 to work (I wasn't able to detect that power was even being provide to the USB 3 ports with 5.0 or 5.1). I'll add it to my to do list.

      Other thoughts: I'm currently using FreeNAS with virtual disks from ESXi and have had good performance. I'm using software RAID within FreeNAS across 4 - 250GB physical disks (with 250 GB virtual disks on each) attached to the 4 motherboard SATA II ports. CIFS and NFS copies to them aren't the best (~10 to 15 mb/sec), but iSCSI copies were pretty good (~50 to 80 mb/sec).

      I also tested using RDM (raw device mapping). When I tested, the SATA cable to the external SAN somehow became disconnected and started to freeze up datastore browsing and disk scanning. I decided to go with the virtual disks on each of the 4 small drives and software RAID because it would allow me to create a new virtual disk on my main drive if I couldn't find a replacement for the 250 GB drive when it fails.

      Hope that helps. Let me know if any of the above doesn't make sense.

      Delete
    2. Hi!

      I just recieved my ASRock X79 Extreme6 board and booted it with a modified ESXi 5.5 (http://www.v-front.de/2013/09/how-to-add-missing-esxi-50-drivers-to.html) and I can confirm that USB 3.0 ports works fine :)

      I have some troubles to get the single SATA-Port to work, but I will look into that tonight. VGA Passthrouhg works good as well, so I'm happy with the board so far! I want to thank you very much for the updated post with the images of everything that is possible to passthrough.

      I'm using this with a E5-4620 (ES). I had a lot of problems finding a single CPU-motherboard with support for this CPU so I guess it might be interesting to know if anyone else looking for a board that works with Xeon E5-CPUs.

      I will update you when/if I get everything to work.

      Best regards,
      Martin Lavén

      Delete
    3. I'm glad to hear you were able to get it up and running with 5.5. I'll have to find some downtime and upgrade to 5.5 myself.

      Delete
  2. This comment has been removed by the author.

    ReplyDelete