ESXi hosts experience intermittent storage connectivity issues or session teardowns on HBAs during Top of Rack Switch Maintenance.
Devices may enter an APD (All Paths Down) state on ESXi hosts.
VMware vSphere ESXi 8.x
ESXi: /var/run/log/vmkernel.log ####-##-##T##:##:##.###Z In(182) vmkernel: cpu64:2098295)ql_fcoe:vmhba#:RecvRSCN:2365:Info: received RSCN for Fabric(0x4324c196e2a0): 010608####-##-##T##:##:##.###Z In(182) vmkernel: cpu64:2098295)ql_fcoe:vmhba#:StartGPN_FF_Targets:3407:Info: Called.
####-##-##T##:##:##.###Z In(182) vmkernel: cpu64:2098295)ql_fcoe:vmhba#:StartPortLogout:1236:Info: Sess 0x4324c1975fb0 port_id <port_id>####-##-##T##:##:##.###Z In(182) vmkernel: cpu64:2098295)ql_fcoe:vmhba#:CancelExchangeHandling:196:Info: Enter for Sess = 0x4324c1975fb0####-##-##T##:##:##.###Z In(182) vmkernel: cpu0:2098509)qedf:vmhba#:qedfc_cleanup_rport:1110:Info: ST(RPORT): DISABLED C_ID[0x6]:P_ID[0x10000]:T_ID[6]
Since the adapter is responding to unexpected external fabric triggers at the time of the switch maintenance, the resolution requires investigating the physical infrastructure.
RecvRSCN events in the vmkernel.log.