VMware Cloud Community
jvm2016
Hot Shot
Hot Shot

apd and pdl_powercli

Hi Luc,

have you tried to increase apd value in seconds through powercli .if yu could suggest some way and if it is recommended to change default value of 120 seconds

Tags (1)
0 Kudos
1 Reply
LucD
Leadership
Leadership

Afaik, the default value is 140 seconds.

You can change that value with this snippet.

But note that this timeout is only used when Misc.APDHandlingEnable is set to 1.
Cormac has a great post on this, see vSphere 5.1 Storage Enhancements – Part 4: All Paths Down (APD)

$clusterName = 'cluster'

Get-Cluster -Name $clusterName |

Get-VMHost |

ForEach-Object -Process {

    Get-AdvancedSetting -Entity $_ -Name 'Misc.APDTimeout' |

    Set-AdvancedSetting -Value 150 -Confirm:$false

}


If this is advisable?
It all depends (doesn't it always).
The blog post VM Component Protection (VMCP) describes the concept in detail and should allow one to make a decission.
I would, in any case, advise checking with support before changing any of these settings.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos