summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-16 15:34:44 +0200
committerGitHub <noreply@github.com>2019-10-16 15:34:44 +0200
commitc1ee40afde0524b772c7cc0222388ac2db4c37cc (patch)
treeb01a9588732a8428d480c6af0bb71ed042a81b54 /docs
parent9982023728283b6212bf8820f8634a10c1764317 (diff)
parent9929490a981ca2bad3379a97480cb34924edfd0c (diff)
downloadvyos-documentation-c1ee40afde0524b772c7cc0222388ac2db4c37cc.tar.gz
vyos-documentation-c1ee40afde0524b772c7cc0222388ac2db4c37cc.zip
Merge pull request #131 from kroy-the-rabbit/master
Adding missing sync group documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/high-availability.rst38
1 files changed, 38 insertions, 0 deletions
diff --git a/docs/high-availability.rst b/docs/high-availability.rst
index 54f2f388..07818e92 100644
--- a/docs/high-availability.rst
+++ b/docs/high-availability.rst
@@ -63,6 +63,44 @@ VRRP priority can be set with ``priority`` option:
The priority must be an integer number from 1 to 255. Higher priority value increases router's precedence in the master elections.
+Sync groups
+-----------
+
+A sync group allows VRRP groups to transition together.
+
+.. code-block:: sh
+
+ edit high-availability
+ set sync-group MAIN member VLAN9
+ set sync-group MAIN member VLAN20
+
+In the following example, when VLAN9 transitions, VLAN20 will also transition:
+
+.. code-block:: sh
+
+ vrrp {
+ group VLAN9 {
+ interface eth0.9
+ virtual-address 10.9.1.1/24
+ priority 200
+ vrid 9
+ }
+ group VLAN20 {
+ interface eth0.20
+ priority 200
+ virtual-address 10.20.20.1/24
+ vrid 20
+ }
+ sync-group MAIN {
+ member VLAN20
+ member VLAN9
+ }
+ }
+
+
+.. warning:: All items in a sync group should be similarly configured. If one VRRP group is set to a different premption delay or priority, it would result in an endless transition loop.
+
+
Preemption
----------