Deploying an Active/Active NFS Cluster over CephFS
This list has been deprecated. Please subscribe to the new devel list at lists.nfs-ganesha.org. (Sorry for the duplicate email to ganesha lists, but I wanted to widen
it to include the ceph lists)
In response to some cries for help over IRC, I wrote up this blog post the other day, which discusses how to set up parallel serving over CephFS:
https://jtlayton.wordpress.com/2018/12/10/deploying-an-active-active-nfs-cluster-over-cephfs/
Feel free to comment if you have questions. We may be want to eventually turn this into a document in the ganesha or ceph trees as well.
Cheers!
Signature · 1 line
Jeff Layton <[email protected]>
A message that is not in the archive (sent off-list or not yet received): e37575905d14e9342bcecb8445ad730d57b4d713.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Hi Jeff
Many thanks for this! Looking forward to testing it out.
Could you elaborate a bit on why Nautilus is recommended for this set-up please. Would attempting this with a Luminous cluster be a non-starter?
Quoted 8 lines · On Wed, 12 Dec 2018, 12:16 Jeff Layton <[email protected]…
(Sorry for the duplicate email to ganesha lists, but I wanted to widen it to include the ceph lists)
In response to some cries for help over IRC, I wrote up this blog post the other day, which discusses how to set up parallel serving over CephFS:
Quoted 10 lines
https://jtlayton.wordpress.com/2018/12/10/deploying-an-active-active-nfs-cluster-over-cephfs/
Feel free to comment if you have questions. We may be want to eventually turn this into a document in the ganesha or ceph trees as well.
Cheers!
--
Jeff Layton <[email protected]>
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
A message that is not in the archive (sent off-list or not yet received): CACo-D_Dew2bTznRTb_=2cjo6R705p+oy7N=sJ-uyw_E1230gqg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
This list has been deprecated. Please subscribe to the new devel list at lists.nfs-ganesha.org. The main thing is that luminous does not have some of the new recovery interfaces in nautilus:
A ganesha server acts as a Ceph client and any state held by it (opens, locks, etc) is tied to the ceph client session. When a ganesha restarts, the new instance of the server will need to reacquire some subset of the caps it held before, but to the Ceph MDS, it just looks like another client.
So, we end up having to wait around until the old session times out before we can acquire some of those caps. That timeout is around 60s and that can eat heavily into the NFS grace period (which is usually about 90-120s). During that time, stateful operations performed by the clients (opens, locks, etc.) will stall.
In nautilus we've added a way to tag a session with a particular unique ID so that when the server is resurrected it can ask the MDS to cancel the old session immediately. That allows us to get back to business quicker.
Luminous may work but (at best) you'll end up with longer recovery times. At worst, you could end up with NFS state recovery failures if the interlocking timeouts didn't work out cleanly.
-- Jeff
Quoted 22 lines · David C
Hi Jeff
Many thanks for this! Looking forward to testing it out.
Could you elaborate a bit on why Nautilus is recommended for this set-up please. Would attempting this with a Luminous cluster be a non-starter?
Quoted 13 lines · On Wed, 12 Dec 2018, 12:16 Jeff Layton <[email protected]…
(Sorry for the duplicate email to ganesha lists, but I wanted to widen it to include the ceph lists)
In response to some cries for help over IRC, I wrote up this blog post the other day, which discusses how to set up parallel serving over CephFS:
https://jtlayton.wordpress.com/2018/12/10/deploying-an-active-active-nfs-cluster-over-cephfs/Feel free to comment if you have questions. We may be want to eventually turn this into a document in the ganesha or ceph trees as well.
Cheers!
Signature · 1 line
Jeff Layton <[email protected]>