xcp-ng / xcp

Entry point for issues and wiki. Also contains some scripts and sources.
https://xcp-ng.org
1.25k stars 74 forks source link

Any plans for NFS Multipath/Session Trunking #389

Open achtnullzwei opened 4 years ago

achtnullzwei commented 4 years ago

Hi xcp-ng team!

Have you any plans on supporting pNFS for SRs? As I understand it would be part of the v4.1 standard. I currently have a use case fo it and I would really love to move to xcp-ng, hence my question if you plan to support it.

Thx a lot in advance!

olivierlambert commented 4 years ago

Hi!

No plans for now. Do you know any "server side" implementation of it (available and Open Source)? So we can test it and see what needed to be done.

I suppose you meant it on the NFS client side, but in order to build it, we need a test server with it.

achtnullzwei commented 4 years ago

Hi @olivierlambert!

Thx a lot for considering. I use it at the moment with FreeNAS as the Server. No need to configure something special besides enabling NFSv4 on FreeNAS. Then you just need nics in 2 different Subnets and have it listening for NFS on them. On the client side, it is supposed to work with regular up-to-date Linux Systems as well. Quite honestly, I never tried it with anything else but ESXi though. For obvious reasons I thought about switching to xcp-ng, that is the reason I asked :-)

In case you need to understand the current FreeNAS configuration I use a bit better, I could share more details.

olivierlambert commented 4 years ago

Are you sure pNFS is supported on FreeNAS? Do you have any documentation pointing to that?

achtnullzwei commented 4 years ago

Maybe I was mistakenly referring to something else. I did a quick check on the digging I did in the past and it seems the feature of NFS4.1 I am referring to is also called "Multipath" or "session trunking". It is a bit confusing tough, I saw people refer to it as pNFS, when it seems some mean session trunking. Basically I use it to increase bandwidth across 2 regular GbE nics.

I could not find any documentation for session trunking on FreenNAS side. It just works, if I activate NFS4 (the use 4.1 as far as I understand) and use a client that supports it.

Sorry for the confustion. Maybe we can rename the issue to "...NFS Multipath/Session Trunking" to not confuse others as well.

olivierlambert commented 4 years ago

Feel free to rename the issue and try to get some documentation somewhere so we can investigate properly :+1:

Thanks!

tdcockers commented 2 years ago

Just floating this one again, I periodically wish this feature was implemented. As best I've been able to understand, session trunking is the functional equivalent of iSCSI multipathing, and part of the NFS 4.1 standard.

This is the best explanation I've seen about session trunking vs pNFS... my use case is definitely just session trunking.

One experience (by an esxi user) using session trunking is here.

I thought when I looked into it about a year ago there was some RHEL documentation available, but I can't find anything that is not tucked behind a paywall now :(

RFC8881 (section 2.10.5) is the most recent engineering documentation I believe,