From 7c433629c35f729241423dacdff1e297731153fc Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Fri, 25 Oct 2013 09:05:18 -0400 Subject: mgmt/glusterd: add option to specify a different base-port This is (arguably) a hack to work around a bug in libvirt which is not well behaved wrt to using TCP ports in the unreserved space between 49152-65535. (See RFC 6335) Normally glusterd starts and binds to the first available port in range, usually 49152. libvirt's live migration also tries to use ports in this range, but has no fallback to use (an)other port(s) when the one it wants is already in use. libvirt cannot fix this in time for their impending release. This is submitted to gerrit to provide some minimal visibility upstream to justify hacking this change (as a temporary patch) into the glusterfs-3.4.1 RPMs for Fedora 18-21 until libvirt can fix their implementation. Change-Id: Ie77b00ac60730d1e48907dd0b38ddae92f3ac345 BUG: 987555 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/6147 Reviewed-by: Niels de Vos Tested-by: Niels de Vos Tested-by: Gluster Build System Reviewed-by: Raghavan Pichai --- doc/glusterd.vol | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/glusterd.vol') diff --git a/doc/glusterd.vol b/doc/glusterd.vol index de17d8fd8f9..9bac52ab7fe 100644 --- a/doc/glusterd.vol +++ b/doc/glusterd.vol @@ -5,4 +5,5 @@ volume management option transport.socket.keepalive-time 10 option transport.socket.keepalive-interval 2 option transport.socket.read-fail-log off +# option base-port 49152 end-volume -- cgit