summaryrefslogtreecommitdiff
path: root/docs/clustering.rst
blob: b3dae0b6c8eb9bda38abd9b2bdce80c32b21baae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.. _clustering:

Clustering
==========

VyOS supports multicast clustering.

In the example below SSH is clustered between two nodes.

.. code-block:: sh

  cluster {
      dead-interval 20000
      group cluster {
          auto-failback false
          primary vyos
          secondary vyos2
          service ssh
          service 192.168.0.123/24/eth0
      }
      interface eth0
      keepalive-interval 5000
      monitor-dead-interval 20000
      pre-shared-secret S3cr#t
  }

.. note::
  Please follow the process of the cluster function here. https://phabricator.vyos.net/T985