Please enable Javascript for better experience...
 
Enabling or Disabling VAAI in vSphere ESXi Hosts
By Pranay Jha | May 26, 2016 | In Articles | Update: Jun 21, 2016 | Total Views [ 1237 ]
Taged In
(1 Like)
Rate

VMware vSphere Storage APIs – Array Integration (VAAI)

What is VAAI?

VMware vSphere Storage APIs – Array Integration (VAAI), referred as Hardware Accelator or hardware offload APIs. It offload from ESXi to Storage Devices. API enable ESXi host to offload task related to Storage operations to Array. It improve performance for storage-intensive operations such as storage cloning, Storage vMotion, zeroing, and so on.
For example;
If VAAI is Disabled :-
If you are performing storage vmotion of a VM from one datastore to another, it will copy through kernel (Virtual Machine >>> Datastore01>>> ESXi01>>>>Copy to >>>ESXi02>>>>Datastore02)

If VAAI is Enabled :-
if you are performing storage vmotion of a VM from one datastore to another, copying will directly between Datastore01 to Datastore02, this is something Offloading the task from ESXi which improve performance.


How to Disable or Enable VAAI in ESXi Host

Enabling or Disabling VAAI can be perform via vSphere Client, Web Client, or PowerCLI. Refer to below screenshot to perform this through vSphere Client.

Login to vSphere Client and access vCenter Server.

Click on ESXi Host.

Click on Configuration >> Advance Setting as shown below.

Once Advance Setting Windows will popup, it will show many parameters. Click on VMFS3

Change the value of VMFS3.HardwareAcceleratedLocking to 0 or 1.

++ {Value 0 is for Disabling the VAAI}

++ {Value 1 is for Enabling the VAAI}

Click on DataMover

Change Value of DataMover.HardwareAcceleratedInit to 0 or 1

Change Value of DataMover.HardwareAcceleratedMove to 0 or 1

++ {Value 0 is for Disabling the VAAI}

++ {Value 1 is for Enabling the VAAI}

You can also use below VMware PowerCLI commands to configure VAAI in multiple ESXi  Hosts in Cluster. Connect Virtual Center Server by using below command in PowreCLI, and run commands given below as per requirement.

Connect-VIServer vCenterName

Show Current Configuration of VAAI on Multiple Hosts in Cluster:-

Get-Cluster ClusterName | Get-VMHost | Get-AdvancedSetting -Name DataMover.HardwareAcceleratedMove 
Get-Cluster ClusterName | Get-VMHost | Get-AdvancedSetting -Name DataMover.HardwareAcceleratedInit
Get-Cluster ClusterName | Get-VMHost | Get-AdvancedSetting -Name VMFS3.HardwareAcceleratedLocking

Disable VAAI on Multiple ESXi Hosts in Cluster:-

Get-Cluster ClusterName | Get-VMHost | Set-VMHostAdvancedConfiguration -Name DataMover.HardwareAcceleratedMove -Value 0 
Get-Cluster ClusterName | Get-VMHost | Set-VMHostAdvancedConfiguration -Name DataMover.HardwareAcceleratedInit -Value 0
Get-Cluster ClusterName | Get-VMHost | Set-VMHostAdvancedConfiguration -Name VMFS3.HardwareAcceleratedLocking -Value 0

Enable VAAI on Multiple ESXi Hosts in Cluster:-

Get-Cluster ClusterName | Get-VMHost | Set-VMHostAdvancedConfiguration -Name DataMover.HardwareAcceleratedMove -Value 1
Get-Cluster ClusterName | Get-VMHost | Set-VMHostAdvancedConfiguration -Name DataMover.HardwareAcceleratedInit -Value 1
Get-Cluster ClusterName | Get-VMHost | Set-VMHostAdvancedConfiguration -Name VMFS3.HardwareAcceleratedLocking -Value 1

PowerCLI Script to Check VAAI Status of all ESXi Hosts in a Virtual Center. Click Here.


Thanks for visiting here. Share this article if you found it useful.
Join Facebook Group https://www.facebook.com/groups/VMwareInsight/
Like Facebook Page https://www.facebook.com/VMwareInsight/
Connect to twitter https://twitter.com/VMwareInsight
Share this on Social Media

About the Author

Pranay Jha
Pranay Jha
Founder, Contributer VMwareInsight.com
Follow me

facebook linkedin twitter G+ VMTN

My name is Pranay Jha, working in IBM as Technical Solution Architect for Virtualization platform. I have been working in IT for near around 10 years. Passionate to get involved as an Independent blogger for my blog http://vmwareinsight.com. I am VMware vExpert 2016/2017, VCAP5-DCD/DCA, VCP5-DCV, VCA-Cloud, VCE-CIA, MCSE, MCITP, MCSA(Messaging). For any query or suggestion, please connect me at pranay1988jha@gmail.com. Thanks for visiting here.

 
Please SignUp/Login to comment...

Or comment as anonymous...
* Name
* Email ID
Comment
 
Sponsors
 
 
 
 
 
Facebook Likes