Solved

Synology iSCSI NAS becomes innactive with VMware ESXi sessions over time

Posted on 2016-09-19
14
60 Views
Last Modified: 2016-09-28
I have noticed in the past few months as I've been settling my system in (getting everything configured right and all) that my Synology NAS which is hosting an iSCSI volume randomly appears to "disconnect" from certain hosts.  I put that in quotes as the Synology UI still shows the host as connected however the host displays that the SCSI route is dead in the network adapters page and the volume is inactive.  Upon attempting to shut down the NAS I am left with powercycling using a hard boot.  A power cycle of the NAS is the only option as rebooting the host does not reestablish a connection.  Any ideas?
0
Comment
Question by:huntson
  • 7
  • 7
14 Comments
 
LVL 117
ID: 41805393
does the host lose contact to the NAS, e.g. network connection?

what does vmkping or ping tell you ?

is your Synology NAS certified for use with ESXi, e.g. on the HCL

we've had lots of bad experiences with Synology NAS, and use only NFS now for Backup, not production, e.g. iSCSI.
0
 

Author Comment

by:huntson
ID: 41805472
Not sure how I can answer your question specifically other than telling you it thinks the route is bad. Vmkping shows that the host is seeing the NAS.  

My NAS is certified.  Interesting to hear that considering many people are able to use it successfully.  Any advice for troubleshooting as it only appears to be happening on this one NAS (i have several).  I was thinking about migrating everything off and recreating the disk.
0
 
LVL 117
ID: 41805485
if you have networking issues, constant vmkpings and pings, and look at VMware ESXi logs /var/logs

check networking.

is this only one LUN which is causing issues, any other LUNs present ?

do you have jumbo frames enabled ?

are you using multipath ?
0
 

Author Comment

by:huntson
ID: 41805492
What is the best way to do an indefinite ping?
0
 
LVL 117
ID: 41805528
vmkping is better because you can specify a vmkernel portgroup to send the "iSCSI data packet"
0
 

Author Comment

by:huntson
ID: 41805610
How do I keep that going with vmkping?
0
 
LVL 117
ID: 41805642
-c

followed by a number for packet count.

e.g.

-c 1024

Open in new window

0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:huntson
ID: 41805644
FYI this is exactly my issue - not sure if it'll get solved without downgrading:

https://forum.synology.com/enu/viewtopic.php?f=147&t=116743&start=180
0
 
LVL 117
ID: 41805985
again compatibility issue!

don't use iSCSI!
0
 

Accepted Solution

by:
huntson earned 0 total points
ID: 41812847
I see where you're coming from but I loose some compatibility and ability to do certain things if I do it all as NFS - don't I?

Apparently the solution was to add


iscsi_cmd_defer_exec="0"


at the end of

/etc.defaults/synoinfo.conf


Do this by telneting in and elevating to sudo.  I also changed the max SCSI connections to 256 in the advanced settings of my client as this was a suggestion for my issue however I'm not sure if that's have any impact
0
 
LVL 117
ID: 41812852
What do you lose if you use NFS ?

NFS has less overhead on the NAS, because it's designed around NFS, iSCSI adds additional layer, and CPU overhead, Synology processors are not that fast, and they do not have dedicated storage processors!
0
 

Author Comment

by:huntson
ID: 41812862
So I can migrate and do all that fun stuff just like iSCSI?
0
 
LVL 117
ID: 41812881
VMware vSphere ESXi supports NFS.

If you've not tried NFS and Jumbo Frames, you may find a performance increase.

It's worth trying...(less overhead).
0
 

Author Closing Comment

by:huntson
ID: 41819443
I emailed tech support and found the solution.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now