Em dom., 3 de mar. de 2024 às 08:49, wodel youchi <wodel.youchi@gmail.com> escreveu:
Hi,
I am having trouble understanding the documentation.
Kolla-ansible documentation about manila and cephfs-nfs say this : Prerequisites
- 3.0 or later versions of NFS-Ganesha. - NFS client installed in the guest. - Network connectivity between your Ceph cluster’s public network and NFS-Ganesha server. <-------------------------- NFS Ganesha is an external service.
Yes, it is an external service. We introduced the ability to use the cephadm deployed ganesha a couple of releases ago, and started recommending it, but some docs still have to be updated, which is the case for this doc. Some of the steps are not necessary anymore and the amount of things you'd need to do in the setup is smaller.
- - Network connectivity between your NFS-Ganesha server and the manila guest.
Ceph documentation says, that ceph can create an NFS-Ganesha cluster, which simplifies the deployment, but...there are some things that are clear : - When ceph create the NFS cluster, it create a new pool, in my deployment it is called ".nfs" - Manila using cephfs-nfs needs a pool to save the export configuration, which is called for reference : <ganesha_rados_store_pool_name> Is it the same pool???
You don't need to set this option using a ganesha deployed by cephadm, or even create the pool as suggested. That will be already done.
- The Ganesha configuration says : For a fresh setup, make sure to create the Ganesha export index object as an empty object before starting the Ganesha server. echo | sudo rados -p ${GANESHA_RADOS_STORE_POOL_NAME} put ganesha-export-index - - If its the .nfs pool, did ceph put the ganesha-export-index in it already or should I do it?
No need for this ganesha export index part either, it will already be figured out in this case.
Thanks.
Le ven. 1 mars 2024 à 22:04, Carlos Silva <ces.eduardo98@gmail.com> a écrit :
Hello,
Em sex., 1 de mar. de 2024 às 14:09, wodel youchi <wodel.youchi@gmail.com> escreveu:
Hi,
I am trying to configure Manila with cephsfs NFS as backend. My first problem is with installing and configuring nfs ganesha : - Do I have to deploy nfs ganesha from ceph?
Yeah, I think the most viable option at this point would be to deploy ganesha using cephadm. The Manila Ceph NFS driver supports it and you'll get good benefits using this approach. You can find some guidance on how to deploy NFS Ganesha with cephadm this doc [0].
- What about the /etc/ganesha/ganesha.conf config file?
This Manila documentation [1] can be useful for understanding the config files.
Could someone give me some steps to follow...
Regards.
[0] https://docs.ceph.com/en/latest/cephadm/services/nfs/ [1] https://docs.openstack.org/manila/latest/contributor/ganesha.html#nfs-ganesh...