Automation

 View Only
  • 1.  Disable VAAI ATS by powercli

    Posted Aug 17, 2016 12:16 PM

    Hi all, I like to disable VAAI ATS with the below KB. How Can I apply this to my specific HA cluster all at once? Thanks PowerCLI: Get-AdvancedSetting -Entity VMHost-Name -Name VMFS3.UseATSForHBOnVMFS5 | Set-AdvancedSetting -Value 0 -Confirm:$false https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2113956



  • 2.  RE: Disable VAAI ATS by powercli
    Best Answer

    Posted Aug 17, 2016 01:44 PM

    Try like this

    $clusterName = 'MyCluster'

    Get-Cluster -Name $clusterName | Get-VMHost |

    Get-AdvancedSetting -Name VMFS3.UseATSForHBOnVMFS3 |

    Set-AdvancedSetting -Value 0 -Confirm:$false



  • 3.  RE: Disable VAAI ATS by powercli

    Posted Aug 17, 2016 03:03 PM

    Cheers Luc!! Thanks a lot



  • 4.  RE: Disable VAAI ATS by powercli

    Posted Aug 22, 2016 09:32 PM

    Hi,

    LucD‌ `s solution works perfect.

    I created this small script a few months ago to solve a 3Par issue:

    $ESXiHostList = Get-VMHost

    foreach ($ESXiHost in $ESXiHostList) {

        #Disable ATS HB (http://kb.vmware.com/kb/2113956)

        Write-Output "Process Host $ESXiHost ..."

        Get-AdvancedSetting -Entity $ESXiHost.name -Name VMFS3.UseATSForHBOnVMFS5 | Set-AdvancedSetting -Value 0 -Confirm:$false

        }

    Full Script: http://mycloudrevolution.com/2016/02/22/vmware-esxi-hp-3par-konfiguration/

    Kind Regards,

    Markus