.. meta::
   :description: Learn how to configure ThinLinc with High Availability
                 (HA) to protect the master from single points of
                 failure, ensuring continuous service and session
                 database synchronization across multiple servers.

.. _HA:

High availability
=================

This chapter describes how to set up ThinLinc with High Availability
(from now on referred to as "HA") for the master servers. Since the
master handles load balancing and the session database, it can be
problematic if the machine fails. ThinLinc HA provides protection for
this service against the single point of failure that the hardware
running the master service normally is.

The basic principle behind this setup is to have two redundant servers,
both acting as masters. If one of the masters goes down, the other
one will take over with no or short interruption of service.

.. note::

   The HA functionality provided by ThinLinc provides synchronization of
   the ThinLinc session database across two master servers. The software
   used by these machines to implement failover is not part of ThinLinc,
   and must be installed and configured according to your requirements.
   The industry standard for doing so on Linux is provided by Pacemaker
   and Corosync, see https://clusterlabs.org for more information.

.. toctree::
   :hidden:

   HA-overview
   HA-configuration
   HA-recover
