[Linux-ha-dev] Re: [DRBD-user] drbd peer outdater exit codes [drbd ocf floating peers not working. don't try]

Lars Marowsky-Bree lmb at suse.de
Fri Sep 12 20:36:14 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 2008-09-12T11:54:38, Lars Ellenberg <lars.ellenberg at linbit.com> wrote:

> don't do that.
> won't work with any handlers.
> for the "floating peer" stuff to work in practice,
> we'd need much more work in the user land tools.
> 
> while a neat idea in theory,
> it does not work out in practice.

That's simply not true. It works, but it does not work with dopd. That
is a difference. ;-)

> so the whole "floating peer" stuff is a hack in itself.
> does anybody out there really use it?

Yes, I think we have one or two customers use it to move the peers. Each
rack has access to a separate SAN.

> it might be possible to get this hack sort of working
> by adding more hacks. like telling the kernel which
> "nodename" to fake when calling the user space helpers.
> 
> but I don't think that would be a good idea.

I actually think that dopd is the real hack, and drbd instead should
listen to the notifications we provide, and infer the peer state by that
means ... ;-)



Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde




More information about the drbd-user mailing list