Skip to main content
NetApp Knowledge Base

LUNs lose connection to SQL instance

Views:
142
Visibility:
Public
Votes:
0
Category:
netapp_console
Specialty:
ds_cvo
Last Updated:

Applies to

  • SAN
  • iSCSI

Issue

  • LUNs presented to a server fail to connect which caused a failure in SQL instances.
  • iScsiPrt errors 129, 39, 27 can 9 indicate that the Repository is not reachable.
    • Windows logs show the following error:
Event ID 39
Source: iScsiPrt
Initiator sent a task management command to reset the target. The target name is given in the dump data.

Cause

iScsi traffic went sent over the same NIC as production traffic can cause timeouts and/or dropped packets as the expected response was not received in time.

Solution

  • Provision a second NIC, either physical or virtual,  to handle the iScsi traffic
  1. Enable only "TCP/IPv4" in the NIC's properties window
  2. Click the "Advanced" button and uncheck "Register this connection's address in DNS"
  3. Close this dialogue window
  4. With the NIC properties window open, click "Configure"
  5. Change Jumbo Packets to 9014 bytes
  6. Set the following settings to DISABLED:
    1. IPv4 Checksum offload
    2. Large Send Offload
    3. TCP Checksum Offload
    4. UDP Checksum Offload
  7. Close all dialogue windows
  • Open an elevated PowerShell prompt
  1. Type the following commands:
  2. Netsh int tcp set global RSS=Disabled 
  3. Netsh int tcp set global chimney=Disabled 
  4. Netsh int tcp set global autotuninglevel=Disabled 
  5. Netsh int tcp set global congestionprovider=None 
  6. Netsh int tcp set global ecncapability=Disabled 
  7. Netsh int ip set global taskoffload=disabled 
  8. Netsh int tcp set global timestamps=Disabled 
  9. Close PowerShell
  • Open Iscsi Initiator 
  1. Create a new connection with:
    1. Microsoft iSCSI Initiator Adapter
    2. Enter the IP address of your iScsi connected storage
    3. Click Save
  2. Open the "Favorite Targets" tab
    1. Remove the initiator from this list
    2. Click OK

Partner Notes

partnerNotes_text
 

Additional Information

additionalInformation_text

Internal Notes

internalNotes_text

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.