From 710acdec96e3f12fdddb7750ac6c40d07317c1b6 Mon Sep 17 00:00:00 2001 From: Arthy Loganathan Date: Thu, 1 Jun 2017 15:16:39 +0530 Subject: Added gdeploy configuration files ad jinja templates for nfs ganesha operations Change-Id: I30f8b464d2193909a0d83daff7ea695b97fb3863 Signed-off-by: Arthy Loganathan --- .../gdeploy_configs/create_nfs_ganesha_cluster.jinja | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 glustolibs-gluster/gdeploy_configs/create_nfs_ganesha_cluster.jinja (limited to 'glustolibs-gluster/gdeploy_configs/create_nfs_ganesha_cluster.jinja') diff --git a/glustolibs-gluster/gdeploy_configs/create_nfs_ganesha_cluster.jinja b/glustolibs-gluster/gdeploy_configs/create_nfs_ganesha_cluster.jinja new file mode 100644 index 000000000..01bd3f053 --- /dev/null +++ b/glustolibs-gluster/gdeploy_configs/create_nfs_ganesha_cluster.jinja @@ -0,0 +1,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(',') }} -- cgit