Re: [ClusterLabs] dropping ssh connection on failover
On 04/15/2016 12:29 PM, Digimer wrote: > That is what I assumed. Sorry, at a trade show so I'm reading and > replying quickly. I didn't spell it out, but that would be too easy. However, it's not happening today. My guess is it was somehow caused by DRBD being in inconsistent state: I didn't have the auto-recovery and notification handlers set up initially and ended up split-braining it. Now that everything's clean and happy, pcs cluster stop works without killing the login. Solved for now. Thx -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu signature.asc Description: OpenPGP digital signature ___ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] dropping ssh connection on failover
On 15/04/16 11:03 AM, Klaus Wenninger wrote: > On 04/15/2016 04:59 PM, Dmitri Maziuk wrote: >> On 2016-04-15 07:46, Klaus Wenninger wrote: >> >>> Which IP-address did you use to ssh to that box? One controlled >>> by pacemaker and possibly being migrated or a fixed one assigned >>> to that box? >> >> Good try but no: the "sunken" (as opposed to floating ;) address of >> course. >> >> If what digimer says is true, it is ridiculous. I might end up >> building my own heartbeat rpm for centos 7 after all... (as my >> haresources-based clusters don't have a problem not dropping ssh >> connections on failover). > That was the reason I was asking because I thought digimer was assuming > that you had connected via a floating address... That is what I assumed. Sorry, at a trade show so I'm reading and replying quickly. -- Digimer Papers and Projects: https://alteeve.ca/w/ What if the cure for cancer is trapped in the mind of a person without access to education? ___ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] dropping ssh connection on failover
On 04/15/2016 04:59 PM, Dmitri Maziuk wrote: > On 2016-04-15 07:46, Klaus Wenninger wrote: > >> Which IP-address did you use to ssh to that box? One controlled >> by pacemaker and possibly being migrated or a fixed one assigned >> to that box? > > Good try but no: the "sunken" (as opposed to floating ;) address of > course. > > If what digimer says is true, it is ridiculous. I might end up > building my own heartbeat rpm for centos 7 after all... (as my > haresources-based clusters don't have a problem not dropping ssh > connections on failover). That was the reason I was asking because I thought digimer was assuming that you had connected via a floating address... > > Dimitri > > > ___ > Users mailing list: Users@clusterlabs.org > http://clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org ___ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] dropping ssh connection on failover
On 2016-04-15 07:46, Klaus Wenninger wrote: Which IP-address did you use to ssh to that box? One controlled by pacemaker and possibly being migrated or a fixed one assigned to that box? Good try but no: the "sunken" (as opposed to floating ;) address of course. If what digimer says is true, it is ridiculous. I might end up building my own heartbeat rpm for centos 7 after all... (as my haresources-based clusters don't have a problem not dropping ssh connections on failover). Dimitri ___ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] dropping ssh connection on failover
On 04/15/2016 02:22 PM, Digimer wrote: > On 14/04/16 05:38 PM, Dimitri Maziuk wrote: >> Hi all, >> >> I've an up to date centos 7 w/ pcs + corosync + pacemaker active-passive >> cluster running drbd (8.4) and apache. It's all working fine except when >> I trigger a fail-over, my ssh connection to active (being demoted) node >> gets cut. >> >> Am I missing something or is this an expected behaviour of the new and >> improved ip RA and/or ip command? >> >> TIA, > I don't believe it is possible to maintain TCP connections in a > failover. You could create a VM and ssh into that, and live-migrate the > VM back and forth but that is someone more complicated. > Which IP-address did you use to ssh to that box? One controlled by pacemaker and possibly being migrated or a fixed one assigned to that box? Klaus ___ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] dropping ssh connection on failover
On 14/04/16 05:38 PM, Dimitri Maziuk wrote: > Hi all, > > I've an up to date centos 7 w/ pcs + corosync + pacemaker active-passive > cluster running drbd (8.4) and apache. It's all working fine except when > I trigger a fail-over, my ssh connection to active (being demoted) node > gets cut. > > Am I missing something or is this an expected behaviour of the new and > improved ip RA and/or ip command? > > TIA, I don't believe it is possible to maintain TCP connections in a failover. You could create a VM and ssh into that, and live-migrate the VM back and forth but that is someone more complicated. -- Digimer Papers and Projects: https://alteeve.ca/w/ What if the cure for cancer is trapped in the mind of a person without access to education? ___ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org