Solved

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

Posted on 2016-11-18
12
161 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
ID: 41894012
"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 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 150 total points
ID: 41894024
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
ID: 41894178
Hi Taras,

The link from starwind is "Error establishing a database connection" ?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 2

Expert Comment

by:Taras Shved
ID: 41894179
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
ID: 41894181
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 119
ID: 41894204
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
 
LVL 1

Assisted Solution

by:Vladislav Karaiev
Vladislav Karaiev earned 200 total points
ID: 41895767
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
ID: 41895836
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 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 150 total points
ID: 41895848
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
ID: 41895853
Hi Andrew,

Thanks for the clarification and suggestion.

As for the native Windows CIFS it requires Windows server VM right ?
0
 
LVL 119
ID: 41895856
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
ID: 41896204
@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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

786 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