<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
So,
<div class=""><br class="">
</div>
<div class="">On master node of my 3 node setup:</div>
<div class=""><br class="">
</div>
<div class="">1) gluster system:: execute gsec_create</div>
<div class=""><br class="">
</div>
<div class="">in /var/lib/glusterd/geo-replication/common_secret.pub I have pem pub key from master node A and node B (not node C).</div>
<div class=""><br class="">
</div>
<div class="">On node C in don’t have anything in /v/l/g/geo/ except the gsync template config.</div>
<div class=""><br class="">
</div>
<div class="">So here I have an issue.</div>
<div class=""><br class="">
</div>
<div class="">The only error I saw on node C is:</div>
<div class=""><br class="">
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class="">[2015-01-21 18:36:41.179601] E [rpc-clnt.c:208:call_bail] 0-management: bailing out frame type(Peer mgmt) op(—(2)) xid = 0x23 sent = 2015-01-21 18:26:33.031937. timeout = 600 for xx.xx.xx.xx:24007</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">On node A, the cli.log looks like:</div>
<div class=""><br class="">
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">
<div class="">
<div class="">[2015-01-21 18:49:49.878905] I [socket.c:3561:socket_init] 0-glusterfs: SSL support is NOT enabled</div>
</div>
<div class="">
<div class="">[2015-01-21 18:49:49.878947] I [socket.c:3576:socket_init] 0-glusterfs: using system polling thread</div>
</div>
<div class="">
<div class="">[2015-01-21 18:49:49.879085] I [socket.c:3561:socket_init] 0-glusterfs: SSL support is NOT enabled</div>
</div>
<div class="">
<div class="">[2015-01-21 18:49:49.879095] I [socket.c:3576:socket_init] 0-glusterfs: using system polling thread</div>
</div>
<div class="">
<div class="">[2015-01-21 18:49:49.951835] I [socket.c:2238:socket_event_handler] 0-transport: disconnecting now</div>
</div>
<div class="">
<div class="">[2015-01-21 18:49:49.972143] I [input.c:36:cli_batch] 0-: Exiting with: 0</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">If I run gluster system:: execute gsec_create on node C or node B, the common pem key file contains my 3 nodes pem puk keys. So in some way node A is unable to get the key from node C.</div>
<div class=""><br class="">
</div>
<div class="">So let’s try to fix this one before going further.</div>
<div class=""><br class="">
<div apple-content-edited="true" class="">&nbsp;--&nbsp;<br class="">
Cyril Peponnet </div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jan 20, 2015, at 9:38 PM, Aravinda &lt;<a href="mailto:avishwan@redhat.com" class="">avishwan@redhat.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">On 01/20/2015 11:01 PM, PEPONNET, Cyril N (Cyril) wrote:<br class="">
<blockquote type="cite" class="">Hi,<br class="">
<br class="">
I’m ready for new testing, I delete the geo-rep session between master and slace, remove the lines in authorized keys file on slave.<br class="">
I also remove the common secret pem from slave, and from master. There is only the gsyncd_template.conf in /var/lib/gluster now.<br class="">
<br class="">
Here is our setup:<br class="">
<br class="">
Site A: gluster 3 nodes<br class="">
Site B: gluster 1 node (for now, a second will come).<br class="">
<br class="">
I can issue<br class="">
<br class="">
gluster systen:: execute gsec_create<br class="">
<br class="">
what to check?<br class="">
</blockquote>
common_secret.pem.pub is created in /var/lib/glusterd/geo-replication/common_secret.pem.pub, which should contain public keys from all Master nodes(Site A). Should match with contents of /var/lib/glusterd/geo-replication/secret.pem.pub and /var/lib/glusterd/geo-replication/tar_ssh.pem.pub.<br class="">
<br class="">
<blockquote type="cite" class=""><br class="">
then<br class="">
<br class="">
gluster geo vol geo_test slave::geo_test create push-pem force (force is needed because the slave vol is smaller than the master vol).<br class="">
<br class="">
What to check ?<br class="">
</blockquote>
Check for any errors in, /var/log/glusterfs/etc-glusterfs-glusterd.vol.log in rpm installation or in /var/log/glusterfs/usr-local-etc-glusterfs-glusterd.vol.log if source installation. In case of any errors related to hook execution, run directly the hook command
 copied from the log. From your previous mail I understand their is some issue while executing hook script. I will look into the issue in hook script.<br class="">
<blockquote type="cite" class=""><br class="">
I want to use change_detector changelog and not rsync btw.<br class="">
</blockquote>
change_detector is crawling mecanism. Available options are: changelog and xsync. xsync is FS Crawl.<br class="">
sync mecanisms available are: rsync and tarssh.<br class="">
<blockquote type="cite" class=""><br class="">
Can you guide me to setup this but also debug why it’s not working out of the box ?<br class="">
<br class="">
If needed I can get in touch with you through IRC.<br class="">
</blockquote>
Sure. IRC nickname is aravindavk.<br class="">
<blockquote type="cite" class=""><br class="">
Thanks for your help.<br class="">
<br class="">
</blockquote>
<br class="">
--<br class="">
regards<br class="">
Aravinda<br class="">
<a href="http://aravindavk.in" class="">http://aravindavk.in</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>