注意:上述日志摘录仅为示例。日期、时间和环境变量可能会因环境而有所不同。
reset_on_attempted_reserve
选项的情况下运行可强制 ESXi 有条件地将预留重置到 LUN,以防止预留在光纤通道交换机发生硬故障后卡住。使用此选项,ESXi 可以跟踪已尝试的 (SCSI-2) 预留,如果由于该路径上的预留而触发了路径故障切换,NMP 将发送 LUN 重置以清除该预留。reset_on_attempted_reserve
选项,请发出以下 esxcli
命令:esxcli storage nmp satp rule remove --satp VMW_SATP_ALUA --vendor IBM --model 2145
esxcli storage nmp satp rule add --satp VMW_SATP_ALUA --psp VMW_PSP_RR --vendor IBM --model 2145 --option reset_on_attempted_reserve
esxcli storage nmp satp rule remove --satp VMW_SATP_SVC --vendor IBM --model 2145
esxcli storage nmp satp rule add --satp VMW_SATP_SVC --psp VMW_PSP_FIXED --vendor IBM --model 2145 --option reset_on_attempted_reserve
esxcli
命令稍有不同:esxcli nmp satp deleterule --vendor IBM --model 2145 --satp VMW_SATP_SVC
esxcli nmp satp addrule --satp VMW_SATP_ALUA --psp VMW_PSP_RR --vendor IBM --model 2145 --option reset_on_attempted_reserve