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 [ 15459 ]
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.
Like Facebook Page https://www.facebook.com/VMwareInsight/
Connect to twitter https://twitter.com/imPranayK
Subscribe my Channel https://www.youtube.com/vmwareinsight
Connect over Linkedin https://in.linkedin.com/in/impranayk
Share this on Social Media

About the Author

Pranay Jha
Pranay Jha
Founder, Contributer VMwareInsight.com

Public profile: user/profile/99900000


Follow me

facebook linkedin twitter G+ VMTN youtube

Thank you for visiting my profile. I am Pranay Jha, bring along a total of 11+ years of extensive experience with me in Information Technology sector for organizations from small business to large enterprises, wherein my current assignment I am associated with IBM as a Technical Solution Architect for Virtualization platform. I am vExpert x 3 (16/17/18), VCIX-DCV, VCAP5/6-DCD, VCAP5-DCA, VCP7-CMA, VCP5/6-DCV, VCA-DCV, VCA-Cloud, VSP, VCE-CIA, MCITP, MCSE, MCSA(Messaging). I am also an Independent blogger and founder of http://vmwareinsight.com and https://cloudpathshala.com. I can be reached via email at pranay1988jha@gmail.com or Direct Message via Contact Us form.

 
Please SignUp/Login to comment...

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