SQL databases entered SUSPECT Mode during SAN OS upgrade
search cancel

SQL databases entered SUSPECT Mode during SAN OS upgrade

book

Article ID: 439716

calendar_today

Updated On:

Products

VMware vSphere ESX 8.x

Issue/Introduction

  • SQL server is unable to recover due to storage I/O interruption caused by SAN upgrade

  • The databases are temporarily unavailable and are only restored after restarting the SQL services.

Environment

VMware vSphere ESXi 8.X

Cause

  • During the path down event triggered by the storage controller reboots, active I/Os through those paths from the affected VM were failed and retried which is expected from ESXi host

    YYYY-MM-DDTHH:MM:SS In(182) vmkernel: cpu98:2098491)NMP: nmp_ThrottleLogForDevice:3893: Cmd 0x2a (0x45f2921e0740, ########) to dev "naa.################################" on path "vmhba1:C#:T#:L#" Failed:
    YYYY-MM-DDTHH:MM:SS In(182) vmkernel: cpu98:2098491)ScsiDeviceIO: 4633: Cmd(0x45f2921e0740) 0x2a, CmdSN 0x8000004c from world ######## to dev "naa.################################" failed H:0xc D:0x0 P:0x0
    YYYY-MM-DDTHH:MM:SS In(182) vmkernel: cpu96:2098491)ScsiDeviceIO: 4633: Cmd(0x45f292043f40) 0x2a, CmdSN 0x8000002c from world ######## to dev "naa.################################" failed H:0xc D:0x0 P:0x0
    YYYY-MM-DDTHH:MM:SS In(182) vmkernel: cpu66:2098491)NMP: nmp_ThrottleLogForDevice:3893: Cmd 0x2a (0x45f292168d40, ########) to dev "naa.################################" on path "vmhba1:C#:T#:L#"" Failed:

    YYYY-MM-DDTHH:MM:SS In(182) vmkernel: cpu65:2097370)ScsiDeviceIO: 4605: Cmd(0x45f290383040) 0x2a, cmdId.initiator=0x43100da1e880 CmdSN 0xffffc681ed2497b0 from world ######## to dev "################################" failed H:0x8 D:0x0 P:0x0 Cancelled from
    YYYY-MM-DDTHH:MM:SSIn(182) vmkernel: cpu72:2098019)ScsiDeviceIO: 4605: Cmd(0x45f29031a040) 0x5e, cmdId.initiator=0x43100da1e880 CmdSN 0xffffc681fbecb7e0 from world ######## to dev "################################" failed H:0x8 D:0x0 P:0x0 Cancelled from

  • While the ESXi host performed as expected by retrying I/O, SQL Server is highly sensitive to I/O, if these retries persisted for longer than the Guest OS timeout or disk timeout, the OS would have reported a fatal I/O error to the database engine, causing the SUSPECT state.

Resolution

  • It is recommended to work with application vendor to to determine the best practices for preventing this situation. Specifically, it would be beneficial to check if there are any disk/OS timeout thresholds that can be increased.