summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/gdeploy_configs/add_node_to_nfs_ganesha_cluster.jinja
blob: e4bc1d8a00e0d932cc5c5d22241421506d49ea6f (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
[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

[clients]
action=mount
volname={{ node_to_add }}:/gluster_shared_storage
hosts={{ node_to_add }}
fstype=glusterfs
client_mount_points=/var/run/gluster/shared_storage/

[nfs-ganesha]
action=add-node
cluster_nodes={{ cluster_nodes|join(',') }}
nodes={{ node_to_add }}
vip={{ vip }}