summaryrefslogtreecommitdiffstats
path: root/geo-replication/gsyncd.conf.in
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2017-11-30 12:52:30 +0530
committerKotresh HR <khiremat@redhat.com>2018-01-23 03:03:01 +0000
commit7c9b62cfff34d1ac4c8fa0822b18e51c15e6db81 (patch)
treebe9bab79cdb0762e644063f24f524cd2b5487308 /geo-replication/gsyncd.conf.in
parent8efa3ee675a991410c6aa27dce40d4dd441d0935 (diff)
geo-rep: Support for using Volinfo from Conf file
Once Geo-replication is started, it runs Gluster commands to get Volume info from Master and Slave. With this patch, Georep can get Volume info from Conf file if `--use-gconf-volinfo` argument is specified to monitor Create a config(Or add to the config if exists) with following fields [vars] master-bricks=NODEID:HOSTNAME:PATH,.. slave-bricks=NODEID:HOSTNAME,.. master-volume-id= slave-volume-id= master-replica-count= master-disperse_count= Note: Exising Geo-replication is not affected since this is activated only when `--use-gconf-volinfo` is passed while spawning `gsyncd monitor` Tiering support is not yet added since Tiering + Glusterd2 is still under discussion. Fixes: #396 Change-Id: I281baccbad03686c00f6488a8511dd6db0edc57a Signed-off-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'geo-replication/gsyncd.conf.in')
-rw-r--r--geo-replication/gsyncd.conf.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/geo-replication/gsyncd.conf.in b/geo-replication/gsyncd.conf.in
index 53cc76b842a..80a9e4a8e8b 100644
--- a/geo-replication/gsyncd.conf.in
+++ b/geo-replication/gsyncd.conf.in
@@ -1,6 +1,26 @@
[__meta__]
version = 4.0
+[master-bricks]
+configurable=false
+
+[slave-bricks]
+configurable=false
+
+[master-volume-id]
+configurable=false
+
+[slave-volume-id]
+configurable=false
+
+[master-replica-count]
+configurable=false
+type=int
+
+[master-disperse_count]
+configurable=false
+type=int
+
[glusterd-workdir]
value = @GLUSTERD_WORKDIR@
@@ -234,6 +254,7 @@ allowed_values=ERROR,INFO,WARNING,DEBUG
value=22
validation=int
help=Set SSH port
+type=int
[ssh-command]
value=ssh