mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Add Clustering chapter
This commit is contained in:
parent
8e2b6b1981
commit
8aba532eeb
28
docs/ch14-clustering.rst
Normal file
28
docs/ch14-clustering.rst
Normal file
@ -0,0 +1,28 @@
|
||||
Clustering
|
||||
==========
|
||||
|
||||
VyOS supports multicast and unicast clustering. Multicast is default and to
|
||||
use the unicast method you can add the peer directive to the interface with
|
||||
the ip of the other cluster member.
|
||||
|
||||
In the example below SSH is clustered between two nodes with the unicast
|
||||
method.
|
||||
|
||||
.. 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 {
|
||||
peer 192.168.0.121
|
||||
}
|
||||
keepalive-interval 5000
|
||||
monitor-dead-interval 20000
|
||||
pre-shared-secret S3cr#t
|
||||
}
|
||||
@ -45,6 +45,8 @@ as a router and firewall platform for cloud deployments.
|
||||
|
||||
.. include:: ch13-ipv6.rst
|
||||
|
||||
.. include:: ch14-clustering.rst
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user