summaryrefslogtreecommitdiffstats
path: root/doc/dev/vstart-ganesha.rst
blob: 4e77deb8ba41c0030068837cd8ed72083da063ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
==============================
NFS CephFS-RGW Developer Guide
==============================

CephFS exports are supported since Octopus and RGW exports are supported since
Quincy.

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

    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.

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.

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.