SUMMARY: high available ssh

From: Dombrowski, Neil (ndombrowski_at_tickets.com)
Date: 11/29/04

  • Next message: Mike Fletcher: "PCI SCSI Adapter for Sun E-450"
    To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
    Date: Mon, 29 Nov 2004 10:34:41 -0800
    
    

    Thanks to everyone for all the answers I received. I haven't tested any yet,
    but the program "balance" sounds intriguing. Many people suggested
    clustering software, or hardware load balancing devices. Here are a sampling
    of some of the other answers...

    -----
    Maybe the following idea could be helpful:

    Instead of using distinct target ip addresses, you could use dns names.
    There exists a software named lbnamed: load balancing nameserver. But it's
    no high available. There's a little timeout if one machine fails.
    -----
    -----
    I have not done this before, but i "think" I see the solution.

    FIrstly, a third box implies another single point of failure if it is
    delivering a unique service ...

    My take would be a follows:

    Setup two systems.

    Each has a normal IP (IP_R1 on host A and IP_R2 on host B)and a virtual IP
    (IP_VA and IP_VB on Host A and B respectively)

    IP_VA and IP_VB are not allocated at boot, but controlled from cluster (
    FSTHA / Veritas Cluster / SUN Cluster / scripted - FSTHA probaly easiest,
    Veritas & Sun $$ and overkill ? )

    Generate keys on first host.

    Copy to second host

    Now set cluster so that IP_VA fails to B and IP_VB fails to A in the event
    of failures.

    Setting up the users is now simply:

    Half connect to IP_VA and the other half to IP_VB.

    This can be manually assigned, or via DNS round robin.
    -----
    -----

    Neil Dombrowski
    UNIX Administration
    Tickets.com
    714.327.5571

    -----Original Message-----
    From: Todd Wilkinson [mailto:todd.wilkinson@gmail.com]
    Sent: Tuesday, November 23, 2004 6:43 PM
    To: Dombrowski, Neil
    Subject: Re: high available ssh

    I don't think there is anything specific to SSH on this, but if HA for
    SSH is needed, am I am assuming that HA is needed for the
    system/applications on the box then you might look at Veritas HA for
    UNIX to suit your needs. We use it for lots of applications, we
    don't specifically HA ssh, but as the failover happens ssh works. I
    would not though that we have nearly 1000 installs of ssh from ssh.com
    and I can't ever remember the SSH server specifically being a problem.
     It is usually related to network outages or some other system related
    issue. Thus Veritas HA and proper monitoring of it to trip a
    failover.

    my two cents

    On Tue, 23 Nov 2004 18:11:32 -0800, Dombrowski, Neil
    <ndombrowski@tickets.com> wrote:
    > I am setting up an ssh server for clients to log into, but in the case of
    a
    > failure I want a second ssh server to take over without the client
    noticing
    > the difference. I guess ideally they would share the load, and if one box
    > dropped any new requests would go to the box that was still standing (I'm
    > willing to lose sessions that are already established on the box that goes
    > down). Has anyone done this? I seem to be having a difficult time finding
    > anything at all on clustering/load balancing ssh servers in this fashion,
    at
    > least without bringing in a third box.
    >
    > Thanks,
    > Neil
    >
    > Neil Dombrowski
    > UNIX Administration
    > Tickets.com
    > 714.327.5571
    > _______________________________________________
    > sunmanagers mailing list
    > sunmanagers@sunmanagers.org
    > http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Mike Fletcher: "PCI SCSI Adapter for Sun E-450"

    Relevant Pages

    • RE: sshd / ssh setup
      ... We have an Remote FreeBSD system which is located some where on the ... This method gives the maximum protection possible utilizing ssh. ... Host setup steps. ... Reboot your system to activate sshd and login as root. ...
      (freebsd-questions)
    • SSH filter transer, was Re: Soft Update - directory/file listing
      ... But SSH file transfer is painfully slow all the time. ... ## SSH 3.2 Server Configuration File ... # Note that forwardings using the name of this host will be allowed (if ...
      (freebsd-performance)
    • Re: [opensuse] Re: OpenSUSE PuTTY ?
      ... PuTTY lets you set up all kinds of special options, tied to which host ... The ssh daemon on the host machine is usually activated by default, ... As a taster to open a remote session in a new window in any konsole ... Windows users should explore Cygwin as this will allow you to run ssh ...
      (SuSE)
    • Re: Disable name canonicalization for OpenSSH GSSAPI
      ... The issue I'm having is with a new server ... I'm unable to setup the correct reverse ... When I attempt to connect to this host with SSH, ...
      (comp.protocols.kerberos)
    • Re: hacked?
      ... So I ssh'd in and did a netstat and saw what looked like an unwanted SSH connection... ... On the local host type nmap -sV localhost -p 1-65535 to see what ports respond and which apps/services. ...
      (comp.os.linux.misc)