Solved

VMWare ESXi MPIO vs

Posted on 2014-03-06
5
711 Views
Last Modified: 2014-03-09
I post my comment/question under HOW TO: Add an iSCSI Software Adaptor article.

Reading here
under Basic Requirements it is suggested to not use  to use MPIO or MC/S with Link Aggregation
Note: It is not recommended to use MPIO or MC/S with Link Aggregation Network Links, please select one method (MPIO or MC/S) or use Link Aggregation. Using both, while technically possible, is not practical, and involves complicated network setup.

I am wonder what is recommended to set up on physical switch instead?

I implemented configuration where both NIC for Synology NAS are set up via LACP  ethernet channel, and switch is configured with LACP and ports are bundled in port-channel.

On the ESXi side I below configuration creating MPIO,
and on the switch I have two ports bundled in port-channel.

How do you recommend the switch setup for that?
(I have separate vlan isolated from other traffic only for data storage.)
0
Comment
Question by:Martin Tarlink
  • 3
  • 2
5 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 39909424
Keep in mind that if doing iscsi you should use MPIO and not link aggregation in most cases.  Link aggregation works well if you have a one to many IP sessions, but in most cases you have an ESXi host communicating from one IP on the ESXi host to the iscsi target.  It establishes a session and even though you may have many links in your lacp port group it can't span more than 1 nic.  LACP is good for VM network port group/vswitch because you have many VM sessions and thus multiple sessions taking advantage of more than one nic in the port group.

MPIO by default uses more than one nic (ensure you configure round robin on the datastore)
0
 
LVL 5

Author Comment

by:Martin Tarlink
ID: 39909517
So I should disable on the Catalyst
and change:
 
interface GigabitEthernet1/0/3
 description ESXi VM-STORAGE
 switchport access vlan 50
 switchport mode access
channel-group 5 mode on

interface GigabitEthernet2/0/3
 description ESXi VM-STORAGE
 switchport access vlan 50
 switchport mode access
 no channel-group 5 mode on

Open in new window

to
interface GigabitEthernet1/0/3
 description ESXi-2A VM-STORAGE
 switchport access vlan 50
 switchport mode access

interface GigabitEthernet2/0/3
 description ESXi-2A VM-STORAGE
 switchport access vlan 50
 switchport mode access

Open in new window


and using Synology NAS could I still use Link Aggregation with 2NIC so I will have one IP connection to the iSCSI Target, or it is recommended to set NIC separately? (if yes how than add iSCSI Target in ESXi?)



You have mentioned set Round Robin
http://forum.synology.com/wiki/index.php/How_to_use_iSCSI_Targets_on_VMware_ESXi_with_Multipath_I/O
I should probably follow STEP 9 from Mounting the iSCSI Target on the ESXi Hypervisor
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 39909866
How are your vswitches configured?  That would have a a lot to do with how your switching is configured
0
 
LVL 5

Author Comment

by:Martin Tarlink
ID: 39910014
My vSwitch for Storage is configured as shown at the bottom of this post

One vSwitch with two VMKernel Ports that is associated with one NIC per VmKernel Port witch IP address associated to each.
0
 
LVL 42

Accepted Solution

by:
paulsolov earned 500 total points
ID: 39911203
Yep, that's exactly how you should do it.  Just put each vmnic port on an access port on the switch with no etherchannel.  Or better yet on two switches to reduce single point of failure

So break the channel group and setup as individual ports
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

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…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
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…

861 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