<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:inherit;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal" style="background:white;vertical-align:baseline"><span style="font-size:10.0pt;font-family:"inherit",serif;color:#242729">Hi,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white;vertical-align:baseline"><span style="font-size:10.0pt;font-family:"inherit",serif;color:#242729"><o:p> </o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;background:white;vertical-align:baseline;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch: inherit;line-height:inherit;box-sizing: inherit">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">I am trying to setup the glusterfs georeplication following the steps from <a href="https://docs.gluster.org/en/latest/Administrator%20Guide/Geo%20Replication/"><span style="color:#005999;border:none windowtext 1.0pt;padding:0in">glusterfs
documentation</span></a>. In my setup I have two nodes in the master side and single node in the slave side. Once i issue the command <i><span style="border:none windowtext 1.0pt;padding:0in">gluster volume geo-replication mastervolume slavenode::slavevolume
start </span></i>to start the geo-replication, the status is shown as below:<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;background:white;vertical-align:baseline;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch: inherit;line-height:inherit;box-sizing: inherit">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">Master-node-2 gv0 /data/brick1/gv0 root ssh://Slave-node-1::gv0 N/A Faulty<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;background:white;vertical-align:baseline;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch: inherit;line-height:inherit;box-sizing: inherit">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">If i watch the command (watch gluster volume geo-replication status), the state is changing between Faulty to Active and back to Faulty. The active status is shown as below:<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;background:white;vertical-align:baseline;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch: inherit;line-height:inherit;box-sizing: inherit">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">Master-node-2 gv0 /data/brick1/gv0 root ssh://Slave-node-1::gv0 Slave-node-1 Active Hybrid Crawl N/A<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;background:white;vertical-align:baseline;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch: inherit;line-height:inherit;box-sizing: inherit">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">The logs are having the below error:<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;background:cornsilk;vertical-align:baseline;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch: inherit;line-height:inherit;box-sizing: inherit">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">[2018-12-26 01:39:57.773381] I [gsyncdstatus(/data/brick1/gv0):245:set_worker_crawl_status] GeorepStatus: Crawl Status: Hybrid Crawl [2018-12-26 01:39:58.774770] I [master(/data/brick1/gv0):1368:crawl]
_GMaster: processing xsync changelog /var/lib/misc/glusterfsd/gv0/ssh%3A%2F%2Froot%40192.168.115.215%3Agluster%3A%2F%2F127.0.0.1%3Agv0/430af6dc2d4f6e41e4786764428f83dd/xsync/XSYNC-CHANGELOG.1545788397 [2018-12-26 01:39:59.249290] E [resource(/data/brick1/gv0):234:errlog]
Popen: command "rsync -aR0 --inplace --files-from=- --super --stats --numeric-ids --no-implied-dirs --xattrs --acls . -e ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i /var/lib/glusterd/geo-replication/secret.pem -p 22 -oControlMaster=auto -S
/tmp/gsyncd-aux-ssh-cexLuj/722b9cf6c96014bed67371d01a23d439.sock --compress root@Slave-node-1:/proc/6983/cwd" returned with 3 [2018-12-26 01:39:59.249869] I [syncdutils(/data/brick1/gv0):238:finalize] : exiting. [2018-12-26 01:39:59.251211] I [repce(/data/brick1/gv0):92:service_loop]
RepceServer: terminating on reaching EOF. [2018-12-26 01:39:59.251513] I [syncdutils(/data/brick1/gv0):238:finalize] : exiting. [2018-12-26 01:39:59.685758] I [monitor(monitor):357:monitor] Monitor: worker(/data/brick1/gv0) died in startup phase [2018-12-26
01:39:59.688673] I [gsyncdstatus(monitor):241:set_worker_status] GeorepStatus: Worker Status: Faulty<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;background:white;vertical-align:baseline;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch: inherit;line-height:inherit;box-sizing: inherit">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">When i checked the files in the volume, the files in the master are replicated to slave.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;background:white;vertical-align:baseline;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch: inherit;line-height:inherit;box-sizing: inherit">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">After this if I create a new file, the file is getting sycned to slave volume. But if i delete a file or change the content of the file, thats not getting reflected in the slave.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;background:white;vertical-align:baseline;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch: inherit;line-height:inherit;box-sizing: inherit">
<span style="font-size:11.5pt;font-family:"inherit",serif;color:#242729">Any pointers are appreciated.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Abhilash<o:p></o:p></span></p>
</div>
</body>
</html>