From: Patrick Caulfield <pcaulfie@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Re: [PATCH] [DLM] Bind connections from known local address when using TCP
Date: Tue, 30 Oct 2007 14:02:02 +0000 [thread overview]
Message-ID: <4727395A.2080907@redhat.com> (raw)
In-Reply-To: <1193649745.1068.469.camel@quoit>
Steven Whitehouse wrote:
> Hi,
>
> On Thu, 2007-10-25 at 18:49 -0400, Lon Hohberger wrote:
>> A common problem occurs when multiple IP addresses within the same
>> subnet are assigned to the same NIC. If we make a connection attempt to
>> another address on the same subnet as one of those addresses, the
>> connection attempt will not necessarily be routed from the address we
>> want.
>>
>> In the case of the DLM, the other nodes will quickly drop the connection
>> attempt, causing problems.
>>
>> This patch makes the DLM bind to the local address it acquired from the
>> cluster manager when using TCP prior to making a connection, obviating
>> the need for administrators to "fix" their systems or use clever routing
>> tricks.
>>
>
> I'm happy to apply the patch, but I wonder why not just set the prefsrc
> for the route? That will fix it for all applications not just the DLM.
> Also if there are multiple NICs in the system with the same IP address
> set assigned to them, then this solution may fail whereas the prefsrc
> solution will continue to work as that allows specification of a device
> too (amoung other things),
I think it's appropriate to fix this in the DLM code. DLM doesn't work without
it in this situation and there night (possibly!?) be applications that don't
want prefsrc setting.
--
Patrick
next prev parent reply other threads:[~2007-10-30 14:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-25 22:49 [Cluster-devel] [PATCH] [DLM] Bind connections from known local address when using TCP Lon Hohberger
2007-10-25 22:51 ` Lon Hohberger
2007-10-25 22:51 ` Lon Hohberger
2007-10-29 9:22 ` [Cluster-devel] " Steven Whitehouse
2007-10-30 14:02 ` Patrick Caulfield [this message]
2007-10-31 13:33 ` Steven Whitehouse
2007-10-31 13:54 ` Patrick Caulfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4727395A.2080907@redhat.com \
--to=pcaulfie@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.