VMWare ESXi MPIO vs

Martin Tarlink
Martin Tarlink used Ask the Experts™
on
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.)
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Paul SolovyovskySenior IT Advisor
Top Expert 2008

Commented:
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)
Martin TarlinkNetwork Systems Administrator

Author

Commented:
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
Paul SolovyovskySenior IT Advisor
Top Expert 2008

Commented:
How are your vswitches configured?  That would have a a lot to do with how your switching is configured
Martin TarlinkNetwork Systems Administrator

Author

Commented:
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.
Senior IT Advisor
Top Expert 2008
Commented:
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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial