I have 2 existing ESXi hosts I'm looking to set up vSAN with. I have a few questions on best practices:
1) Since there are only 2 nodes, I read that I will need a "Witness" host or appliance. Right now, I don't have any other physical host to dedicate to being a Witness. Should I just find a mini PC and toss it on there? Or should I be okay just using a virtual appliance? And if so, I would need to put one appliance on each host, right?
2) I plan on using 58GB M.2 Optane drives as vSAN cache drives. None of my VMs are super read/write heavy so I think that size should be okay? Or should I go with a slower but higher capacity nvme drive?
3) One of my hosts has a backplane with 6x 1TB 2.5" SATA SSDs. Currently the controller is in IT mode. Should I keep it as a JBOD and pass those to vSAN, or should I flash it to IR mode and create a RAID array and pass that to vSAN?
Thanks!
@macolm-r vSAN 2-node is great. I ran this a long while before I went to my 3-node cluster I am running currently. The witness node is best run as a virtual appliance which is the recommended way. Also, one neat thing about the witness node is it is the only supported "nested" version of ESXi. The Witness appliance is just a nested ESXi installation that houses metadata.Â
Another side point, VMware, at least before Broadcom, would charge you for the license if you run the witness on bare metal. But if you run the virtual appliance, the license for that is free.
Also, vSAN only works with JBOD. It handles the disk provisioning. So you just need to present the disks to vSAN as JBOD disks and form your disk groups. There are two architectures with vSAN now - OSA original storage architecture and ESA, enhanced storage architecture. I haven't had the chance to really play around with ESA to run my production workloads on as a while back it required 25 GbE network connectivity.Â
Now with 8.0 Update 2 they have what they call AF-0 Ready Node Profile that allows 10 Gbe. I would probably just spin up the OSA architecture with the "disk groups" concept. You need at least 1 disk for cache and 1 disk for capacity. You can only have 1 cache device per disk group, but multiple disks in your capacity tier.Â
@malcolm-r yeah cool thing with the witness host is it will service your whole environment. Also, good to know is they now allow one witness host to service multiple vSAN clusters as well, which is great!
@malcolm-r No worries on the questions! You can mix drives, but I would probably use your NVMe for cache and then use your SATA SSDs for your capacity tier and keep everything consistent. If you mix drives, you would see weird behaviors and performance differences across your hosts most likely.Â
alright, so i'm trying to get this set up and the vSAN config isn't liking my setup. i'm 99% sure it's because with my setup (2 physical hosts) i just have everything in one cluster. i didn't really plan my vcenter architecture. i just kinda tossed everything into one pile.
i'm thinking i need to re-assess my layout.
Â