ESXi

 View Only
Expand all | Collapse all

NFS Multipathing within ESXi? Possible?

  • 1.  NFS Multipathing within ESXi? Possible?

    Posted Nov 30, 2010 09:19 AM

    Hi community

    I set up a redundant storage system (active-active) and did not find any information about NFS multipathing within ESXi. Is that possible? I only read about Multipathing with iSCSI, which is apparently possible.

    Is there anywhere information about that?

    Thanks,

    Daniel



  • 2.  RE: NFS Multipathing within ESXi? Possible?

    Posted Nov 30, 2010 09:35 AM

    NFS is IP storage so achieving multipathing with be configured on the vmnics



  • 3.  RE: NFS Multipathing within ESXi? Possible?

    Posted Nov 30, 2010 09:44 AM

    No idea what you are talking about. Could you explain this? I know that NFS is IP-based.



  • 4.  RE: NFS Multipathing within ESXi? Possible?

    Posted Nov 30, 2010 10:15 AM

    If you have two or more physical NICs, you can create multiple paths for by using the port-binding technique. With port binding, you create a separate VMkernel port for each physical NIC with a one-to-one mapping. You can configure it with a single virtual switch or a pair of virtual switches.

    Best Regards,

    Ezz



  • 5.  RE: NFS Multipathing within ESXi? Possible?

    Posted Nov 30, 2010 10:32 AM

    Is there some guide around anywhere? I was searching for hours, but maybe used wrong/uncommon search phrases.

    So what I have is two servers, 10.1.0.1 and 10.1.0.2 which act as NFS servers, and providing access to a clustered file system. Now, in my understanding, I'd have to tell VMware that the both NFS servers actually provide the same datastore and it could use both links.

    Am I wrong?



  • 6.  RE: NFS Multipathing within ESXi? Possible?

    Posted Nov 30, 2010 10:55 AM

    You are right. To do so, in normal setup (without multipathing) you will define vmkernel port to access your NFS server and use one vmnic1 as uplink. To have multpathing, you need to create another vmkernel port and use another vmnic (e.g. vmnic2) as uplink (for example on one vSwitch) then in the vSwitch setup in teaming property, choose vmnic1 to be active adapter for one of the vmkernal ports and vmnic2 as "not used" and the reverse setup for the other vmkernal port.

    Best Regards,

    Ezz



  • 7.  RE: NFS Multipathing within ESXi? Possible?

    Posted Nov 30, 2010 11:58 AM

    Thanks for your response. I am not sure you understood me right. Is there a guide somewhere that shows what you mean? I tried it, but I'm somehow stuck.

    Will this active/passive configuration automatically fail-over to the secondary NFS?

    Maybe I'm wrong with the term "multipathing". Since both NFS servers are in the same network, there would be no need for two NICs. I just want failover for NFS, and I thought this is called IO Multipathing.



  • 8.  RE: NFS Multipathing within ESXi? Possible?

    Posted Nov 03, 2011 12:30 PM

    I've been researching to do this myself, but I don't think it's possible to have multi-path access from a single VM to a single datastore using NFS.

    It's possible with iSCSI using roundrobin (as described above) but with NFS, you would have to define multiple mount points on your ESX servers to alias IP addresses on your NFS server, and then spread out your VM storage across these mounts. So you would have 'multi-path' for multiple VMs, but not for a single VM as with the iSCSI method.

    I could be wrong here, if anyone knows a better way with NFS?



  • 9.  RE: NFS Multipathing within ESXi? Possible?

    Posted Jan 19, 2012 03:20 AM

    mrvmsnail wrote:

    Thanks for your response. I am not sure you understood me right. Is there a guide somewhere that shows what you mean? I tried it, but I'm somehow stuck.

    Will this active/passive configuration automatically fail-over to the secondary NFS?

    Maybe I'm wrong with the term "multipathing". Since both NFS servers are in the same network, there would be no need for two NICs. I just want failover for NFS, and I thought this is called IO Multipathing.

    That's a much simplier question.

    Put two NICs in the vmkernel port group, and configure one as standby using the "explicit failover" routing protocol, VMware will do this out of the box.



  • 10.  RE: NFS Multipathing within ESXi? Possible?

    Posted Jan 20, 2012 08:35 AM

    Josh26 wrote:

    mrvmsnail wrote:

    Since both NFS servers are in the same network, there would be no need for two NICs. I just want failover for NFS, and I thought this is called IO Multipathing.

    That's a much simplier question.

    Put two NICs in the vmkernel port group, and configure one as standby using the "explicit failover" routing protocol, VMware will do this out of the box.

    You might not even have to select active/standby if there is only one vmkernel port on the vSwitch, and there is two VMnics attached, and the default Port ID load balancing option is unchanged.

    If there is other traffic (vMotion, Management or similar) going on through the same vSwitch and VMnics it could be good to use active/standby.



  • 11.  RE: NFS Multipathing within ESXi? Possible?

    Posted Jan 18, 2012 05:16 PM


  • 12.  RE: NFS Multipathing within ESXi? Possible?

    Posted May 01, 2013 03:48 PM

    I understand what you mean and no.

    Multipathing is possible from a host's perspective, but when you're trying to get a single host to connect to two different nfs shares and multipath between nfs shares this is not possible to my knowledge.

    You would need to set up multiple iscsi targets to get what you're talking about.