Solved

MPIO and Link Aggregation (LACP) difference for iSCSI Network ?

Posted on 2016-11-18
12
55 Views
Last Modified: 2016-11-24
Hi all,

Does anyone know what's the difference between the MPIO and LACP for the storage networking on Ethernet cable ?

I'm trying to determine the best deployment and storage network between my ESXi, HP Procurve switch and the QNAP NAS.

The hard disk drive on the NAS is backed by RAID-1 SATA2 7200rpm.
0
Comment
  • 4
  • 4
  • 2
  • +1
12 Comments
 
LVL 2

Assisted Solution

by:Taras Shved
Taras Shved earned 150 total points
Comment Utility
"Both LACP and MPIO provide the promised redundancy, offering failover without user’s involvement. It is a good thing, but when it comes to performance, it is clear that MPIO wins the competition. The more data paths it uses, the better the throughput will be."

https://www.starwindsoftware.com/blog/lacp-vs-mpio-on-windows-platform-which-one-is-better-in-terms-of-redundancy-and-speed-in-this-case-2
2
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 150 total points
Comment Utility
LACP is NOT SUPPORTED by ESXi when using Standard Switches, ONLY Distributed Switches.

also the recommended and best practice method is using MULTIPATH (MPIO) for iSCSI.

see my EE Article

HOW TO: Add an iSCSI Software Adaptor and Create an iSCSI Multipath Network in VMware vSphere Hypervisor ESXi 5.0

HOW TO: Enable Jumbo Frames on a VMware vSphere Hypervisor (ESXi 5.0) host server using the VMware vSphere Client

Same procedure for all versions of ESXi including 6.0.
1
 
LVL 7

Author Comment

by:Senior IT System Engineer
Comment Utility
Hi Taras,

The link from starwind is "Error establishing a database connection" ?
0
 
LVL 2

Expert Comment

by:Taras Shved
Comment Utility
Hi,

That was some DB maintenance I guess. Anyways, I've just checked and it's up and running now.
1
 
LVL 7

Author Comment

by:Senior IT System Engineer
Comment Utility
Thanks Andrew,

So for the iSCSI data Network, the best Practice is with MPIO on standard vSwitch.

What about for data Network for Production VM ?

Can I use LACP for higher throughput while still maintaining redundant path in case one cable is broken ?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
So for the iSCSI data Network, the best Practice is with MPIO on standard vSwitch.

Multipath is recommended for all iSCSI, unless your SAN vendors tells you different.

What about for data Network for Production VM ?

Can I use LACP for higher throughput while still maintaining redundant path in case one cable is broken ?

Again LACP is NOT SUPPORTED for Standard Switches.

and we are now asking question which our out of scope and drifting off the original questioned asked, which was about iSCSI.
2
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 1

Assisted Solution

by:Vladislav Karaiev
Vladislav Karaiev earned 200 total points
Comment Utility
Never use LACP or any other kind of network aggregation for iSCSI networks unless it was required by your SAN vendor. Use MPIO (Multipathing) instead.

Generally speaking, teaming creates a network overhead by adding an extra text string into each Ethernet frame.
 
Usually, nothing bad happens during the low workload or when teaming is used along with NAS protocols (NFS/SMB) since the number of Ethernet frames per second is not really high.
 
In case of iSCSI traffic which, essentially, turns into block level access, the number of frames per second may be really high especially when smaller 4k/8k access patterns are being used. When iSCSI networks are teamed, LACP driver processes each frame which leads to an extra CPU load and increased latency.
1
 
LVL 7

Author Comment

by:Senior IT System Engineer
Comment Utility
Vladislav,

So in this case for general purpose VM like file server VMs on VMware is to use MPIO with 2X uplinks and then host the VMFS LUN on NFS rather than iSCSI ?
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 150 total points
Comment Utility
Test which works for you best NFS or iSCSI.

Multipath as per my EE Article for iSCSI.

NFS you can use teaming, or a multipath arrangement.

BUT it does depend on what your SAN vendor recommends.

So what does Qnap recommend, and a Qnap NAS, is based on NAS, e.g. NFS, my bet is iSCSI is another added layer on the Qnap, so maybe slower.

But the only way to know, is to test both using iSCSI and NFS.

and if you only want to create a VM for a File Server, why not use native NAS features such as Windows/CIFS Shares?
0
 
LVL 7

Author Comment

by:Senior IT System Engineer
Comment Utility
Hi Andrew,

Thanks for the clarification and suggestion.

As for the native Windows CIFS it requires Windows server VM right ?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
As for the native Windows CIFS it requires Windows server VM right ?

No, your Qnap NAS can also do WIndows CIFS.
0
 
LVL 1

Accepted Solution

by:
Vladislav Karaiev earned 200 total points
Comment Utility
@Senior IT System Engineer, it depends on your requirements.

From what I understood, you are describing the : "iSCSI SAN (Qnap) -> NAS VM -> NFS Datastore -> Client VM" architecture. I think, this is not the most efficient approach since NFS/SMB over iSCSI will introduce an overhead (it can be insignificant though, so you should obviously test it before implementation).

Instead of NFS over iSCSI, I would recommend you to choose between "Qnap NFS -> NFS Datastore -> Client VM" and "Qnap iSCSI -> VMFS Datastore -> Client VM" approaches. Unlike NFS, VMFS is a block level file system and it will combine nicely with iSCSI storage.

Choose the protocol depending on your workload. I prefer to configure iSCSI as an underlying storage protocol.
If I want to create an SMB file-share, I usually spawn a Windows Server VM on top of VMFS datastore and configure a File Server role inside of it. In my opinion, no one does SMB better than the Windows-native implementation.
1

Featured Post

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.

Join & Write a Comment

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

772 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

10 Experts available now in Live!

Get 1:1 Help Now