<div dir="ltr"><div>Hi Atin,<br><br></div>I will be waiting for your response.<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 10:00 AM, ABHISHEK PALIWAL <span dir="ltr">&lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi Atin,<br><br>System is the embedded system and these dates are before the system get in timer sync.<br></div><br></div>Yes, I have also seen these two files in peers directory on 002500 board and I want to know the reason why gluster creates the second file when there is old file is exist. Even when you see the content of the these file are same.<br><br></div>Is it possible for gluster if we fall in this situation then instead of manually doing the steps which you mentioned above gluster will take care of this?<br><br></div><div>I have some questions:<br><br></div><div>1. based on the logs can we find out the reason for having two peers files with same contents.<br></div><div>2. is there any way to do it from gluster code.<br><br></div><div>Regards,<br></div><div>Abhishek<br></div><div><br></div>Regards,<br></div>Abhishek <br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 9:52 AM, Atin Mukherjee <span dir="ltr">&lt;<a href="mailto:amukherj@redhat.com" target="_blank">amukherj@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>atin@dhcp35-96:~/Downloads/glu<wbr>ster_users/abhishek_dup_uuid/<wbr>duplicate_uuid/glusterd_2500/<wbr>peers$ ls -lrt<br>total 8<br>-rw-------. 1 atin wheel 71 <b>Jan  1  1970</b> 5be8603b-18d0-4333-8590-38f918<wbr>a22857<br>-rw-------. 1 atin wheel 71 Nov 18 03:31 26ae19a6-b58f-446a-b079-411d4e<wbr>e57450<br><br></div>In board 2500 look at the date of the file 5be8603b-18d0-4333-8590-38f918<wbr>a22857 (marked in bold). Not sure how did you end up having this file in such time stamp. I am guessing this could be because of the set up been not cleaned properly at the time of re-installation.<br><br></div><div>Here is the steps what I&#39;d recommend for now:<br><br></div><div>1. rename 26ae19a6-b58f-446a-b079-411d4e<wbr>e57450 to 5be8603b-18d0-4333-8590-38f918<wbr>a22857, you should have only one entry in the peers folder in board 2500.<br></div><div>2. Bring down both glusterd instances<br></div><div>3. Bring back one by one<br><br></div><div>And then restart glusterd to see if the issue persists.<br></div><div><br></div><div><div><br></div></div></div><div class="gmail_extra"><div><div class="m_-6844669846034087642h5"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 9:34 AM, ABHISHEK PALIWAL <span dir="ltr">&lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hope you will see in the logs......<br></div><div class="gmail_extra"><div><div class="m_-6844669846034087642m_2165030926284316445h5"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 9:17 AM, ABHISHEK PALIWAL <span dir="ltr">&lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Atin,<br><br></div>It is not getting wipe off we have changed the configuration path from /var/lib/glusterd to /system/glusterd.<br><br></div>So, they will remain as same as previous.<br></div><div class="gmail_extra"><div><div class="m_-6844669846034087642m_2165030926284316445m_-3825362369822899564h5"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 9:15 AM, Atin Mukherjee <span dir="ltr">&lt;<a href="mailto:amukherj@redhat.com" target="_blank">amukherj@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Abhishek,<br><br></div>rebooting the board does wipe of /var/lib/glusterd contents in your set up right (as per my earlier conversation with you) ? In that case, how are you ensuring that the same node gets back the older UUID? If you don&#39;t then this is bound to happen.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-6844669846034087642m_2165030926284316445m_-3825362369822899564m_4537772878710320405h5">On Mon, Nov 21, 2016 at 9:11 AM, ABHISHEK PALIWAL <span dir="ltr">&lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-6844669846034087642m_2165030926284316445m_-3825362369822899564m_4537772878710320405h5"><div dir="ltr"><div><div><div><div><div>Hi Team,<br><br></div>Please lookinto this problem as this is very widely seen problem in our system.<br><br></div>We are having the setup of replicate volume setup with two brick but after restarting the second board I am getting the duplicate entry in &quot;gluster peer status&quot; command like below:<br><br><b># gluster peer status
<br>Number of Peers: 2
<br> <br>Hostname: 10.32.0.48
<br>Uuid: 5be8603b-18d0-4333-8590-38f918<wbr>a22857
<br>State: Peer in Cluster (Connected)
<br> <br>Hostname: 10.32.0.48
<br>Uuid: 5be8603b-18d0-4333-8590-38f918<wbr>a22857
<br>State: Peer in Cluster (Connected)
<br># </b><br><br></div>I am attaching all logs from both the boards and the command outputs as well.<br><br></div>So could you please check what is the reason to get in this situation as it is very frequent in multiple case.<br><br></div>Also, we are not replacing any board from setup just rebooting.<span class="m_-6844669846034087642m_2165030926284316445m_-3825362369822899564m_4537772878710320405m_5358767248099632655HOEnZb"><font color="#888888"><br clear="all"><div><div><div><div><div><div><br>-- <br><div class="m_-6844669846034087642m_2165030926284316445m_-3825362369822899564m_4537772878710320405m_5358767248099632655m_-8378480620134523234gmail_signature"><div dir="ltr"><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</div></div></div></div></div></div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman<wbr>/listinfo/gluster-users</a><span class="m_-6844669846034087642m_2165030926284316445m_-3825362369822899564m_4537772878710320405HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="m_-6844669846034087642m_2165030926284316445m_-3825362369822899564m_4537772878710320405HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_-6844669846034087642m_2165030926284316445m_-3825362369822899564m_4537772878710320405m_5358767248099632655gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div><div>~ Atin (atinm)<br></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="m_-6844669846034087642m_2165030926284316445m_-3825362369822899564HOEnZb"><font color="#888888">-- <br><div class="m_-6844669846034087642m_2165030926284316445m_-3825362369822899564m_4537772878710320405gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="m_-6844669846034087642m_2165030926284316445HOEnZb"><font color="#888888">-- <br><div class="m_-6844669846034087642m_2165030926284316445m_-3825362369822899564gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="m_-6844669846034087642HOEnZb"><font color="#888888">-- <br><div class="m_-6844669846034087642m_2165030926284316445gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div><div>~ Atin (atinm)<br></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-6844669846034087642gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</div></div>