A maintenance operation is being performed on the storage array that requires a subnet mask update across the entire iSCSI network. Because some storage arrays require the change to be applied globally rather than on individual uplinks, there can be a total loss of connectivity to the datastores during the transition. This article provides the procedure to properly decommission the datastores on the VMware side to prevent host instability and safely bring them back online after the network update.
Caveats:
VMware vSphere ESXi 8.x
VMware vSphere ESXi 9.x
When a storage array or vSwitch undergoes a disruptive change (like a netmask update), the iSCSI sessions between the ESXi hosts and the targets can be broken. If the ESXi host is still attempting to perform I/O to a mounted datastore when the path is lost, it can trigger an All Paths Down (APD) condition. These states can cause the ESXi management agents to become unresponsive and may result in virtual machine hangs or crashes. Many storage arrays allow these changes to be made concurrently, but some arrays set this globally for the network and not on individual uplinks.
Follow a multi-phase approach to ensure the hosts are aware that the storage loss is intentional.
Unmounting ensures that the ESXi hosts flush pending I/O and stop accessing the VMFS file system.
Detaching prevents the host from attempting to reconnect during the maintenance, avoiding APD conditions.