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 :-)
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. Regards, Lutz Vieweg _______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
