summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/gdeploy_configs/create_nfs_ganesha_cluster.jinja
blob: 01bd3f053e1ddd3a92967735e1dd6cadfaa1899f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[hosts]{% for server in servers %}
{{server}}{% endfor %}

[peer]
action=probe

#Enabling firewall ports
[firewalld]
action=add
ports=111/tcp,2049/tcp,54321/tcp,5900/tcp,5900-6923/tcp,5666/tcp,16514/tcp
services=glusterfs,nlm,nfs,rpc-bind,high-availability,mountd,rquota
permanent=true
zone=public

#Creating a high availability cluster and exporting the volume
[nfs-ganesha]
action=create-cluster
ha-name=ganesha-ha-360
cluster-nodes={{ servers|join(',') }}
vip={{ vips|join(',') }}