From 3bcf210a5a9b922ea78b31ef0de8eaf97ff4dcb4 Mon Sep 17 00:00:00 2001 From: Ashish Pandey Date: Wed, 30 Jan 2019 14:24:14 +0530 Subject: rpm: add thin-arbiter package Discussion on thin arbiter volume - https://github.com/gluster/glusterfs/issues/352#issuecomment-350981148 Main idea of having this rpm package is to deploy thin-arbiter without glusterd and other commands on a node, and all we need on that tie-breaker node is to run a single glusterfs command. Also note that, no other glusterfs installation needs thin-arbiter.so. Make sure RPM contains sample vol file, which can work by default, and a script to configure that volfile, along with translator image. Change-Id: Ibace758373d8a991b6a19b2ecc60c93b2f8fc489 updates: bz#1672818 Signed-off-by: Amar Tumballi Signed-off-by: Ashish Pandey (cherry picked from commit ca9bef7f1538beb570fcb190ff94f86f0b8ba38a) --- extras/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'extras/Makefile.am') diff --git a/extras/Makefile.am b/extras/Makefile.am index de062f37ecb..ff5ca9bdb83 100644 --- a/extras/Makefile.am +++ b/extras/Makefile.am @@ -22,12 +22,13 @@ conf_DATA = glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.con endif voldir = $(sysconfdir)/glusterfs +vol_DATA = thin-arbiter/thin-arbiter.vol if WITH_SERVER -vol_DATA = glusterd.vol +vol_DATA += glusterd.vol endif scriptsdir = $(datadir)/glusterfs/scripts -scripts_SCRIPTS = +scripts_SCRIPTS = thin-arbiter/setup-thin-arbiter.sh if WITH_SERVER scripts_SCRIPTS += post-upgrade-script-for-quota.sh \ pre-upgrade-script-for-quota.sh stop-all-gluster-processes.sh @@ -47,7 +48,8 @@ EXTRA_DIST = glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.co pre-upgrade-script-for-quota.sh command-completion/gluster.bash \ command-completion/Makefile command-completion/README \ stop-all-gluster-processes.sh clang-checker.sh mount-shared-storage.sh \ - control-cpu-load.sh control-mem.sh group-distributed-virt + control-cpu-load.sh control-mem.sh group-distributed-virt \ + thin-arbiter/thin-arbiter.vol thin-arbiter/setup-thin-arbiter.sh if WITH_SERVER install-data-local: -- cgit