* Ryan McBride <[email protected]> [2014-04-25 10:31]:
> On Fri, Apr 25, 2014 at 02:40:57AM +0200, Alexander Bluhm wrote:
> > On Fri, Apr 25, 2014 at 09:09:03AM +0900, Ryan McBride wrote:
> > > Part of the reason it's there is to make carp work properly for services
> > > listening on the carp interface, in particular so that hosts in the
> > > BACKUP state will reach the MASTER rather than trying and failing to
> > > connect to their own carp interface. Maybe not needed in all setups, but
> > > likely to break things if we simply remove it.
> > 
> > Why do you want to connect from the BACKUP machine to the MASTER
> > using CARP addresses?  Just add another fixed address and you can
> > do that.
> 
> Two reasons that come to mind are:
> 
> 1) For troubleshooting, so I can ping or otherwise monitor the MASTER
> host.
> 
> 2) In some cases it's undisireable (or even not possible) to run
> services on other IP addresses. For example, services that only allow
> you to configure 1 listening IP, or services where you wish to avoid
> users connecting to anything but the MASTER server.
> 
> > The current implementation may change the routing table in subtile
> > ways until nothing works.  In IPv6 the routes are fixed and there
> > are less problems.
> 
> In my opinion the current (intended) behaviour is correct; my preference
> would be to see this fixed rather than removed.

given that
-it is done for v4 only
-it has been demonstrated to cause problems, namely screwed up routing
 tables
-it, afair, not working in the unnumbered case at all

the only conclusion I can come to is "nuke it!". especially due to the
2nd point. I causes more harm than good in its current state.

if this is desired (I can't really see the need to be honest) it must
be done properly doing route priorities and marking routes down. This
functionaity didn't exist when we did carp. Going that route (haha),
the code for that wouldn't have much in common with what is currently
there, so... I'm in favor of nuking.

coincidently, I have a diff which does that :)

-- 
Henning Brauer, [email protected], [email protected]
BS Web Services GmbH, http://bsws.de, Full-Service ISP
Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully Managed
Henning Brauer Consulting, http://henningbrauer.com/

Reply via email to