Re: SSH failover



elwoodwang@xxxxxxxxx wrote:
Assume we have one cluster, Cluster, including two computers

Host_A: 192.168.6.4
Host_B: 192.168.6.5

Host_A and Host_B share a virutal IP address, 192.168.6.240. openssh
has been installed in both machines and ssh works perfectly with
Host_A, Host_B, and the Cluster:

ssh 192.168.6.4, works fine
ssh 192.168.6.5, works fine
ssh 192.168.6.240, works fine

My question is how to failover a ssh connection. For example, if there
is already a ssh connection to the cluster, ssh 192.168.6.240, and
suppose the Host_A is the acitvate one who servers the connection. In
case a failver over happens, the Host_B becomse active and take over
the connection. Since Host_B doesn't have the state information such
as in Host_A , the ssh connection to the cluster is reset and closed.
You have to re-establish the ssh connection due to the failover.

Is there any way to synchronize the two ssh server and make the ssh
failover seemlessly (e.g., Host_B can take over the ssh connection
without reset and close it)?

The ability to do this would be a *MAJOR* security issue. I don't think you can do it.

Any chance of using virtual servers on the far end to provide live migration from one server to another of the same active OS?
.



Relevant Pages

  • Keeping OpenSSH connections alive
    ... I connect from B to A by means of ssh. ... is, on B I am running X windows, and I open xterms that create a shell ... suspend software available in www.suspend2.net. ... forked in A for each ssh connection from B stay alive for just a few ...
    (SSH)
  • Re: Windows SSH Client start as a service?
    ... >> Why would you want to run the client as a service? ... >> order to interact with the desktop (to type commands into the SSH window) ... he only wants to use it for port forwarding. ... it would make the SSH connection and start the first ...
    (comp.security.ssh)
  • Re: normal behavior for openssh time outs?
    ... > times out ssh connections when idle for longer than a certain time, ... > the terminal window which I ran the client in becomes unusable. ... > is if I connect with ssh, leave the ssh connection idle for long ... Newer versions of OpenSSH have a client-side keepalive ...
    (SSH)
  • NEW SSH Admin
    ... to the servers is via SSH. ... I am new to SSH and the UNIX enviroment. ... new ssh connection for a new user in the system. ... When I connect back to the users machine, ...
    (comp.security.ssh)
  • Re: Windows SSH Client start as a service?
    ... > order to interact with the desktop (to type commands into the SSH window) ... window; he only wants to use it for port forwarding. ... it would make the SSH connection and start the first ...
    (comp.security.ssh)