<div dir="ltr"><div>Thank you for the explanation!</div><div><br></div><div>I will keep it in mind.</div><div><br></div><div>Sincerely,</div><div>Alexandr</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 7:39 AM, Kotresh Hiremath Ravishankar <span dir="ltr">&lt;<a href="mailto:khiremat@redhat.com" target="_blank">khiremat@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">Hi,<br>
<br>
Glad, you could get it rectified. But, having same slave volume for two different<br>
geo-rep sessions is never recommended. The two sessions end up writing to<br>
same slave node. It&#39;s always one master volume to many different slave volume<br>
configuration if required. If ssh-keys are deleted on slave for some reason,<br>
running geo-rep create command with force option would redistribute keys.<br>
<br>
&#39;gluster vol gep-rep &lt;master-vol&gt; &lt;slave-host&gt;::&lt;slave-vol&gt; create puh-pem force&#39;<br>
<br>
And yes, root user and non-root user is considered as two different sessions.<br>
<br>
Thanks and Regards,<br>
Kotresh H R<br>
<div><div class="h5"><br>
----- Original Message -----<br>
&gt; From: &quot;Alexandr Porunov&quot; &lt;<a href="mailto:alexandr.porunov@gmail.com">alexandr.porunov@gmail.com</a>&gt;<br>
&gt; To: &quot;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a> List&quot; &lt;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&gt;<br>
&gt; Sent: Saturday, November 19, 2016 9:41:05 PM<br>
&gt; Subject: Re: [Gluster-users] How to force remove geo session?<br>
&gt;<br>
&gt; OK, I have figured out what it was.<br>
&gt;<br>
&gt; I had a session not with &#39;root&#39; user but with &#39;geoaccount&#39; user.<br>
&gt; It seems that we can&#39;t have 2 sessions to the one node (even if users are<br>
&gt; different). After deleting a session with &#39;geoaccount&#39; user I was able to<br>
&gt; create a session with &#39;root&#39; user.<br>
&gt;<br>
&gt; On Sat, Nov 19, 2016 at 3:51 PM, Alexandr Porunov &lt;<br>
&gt; <a href="mailto:alexandr.porunov@gmail.com">alexandr.porunov@gmail.com</a> &gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hello,<br>
&gt; I had a geo replication between master nodes and slave nodes. I have removed<br>
&gt; ssh keys for authorization from slave nodes. Now I can neither create<br>
&gt; session for slave nodes nor remove the old useless session. Is it possible<br>
&gt; to manually remove a sessions from all the nodes?<br>
&gt;<br>
&gt; Here is the problem:<br>
&gt;<br>
&gt; # gluster volume geo-replication gv0 root@192.168.0.124::gv0 delete<br>
&gt; reset-sync-time<br>
&gt; Geo-replication session between gv0 and 192.168.0.124::gv0 does not exist.<br>
&gt; geo-replication command failed<br>
&gt;<br>
&gt; # gluster volume geo-replication gv0 root@192.168.0.124::gv0 create ssh-port<br>
&gt; 22 push-pem<br>
&gt; Session between gv0 and 192.168.0.124::gv0 is already created.<br>
&gt; geo-replication command failed<br>
&gt;<br>
&gt; Sincerely,<br>
&gt; Alexandr<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br>
</blockquote></div><br></div>