]>
Commit | Line | Data |
---|---|---|
a4b75251 TL |
1 | ============================== |
2 | NFS CephFS-RGW Developer Guide | |
3 | ============================== | |
4 | ||
5 | CephFS exports are supported since Octopus and RGW exports are supported since | |
6 | Quincy. | |
7 | ||
8 | Configuring NFS Ganesha to export CephFS with vstart | |
9 | ==================================================== | |
10 | ||
11 | 1) Using ``cephadm`` | |
12 | ||
13 | .. code:: bash | |
14 | ||
15 | $ MDS=1 MON=1 OSD=3 NFS=1 ../src/vstart.sh -n -d --cephadm | |
16 | ||
17 | This will deploy a single NFS Ganesha daemon using ``vstart.sh``, where the | |
18 | daemon will listen on the default NFS Ganesha port. Also cephfs export is | |
19 | created. | |
20 | ||
21 | 2) Using test orchestrator | |
22 | ||
23 | .. code:: bash | |
24 | ||
25 | $ MDS=1 MON=1 OSD=3 NFS=1 ../src/vstart.sh -n -d | |
26 | ||
27 | Environment variable ``NFS`` is the number of NFS Ganesha daemons to be | |
28 | deployed, each listening on a random port. | |
29 | ||
30 | .. note:: NFS Ganesha packages must be pre-installed for this to work. | |
31 | ||
32 | Configuring NFS Ganesha to export RGW with vstart | |
33 | ================================================= | |
34 | ||
35 | 1) Using ``cephadm`` | |
36 | ||
37 | .. code:: bash | |
38 | ||
39 | $ MON=1 OSD=3 RGW=1 NFS=1 ../src/vstart.sh -n -d --cephadm | |
40 | ||
41 | This will deploy a single NFS Ganesha daemon using ``vstart.sh``, where the | |
42 | daemon will listen on the default NFS Ganesha port. Also rgw export is | |
43 | created. | |
44 | ||
45 | .. note:: boto python module must be pre-installed for this to work. |