.. meta::
   :description: Configuration parameters for defining high availability
                 cluster settings in ThinLinc. This feature allows
                 synchronizing two master servers in a ThinLinc cluster.

.. _configuration_HA_params:

.. server-config-folder:: /HA

Parameters in /HA/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In this section, we will describe all the parameters used for defining high
availability cluster settings. For more information about HA see :ref:`HA`.
These configuration parameters reside in
:file:`/opt/thinlinc/etc/conf.d/cluster.hconf`.

.. server-config:: /HA/enabled

   If this parameter is true, the master will try to replicate information
   about sessions to the other master node. See :ref:`HA` for more information
   about ThinLinc in a high availability configuration.

.. server-config:: /HA/nodes

   This parameter lists the hostnames of both nodes in a ThinLinc high
   availability setup. The space-separated list should include the hostname of
   the current node. This means that :file:`cluster.hconf` can be identical
   on both nodes.
