<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"><<a href="mailto:khiremat@redhat.com" target="_blank">khiremat@redhat.com</a>></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'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>
'gluster vol gep-rep <master-vol> <slave-host>::<slave-vol> create puh-pem force'<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>
> From: "Alexandr Porunov" <<a href="mailto:alexandr.porunov@gmail.com">alexandr.porunov@gmail.com</a>><br>
> To: "<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a> List" <<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>><br>
> Sent: Saturday, November 19, 2016 9:41:05 PM<br>
> Subject: Re: [Gluster-users] How to force remove geo session?<br>
><br>
> OK, I have figured out what it was.<br>
><br>
> I had a session not with 'root' user but with 'geoaccount' user.<br>
> It seems that we can't have 2 sessions to the one node (even if users are<br>
> different). After deleting a session with 'geoaccount' user I was able to<br>
> create a session with 'root' user.<br>
><br>
> On Sat, Nov 19, 2016 at 3:51 PM, Alexandr Porunov <<br>
> <a href="mailto:alexandr.porunov@gmail.com">alexandr.porunov@gmail.com</a> > wrote:<br>
><br>
><br>
><br>
> Hello,<br>
> I had a geo replication between master nodes and slave nodes. I have removed<br>
> ssh keys for authorization from slave nodes. Now I can neither create<br>
> session for slave nodes nor remove the old useless session. Is it possible<br>
> to manually remove a sessions from all the nodes?<br>
><br>
> Here is the problem:<br>
><br>
> # gluster volume geo-replication gv0 root@192.168.0.124::gv0 delete<br>
> reset-sync-time<br>
> Geo-replication session between gv0 and 192.168.0.124::gv0 does not exist.<br>
> geo-replication command failed<br>
><br>
> # gluster volume geo-replication gv0 root@192.168.0.124::gv0 create ssh-port<br>
> 22 push-pem<br>
> Session between gv0 and 192.168.0.124::gv0 is already created.<br>
> geo-replication command failed<br>
><br>
> Sincerely,<br>
> Alexandr<br>
><br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Gluster-users mailing list<br>
> <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
> <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>