Solved

Synology iSCSI NAS becomes innactive with VMware ESXi sessions over time

Posted on 2016-09-19
14
170 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 7
14 Comments
 
LVL 121
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 121
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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

Author Comment

by:huntson
ID: 41805492
What is the best way to do an indefinite ping?
0
 
LVL 121
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 121
ID: 41805642
-c

followed by a number for packet count.

e.g.

-c 1024

Open in new window

0
 

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 121
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 121
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 121
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

717 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