diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-10-03 15:11:05 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-10-03 15:12:59 +0200 |
commit | 8aba532eeb5d2cd5ac2b8e2b0633543dce362a68 (patch) | |
tree | 3657667ef27232450e7815ffa8e65b1a58b6aaec | |
parent | 8e2b6b1981ebd4cfe1019e2044470be20eb92883 (diff) | |
download | vyos-documentation-8aba532eeb5d2cd5ac2b8e2b0633543dce362a68.tar.gz vyos-documentation-8aba532eeb5d2cd5ac2b8e2b0633543dce362a68.zip |
Add Clustering chapter
-rw-r--r-- | docs/ch14-clustering.rst | 28 | ||||
-rw-r--r-- | docs/index.rst | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/docs/ch14-clustering.rst b/docs/ch14-clustering.rst new file mode 100644 index 00000000..9f14c6ae --- /dev/null +++ b/docs/ch14-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 + } diff --git a/docs/index.rst b/docs/index.rst index a7283ec1..56430cf3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -45,6 +45,8 @@ as a router and firewall platform for cloud deployments. .. include:: ch13-ipv6.rst +.. include:: ch14-clustering.rst + Indices and tables ================== |