If you don’t know what “vStorage APIs for Array Intergration” (VAAI ) is already then I suggest you look it up or at least talk to your storage vendor or VMware about VAAI as this is a great feature added by VMware in vSphere 4.1.
This basically offloads some of the features back to your storage array enabling your vSphere hosts to have more resources and time put aside for what there primary purpose in life is…. “Hosting VMs” and lets face it, the storage array is going to know how to do storage type functions more efficiently than the hosts. I would suggest reading this post from “Virtual Geek” to get a better understanding of these 3 features which are part of VAAI.
In order to test this we recently needed a way to enable and disable VAAI, this is an easy task on a host, each of the three features have a setting in the “Advanced Settings” configuration tab of the host, these are:
DataMover.HardwareAcceleratedMove
DataMover.HardwareAcceleratedInit
VMFS3.HardwareAcceleratedLocking
These are set to 1 by default which means they are enabled, to disable them simply set them to 0.
So with a simple piece of PowerCLI we can easily see their current configuration status:
Get-VMHost MyESXHost | Get-VMHostAdvancedConfiguration -Name DataMover*, VMFS3.HardwareAcc*
We can also easily disable these features for our host:
Continue reading →