summaryrefslogtreecommitdiff
path: root/docs/ch13-clustering.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-10-05 16:10:41 +0200
committerChristian Poessinger <christian@poessinger.com>2018-10-05 16:10:43 +0200
commit2d5ece952b5971fc653f2855376b525b92f9a13b (patch)
treecfefca659bcdafc86412725b555663706241b688 /docs/ch13-clustering.rst
parent2da0d7ef81849641dcd8eed261c0a591116995bc (diff)
downloadvyos-documentation-2d5ece952b5971fc653f2855376b525b92f9a13b.tar.gz
vyos-documentation-2d5ece952b5971fc653f2855376b525b92f9a13b.zip
Remove IPv6 chapter
IPv6 specific stuff is handeled direclty in the chapters like Network Interface addresses or BGP.
Diffstat (limited to 'docs/ch13-clustering.rst')
-rw-r--r--docs/ch13-clustering.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/ch13-clustering.rst b/docs/ch13-clustering.rst
new file mode 100644
index 00000000..9f14c6ae
--- /dev/null
+++ b/docs/ch13-clustering.rst
@@ -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
+ }