Another VMware basics post and this time I will teach you how to set up Swap for an ESXi Host. The Swap here is for the VMKernel, and basically can create performance boost for those hosts that are heavily utilized. For myself, I created a RAID 1 Volume of two Intel DC3710 800GB SSDs to for this.
The steps to do this are easy. First create a datastore on your volume of choice. It is best to use a low latency SSD that is local to the hosts.
Then we go to Host-> Manager and under the System Tab select Swap.
Then we click Edit Settings, and change the Data Store to the one we just created.
That’s it, now we have the Cache there.
If we browse to the DataStore we can see there is a swap file created.