6.7

Table Of Contents
Even though the device and datastores are unavailable, virtual machines remain responsive. You can
power off the virtual machines or migrate them to a different datastore or host.
If later the device paths become operational, the host can resume I/O to the device and end the special
APD treatment.
Disable Storage APD Handling
The storage all paths down (APD) handling on your ESXi host is enabled by default. When it is enabled,
the host continues to retry nonvirtual machine I/O commands to a storage device in the APD state for a
limited time period. When the time period expires, the host stops its retry attempts and terminates any
nonvirtual machine I/O. You can disable the APD handling feature on your host.
If you disable the APD handling, the host will indefinitely continue to retry issued commands in an attempt
to reconnect to the APD device. This behavior might cause virtual machines on the host to exceed their
internal I/O timeout and become unresponsive or fail. The host might become disconnected from vCenter
Server.
Procedure
1 Navigate to the host.
2 Click the Configure tab.
3 Under System, click Advanced System Settings.
4 In the Advanced System Settings table, select the Misc.APDHandlingEnable parameter and click
the Edit icon.
5 Change the value to 0.
If you disabled the APD handling, you can reenable it and set its value to 1 when a device enters the APD
state. The internal APD handling feature turns on immediately and the timer starts with the current
timeout value for each device in APD.
Change Timeout Limits for Storage APD
The timeout parameter controls how many seconds the ESXi host must retry the I/O commands to a
storage device in an all paths down (APD) state. You can change the default timeout value.
The timeout period begins immediately after the device enters the APD state. After the timeout ends, the
host marks the APD device as unreachable. The host stops its attempts to retry any I/O that is not coming
from virtual machines. The host continues to retry virtual machine I/O.
By default, the timeout parameter on your host is set to 140 seconds. You can increase the value of the
timeout if, for example, storage devices connected to your ESXi host take longer than 140 seconds to
recover from a connection loss.
Note If you change the timeout parameter after the device becomes unavailable, the change does not
take effect for that particular APD incident.
vSphere Storage
VMware, Inc. 138