Add cluster_port parameter for Multiple clusters

This commit is contained in:
fendo 2017-05-27 00:09:19 +02:00
parent 7034e6a018
commit 0f20bfda6a
9 changed files with 55 additions and 6 deletions

View file

@ -345,6 +345,11 @@ Multicast cluster address (default: 239.192.13.13). See the section
on <A HREF="#Clustering">Clustering</A> for more information.
</LI>
<LI><B>cluster_port</B> (int udp port)<BR>
UDP cluster port (default: 32792). See the section on
<A HREF="#Clustering">Clustering</A> for more information.
</LI>
<LI><B>cluster_interface</B> (string)<BR>
Interface for cluster packets (default: eth0).
</LI>
@ -1150,6 +1155,13 @@ A master, when determining that it has at least one up-to-date slave
will drop all routes (raising them again if all slaves disappear) and
subsequently handle only packets forwarded to it by the slaves.<P>
*Configurable with <B>cluster_master_min_adv</B><P>
Multiple clusters can be run on the same network by just using different
multicast <B>cluster_address</B>. However, for a given host to be part
of multiple clusters without mixing the clusters,
<B>cluster_port</B> must be different for each cluster.<B>
<H2 ID="Routing">Routing</H2>
If you are running a single instance, you may simply statically route
the IP pools to the <B>bind_address</B> (l2tpns will send a gratuitous