document NFS server setup

This commit is contained in:
2024-04-29 13:31:48 +02:00
parent 8177440337
commit 6e583a8705
3 changed files with 34 additions and 0 deletions
+1
View File
@@ -61,6 +61,7 @@ chapters:
- file: admin-guide/configuration/journald
- file: admin-guide/configuration/metrics_telegraf
- file: admin-guide/configuration/ntp_server
- file: admin-guide/configuration/nfs_server
- file: admin-guide/configuration/ssh_host_hopping
- file: admin-guide/configuration/citrix_vda
- file: admin-guide/configuration/configuration_email
+1
View File
@@ -38,6 +38,7 @@ Here starts a so far small collections of configuration guides for sysadmins of
## Special Installations
- [NTP Server](configuration/ntp_server)
- [NTP Server](configuration/nfs_server)
- [SSH Host Hopping as Root (e.g. between cluster members)](configuration/ssh_host_hopping)
- [Install Citrix VDA](configuration/citrix_vda)
- [Sending / Relaying Emails](configuration/configuration_email)
+32
View File
@@ -0,0 +1,32 @@
# NFS Server
Your node can serve as NTP server.
To enable the NFS server, set `base::enable_nfs_server` accordingly in Hiera:
```
base::enable_nfs_server: true
```
Then the exports go below `nfs_server::exports`:
```
'/home/meg/dcbboot':
clients:
- hosts: '*'
options: 'rw,sync,no_root_squash,no_subtree_check'
'/export/swissfel_athos/raw/maloja-staff':
options: 'fsid=1012'
clients:
- hosts: 'sf-export-1[2-3]-100g'
options: 'rw,async,no_root_squash'
```
If you wish non-standard configuration in `/etc/nfs.conf`, you may set it in Hiera with key `nfs_server::nfs_conf`:
```
nfs_server::nfs_conf:
nfsd:
udp: 'y'
vers3: 'n'
```
If you need/want to provide Kerberos authenticated access, please speak to the Core Linux Team.