2021-08-04 10:46:29 +00:00
|
|
|
==============================
|
|
|
|
NFS CephFS-RGW Developer Guide
|
|
|
|
==============================
|
|
|
|
|
|
|
|
CephFS exports are supported since Octopus and RGW exports are supported since
|
|
|
|
Quincy.
|
|
|
|
|
2021-06-18 15:01:32 +00:00
|
|
|
Configuring NFS Ganesha to export CephFS with vstart
|
|
|
|
====================================================
|
|
|
|
|
|
|
|
1) Using ``cephadm``
|
|
|
|
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
$ MDS=1 MON=1 OSD=3 NFS=1 ../src/vstart.sh -n -d --cephadm
|
|
|
|
|
2021-08-04 10:46:29 +00:00
|
|
|
This will deploy a single NFS Ganesha daemon using ``vstart.sh``, where the
|
|
|
|
daemon will listen on the default NFS Ganesha port. Also cephfs export is
|
|
|
|
created.
|
2021-06-18 15:01:32 +00:00
|
|
|
|
|
|
|
2) Using test orchestrator
|
|
|
|
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
$ MDS=1 MON=1 OSD=3 NFS=1 ../src/vstart.sh -n -d
|
|
|
|
|
|
|
|
Environment variable ``NFS`` is the number of NFS Ganesha daemons to be
|
|
|
|
deployed, each listening on a random port.
|
|
|
|
|
|
|
|
.. note:: NFS Ganesha packages must be pre-installed for this to work.
|
|
|
|
|
2021-08-04 10:46:29 +00:00
|
|
|
Configuring NFS Ganesha to export RGW with vstart
|
|
|
|
=================================================
|
|
|
|
|
|
|
|
1) Using ``cephadm``
|
|
|
|
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
$ MON=1 OSD=3 RGW=1 NFS=1 ../src/vstart.sh -n -d --cephadm
|
|
|
|
|
|
|
|
This will deploy a single NFS Ganesha daemon using ``vstart.sh``, where the
|
|
|
|
daemon will listen on the default NFS Ganesha port. Also rgw export is
|
|
|
|
created.
|
|
|
|
|
|
|
|
.. note:: boto python module must be pre-installed for this to work.
|