Link to home
Start Free TrialLog in
Avatar of Martin Tarlink
Martin TarlinkFlag for United States of America

asked on

VMWare ESXi MPIO vs

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.)
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

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)
Avatar of Martin Tarlink

ASKER

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
How are your vswitches configured?  That would have a a lot to do with how your switching is configured
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.
ASKER CERTIFIED SOLUTION
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial