How to cleanup disk previously used by vSAN 6.x

In the VCSA Web Client, there is a function called Erase partitions under Storage Devices, that allows you to erase and remove all partitions on the local hard disk(s). However, sometimes when you try to erase partitions, you are presented with the error “Cannot change the host configuration“, and the partitions are not removed. One of the options was to boot up the server using gParted¬†utility and erase partitions. However, this can be done using partedUtil utility on the ESXi host. Continue reading “How to cleanup disk previously used by vSAN 6.x”

How to deploy 2 node direct connect vSAN cluster.

Begining with v6.1 VMware supports direct connect for ESXi hosts when using vSAN. You just need to simply cross-connect your ESXi hosts using either cross UTP cable or 10 Gb SFP+ cable. This way you can save that expensive 10 Gb switch you would normally use for you vSAN and vMotion network. Please, do not proceed with the article before you have tested your direct connection! Ensure to use IP addresses that reflect your environment. Continue reading “How to deploy 2 node direct connect vSAN cluster.”

How to bootstrap VMware vCenter Server Appliance (VCSA) onto a single vSAN node

Previously it was a bit difficult to install VMware vCenter onto vSAN since you had to enable vSAN prior vCenter installation, and as you are aware, vSAN is a vCenter feature. VMware finally gave us the possibility to bootstrap VCSA onto a single vSAN node. In other words, you can enable vSAN feature under VCSA deployment. Once deployed, your VCSA will reside on fully functional vSAN. Of course, you must add additional hosts contributing storage to the vSAN cluster. Continue reading “How to bootstrap VMware vCenter Server Appliance (VCSA) onto a single vSAN node”

How to manually register storage providers in vSAN enabled cluster

One of the common problems when using vSAN is the missing VASA storage providers registration in the VMware vCenter. There is a number of possible reason for this, but if your network is segmented, and you are using separate VLANs for vCenter and ESXi hosts, then the most common issue is the firewall between the management VLAN (vCenter) and ESXi VLAN. Continue reading “How to manually register storage providers in vSAN enabled cluster”

How to build latest VMware ESXi ISO image for Intel NUC 4th generation

When it comes to building cheap and reliable home lab Intel NUC computers are huge success. Their low power consumption and small footprint makes them perfect for almost any kind of home lab, including building a VSAN lab. Recently I ran into the issue where I needed an additional network card for my NUC. I needed to transfer vCenter server from iSCSI storage, to a VSAN datastore on the same host. Continue reading “How to build latest VMware ESXi ISO image for Intel NUC 4th generation”

All Flash vSAN – How to tag an SSD disk as storage tier

Traditional vSAN is the combination of cache component based on flash storage and capacity layer based usually on traditional magnetic disks. Since v6.0, vSAN supports All Flash storage. In other words, both the caching and the storage layer can be made up from flash based storage, like SSD is. Here I will cover how to use the command line to perform device tagging. For GUI version, please refer to the article in the section Related Posts on the bottom of this page. Continue reading “All Flash vSAN – How to tag an SSD disk as storage tier”

How to change disk type presentation in VMware ESXi server

Since vSAN does not support SSD disk as data disk, you will need to change how disks are presented in VMware ESXi server, if you run on SSD disks only. Remember that best practice for vSAN is that SSD cache is 10% of the total data disks capacity. In order to change disk presentation, log-in to your VMware ESXi server via SSH and list all of your local disks using the following command: Continue reading “How to change disk type presentation in VMware ESXi server”