[Linux-ha-dev] [patch 12/17] [ldirectord] document port behaviour
of real servers
Horms
horms at verge.net.au
Wed Jul 4 03:49:27 MDT 2007
Document that port-mapping is not available most of the time.
Thanks to Tuomo Soini for pointing out the lack of clarity in the
documentation.
Signed-off-by: Simon Horman <horms at verge.net.au>
Index: heartbeat/ldirectord/ldirectord.in
===================================================================
--- heartbeat.orig/ldirectord/ldirectord.in 2007-07-04 14:28:20.000000000 +0900
+++ heartbeat/ldirectord/ldirectord.in 2007-07-04 14:28:49.000000000 +0900
@@ -287,7 +287,17 @@ two strings must be quoted. If the reque
the IP-address and port of the real server is overridden, otherwise the
IP-address and port of the real server is used.
-=head2 More than one of these entries may be inside a virtual section. The
+=head2
+For TCP and UDP (non fwmark) virtual services, unless the forwarding method
+is B<masq> and the IP address of a real server is non-local (not present on
+a interface on the host running ldirectord) then the port of the real
+server will be set to that of its virtual service. That is, port-mapping is
+only available to if the real server is another machine and the forwarding
+method is B<masq>. This is due to the way that the underlying LVS code in
+the kernel functions.
+
+=head2
+More than one of these entries may be inside a virtual section. The
checktimeout, negotiatetimeout, checkcount, fallback, emailalert,
emailalertfreq and quiescent options listed above may also appear inside a
virtual section, in which case the global setting is overridden.
--
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
More information about the Linux-HA-Dev
mailing list