Bug 764159 (GLUSTER-2427)

Summary: set a proper default for remote syncdaemon
Product: [Community] GlusterFS Reporter: Csaba Henk <csaba>
Component: geo-replicationAssignee: Csaba Henk <csaba>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, lakshmipathi
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anand Avati 2011-02-14 19:32:02 UTC
PATCH: http://patches.gluster.com/patch/6181 in master (syncdaemon: make /usr/libexec/gsyncd the default remote gsyncd (incomplete hacky quickfix))

Comment 1 Csaba Henk 2011-02-14 22:08:07 UTC
- use the same gsyncd for master and slave if the connection is local
- use a sane default (ie. /usr/libexec/gsyncd) if the connection is done through ssh

Comment 2 Vijay Bellur 2011-03-10 12:39:09 UTC
PATCH: http://patches.gluster.com/patch/6366 in master (syncdaemon: configinterface: add support for regexp based pattern-matching sections)

Comment 3 Vijay Bellur 2011-03-10 12:39:16 UTC
PATCH: http://patches.gluster.com/patch/6367 in master (syncdaemon: add versioning to config file)

Comment 4 Vijay Bellur 2011-03-10 12:39:28 UTC
PATCH: http://patches.gluster.com/patch/6369 in master (syncdaemon: ensure stdio is flushed before exit)

Comment 5 Vijay Bellur 2011-03-14 07:09:04 UTC
PATCH: http://patches.gluster.com/patch/6412 in master (mgmt/Glusterd: remove the checks performed for all ops in brick_op)

Comment 6 Vijay Bellur 2011-03-14 08:57:03 UTC
PATCH: http://patches.gluster.com/patch/6418 in master (mgmt/Glusterd: Make use of regexp pattern-matching sections to set a sane value for remote-gsyncd)

Comment 7 Vijay Bellur 2011-03-18 03:27:37 UTC
PATCH: http://patches.gluster.com/patch/6505 in master (Revert "syncdaemon: make /usr/libexec/gsyncd the default remote gsyncd (incomplete hacky quickfix)")

Comment 8 Vijay Bellur 2011-04-01 15:19:23 UTC
PATCH: http://patches.gluster.com/patch/6679 in master (syncdaemon; adding corresponding pcloses to gsyncd invocation via popen)

Comment 9 Csaba Henk 2011-04-08 11:35:09 UTC
Verification:

On machine A, install glusterfs with a non-standard prefix; on machine B, install glusterfs with standard prefix (ie. not specifying --prefix for configure). Then create some volumes for both A and B. Local (non-ssh) georeplication setups should work fine out of the box, with zero configuration, both on A and B. ssh setups from A to B should also work out of the box. ssh setups from B to A should work if the setting
gluster gsync configure <master> <slave> remote-gsyncd <gsyncd-path-with-A's-prefix>

is done.

Comment 10 Lakshmipathi G 2011-04-16 03:52:18 UTC
tested with 3.2.0qa13. on master installed glfs- on std path and on slave installed it under /opt/qa13. created symlink at /usr/sbin/gluster binaries to point to /opt/qa13/sbin/gluster & set remote-gsyncd as - 

# gluster volume geo-replication config  :beta1 root.compute.amazonaws.com::slave remote-gsyncd /opt/qa13/libexec/glusterfs/gsyncd

started gsync,master syncs to slave.