Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am currently setting up a new 3-host VSAN cluster that will be placed into production soon. (Note this is the newer "Virtual SAN" (VSAN) technology, not the older vSphere Storage Appliance (VSA) technology). This is the first time I have worked with VSAN.

Each of the three hosts in the cluster has four 1TB local HDD's and one 200GB local SSD (which VSAN needs for read/write caching) to contribute to the cluster. I have installed ESXi 5.5 directly on the first local HDD of each host.

I added the three hosts to vCenter and launched the vSphere Web Client to configure VSAN. But instead of seeing all four local HDD's on each host as being available to VSAN, only three are available.

From what I have read in the VSAN documentation, disks used by VSAN must solely be used by VSAN. That is, once VSAN "takes over" a local drive, that drive can not be used for any other purposes (such as reserving partitions for use by other OS's). However, it wasn't clear to me if that also meant not being able to store the ESXi bootable partition on one of the VSAN local drives.

I've heard a lot about installing ESXi to a bootable USB stick as an option, but have never tried it since we've always just placed the ESXi boot partition on our traditional SAN. (For background, the new VSAN cluster is going to replace our blades and traditional SAN due to downsizing and cost-cutting measures).

So to summarize, here are my questions:

  1. Is it possible to install ESXi to one of the local HDD's and still have the rest of the space on that HDD be available to VSAN?
  2. If the answer to question #1 is "no", then is the next best option to install ESXi to a bootable USB stick? (and if so, are there any notable tradeoffs to doing this that I should be aware of?)
share|improve this question
1  
A lot of servers have an internal SD/Micro-SD/USB port for exactly this reason, to boot ESXi off - we do it and it works just fine. –  Chopper3 Jun 13 at 11:38
1  
What type of server hardware (make/model) and storage controller do you have? That's a pretty important detail, as certain systems are more optimized for VSAN use than others. –  ewwhite Jun 13 at 11:40
    
@ewwhite You are right about the VSAN optimization. We purchased one of the preconfigured "VSAN Ready Nodes" to make sure there were no issues with VSAN compatibility. Specifically, we got the SuperMicro SuperServer 1018D-73MTF Ready Node in a pretty much stock configuration (see page 4 of the PDF at this link and here), with the only change being that we went with 4 1TB HDD per host instead of 5. –  RSW Jun 13 at 11:48

3 Answers 3

  1. You can, but you don't really want to, because then you have one disk smaller than the rest, and you can't use passthrough if you wanted to.

  2. Most servers have an internal SD-card slot (or sometimes mirrored slots), or an internal USB port directly on the motherboard. You can install it on one of these. I have a bunch running off the SD card, and two that use USB stick.

ESXi is smart enough to know that it's installed on flash media. Have a look at this KB from VMWare.

If you do end up on USB instead of SD, make sure you buy a good, proper flash drive that has a nice fast write speed. I just spent my entire day copying 60GB of files onto a 64GB flash drive that could only write at 3MB/sec. It was horrific. The USB sticks that cost twice the price typically get way, way more than twice the performance.

share|improve this answer

The VSAN design guide recommends the following:

  • Use SD, USB, or hard disk devices as the installation media whenever ESXi hosts are configured with as much as 512GB memory.

  • Use a separate magnetic disk or solid-state disk as the installation device whenever ESXi hosts are configured with more than 512GB memory.


My recommendation for your specific Supermicro configuration is to use the internal USB with an enterprise purpose-built USB card (there should be a slot on the motherboard). If not, and your hosts are using a SAS HBA or motherboard SATA ports, and you have spare drive slots, using a small single SSD is an okay alternative.

In terms of the caveats associated with USB/SDHC card boot in vSphere, my experience is here:
What happens when the USB key or SD card I've installed VMware ESXi on fails?

VSAN accounts for this situation reasonably well.

share|improve this answer

Several people have already advised you to not use the HDD but to use an internal SD-card/USB-stick so I will not repeat this. Anyway, I think it's possible to boot ESXi hosts with auto-deploy so maybe that's a possible solution for you, too:

"With Auto Deploy, vSphere hosts are network-booted from a central Auto Deploy server where the ESXi software is installed directly into the server’s memory."

Auto Deploy

edit: I havn't used Auto Deploy myself so I can't tell you how good it really works

edit2: As Mark Henderson points out in the comments below, you shouldn't host the boot server on the cluster. If all nodes are down (power outage or something) you wouldn't be able to get the cluster running. Nodes down -> boot server down -> you can't boot any host -> you can't start the boot server.

share|improve this answer
    
I wouldn't recommend this for vsan deplouments. If every host powers down because of say, a power outage, you'll never get any host back online because you won't be able to boot any of the vsan nodes, because they all rely on having at least one other node online. –  Mark Henderson Jun 13 at 22:17
    
When all nodes are down and VSAN nodes require at least one other node online to boot, it shouldn't matter whether I can't boot the hosts from HDD or whether I can't boot them via network. Maybe there's an error in my reasoning and I'm not seeing something obvious. –  Mario Lenz Jun 14 at 6:39
    
@MarkHenderson This is troubling if true. Can I ask where you found this information? I never saw anything about this in the VSAN documentation (I haven't read it all though). Certainly some people are going to have unexpected shutdown of the whole VSAN cluster like this...are you saying that there is no road to recovery (other than restoring backups) if that happens? –  RSW Jun 14 at 11:47
    
I think there's been some misinterpreting going on here. What I'm saying is that if you choose to boot your ESXi install off the SAN, but your SAN is running exclusively under ESXi, then you will be in trouble. If you use SD cards, or a different SAN to boot your ESXi hosts from, then you'll be fine. But if you're exclusively VSAN then don't boot from the same VSAN you're hosting from. –  Mark Henderson Jun 14 at 12:11
    
@MarkHenderson Ahh...got it! Man, was I concerned I had missed a gaping hole for a minute! –  RSW Jun 14 at 12:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.