72 lines
1.7 KiB
YAML
72 lines
1.7 KiB
YAML
autofs:
|
|
##
|
|
enabled: true
|
|
# is this really required? mapfile name is now using config_namespace leaving only topdir (uded in template) which seems like it could be static?
|
|
map_config:
|
|
topdir: "/-"
|
|
mapfile: steel
|
|
timeout: 300
|
|
##
|
|
nfs:
|
|
enabled: true
|
|
default_version: 3
|
|
lustre:
|
|
enabled: false
|
|
gpfs:
|
|
enabled: false
|
|
beegfs:
|
|
enabled: false
|
|
exports:
|
|
- type: nfs
|
|
export: "/nfs/home"
|
|
# ansible inventory group or node
|
|
exporter:
|
|
- nfs01
|
|
network: cluster
|
|
# ansible inventory group or node
|
|
consumer:
|
|
- login
|
|
- stateless
|
|
- compute
|
|
mount: /home
|
|
opts: "rw,async,no_root_squash"
|
|
- type: nfs
|
|
export: "/nfs/software"
|
|
exporter:
|
|
- nfs01
|
|
network: cluster
|
|
consumer:
|
|
- stateless
|
|
- login
|
|
- wlm
|
|
- compute
|
|
mount: /opt/software
|
|
opts: "rw,async,no_root_squash"
|
|
- type: nfs
|
|
export: /nfs/slurm
|
|
exporter:
|
|
- wlm01
|
|
network: cluster
|
|
consumer:
|
|
- slurm
|
|
- compute
|
|
mount: /opt/software
|
|
opts: "rw,async,no_root_squash"
|
|
# if you only intend to be a consumer you could omit the exporter field but would require export with proper protocol://
|
|
# - type: nfs
|
|
# export: /nfs/slurm111
|
|
# network: cluster
|
|
# consumer:
|
|
# - compute002
|
|
# mount: /opt/software
|
|
# opts: "rw,async,no_root_squash"
|
|
# example lustre - type and consumer fields will be mandatory, other fields will be filesystem type or role specific
|
|
- type: lustre
|
|
export: "/lustre/data"
|
|
network: cluster
|
|
consumer:
|
|
- group1
|
|
- group2
|
|
- node1
|
|
- node2
|
|
mount: /home |