From ec5d64eafcd77b1746b83173de16f7ec742af7a6 Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Wed, 19 Mar 2014 19:32:15 +0530 Subject: gsyncd / geo-rep: FSH recommended log locations Upgrading "working_dir" on the fly is a bit unclean yet (though it works) as currently config upgrade does not support "old" values to be expanded by using configuration variables. Change-Id: I44ed65c281f2e0ce3b6b467addc5c1c88ac674e7 BUG: 1077516 Signed-off-by: Venky Shankar Signed-off-by: Kotresh H R Signed-off-by: Aravinda VK Signed-off-by: Ajeet Jha Reviewed-on: http://review.gluster.org/7375 Tested-by: Gluster Build System --- geo-replication/syncdaemon/configinterface.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'geo-replication/syncdaemon/configinterface.py') diff --git a/geo-replication/syncdaemon/configinterface.py b/geo-replication/syncdaemon/configinterface.py index c4d47b5dbda..a94e07f0d4b 100644 --- a/geo-replication/syncdaemon/configinterface.py +++ b/geo-replication/syncdaemon/configinterface.py @@ -47,6 +47,19 @@ CONFIGS = ( "", "ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no " "-i /var/lib/glusterd/geo-replication/tar_ssh.pem"), + ("peersrx . .", + "changelog_log_file", + "", + "${iprefix}/log/glusterfs/geo-replication/${mastervol}" + "/${eSlave}${local_id}-changes.log"), + ("peersrx . .", + "working_dir", + "/var/run/gluster/${mastervol}/${eSlave}", + "${iprefix}/lib/misc/glusterfsd/${mastervol}/${eSlave}"), + ("peersrx . .", + "working_dir", + "/usr/local/var/run/gluster/${mastervol}/${eSlave}", + "${iprefix}/lib/misc/glusterfsd/${mastervol}/${eSlave}"), ) -- cgit