On Wed, Oct 29, 2014 at 11:27:39AM +0100, Lutz Vieweg wrote: > On 10/28/2014 10:18 PM, Lars Ellenberg wrote: > >sh-b-pri will (try to) promote all resources > >that mention this "become-primary" thingy in drbd.conf. > >But you should not use that. > > Ok, I'll remove it from the drbd.service file :-)
No. You remove it from your configuration. You don't fix broken configuration by patching out support for said configuration option from things interpreting the configuration. But by fixing the configuration. Still, we may need to revise that drbd.service thingy somehow. > >You are supposed to use a cluster manager (preferably pacemaker). > > The use case of the machines I'm currently setting up is not one > that cluster managers are useful for - basically the machines > are both used independently and interactively for different things > and their only common task is to provide redundant storage in a > fixed "master"/"slave" configuration where a switch-over is > deliberately done only by manual human intervention. > > >*also*, even if you do use drbd init scripts/unit files, > >you are supposed to not use "become primary" in drbd.conf > > Sure, I intended to configure both sides to assume they are secondary > until some (rc.local - alike) script that I write determines the server > is actually the "master" and which will only then promote the devices > and mount/exports some filesystems. If that works for you, ok. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. __ please don't Cc me, but send to list -- I'm subscribed _______________________________________________ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user