[Debian-ha-maintainers] Bug#633547: drbd8-utils: Drbd init script did not start stacked resources.

Josip Rodin joy at debbugs.entuzijast.net
Thu Jan 3 09:31:29 UTC 2013


Hi,

I've no idea if I'm in the right ticket, but I observed that the init script
indeed doesn't start all devices - start as in both connect and make them
primary.

However, that may have been by design:
http://lists.linbit.com/pipermail/drbd-user/2010-April/013896.html
Yet, the existence of the call:

        $DRBDADM sh-b-pri all # Become primary if configured

...makes me think that there is such a feature after all. But how do you
configure it? drbdadm(8) manual page doesn't even mention it.

The source reveals the condition:

        if (name_in_names(nodeinfo.nodename, res->become_primary_on) ||
            name_in_names("both", res->become_primary_on)) {

Another little educated guess later, I find the option "become-primary-on",
documented in drbd.conf(5). Maybe that's what the original submitter is
missing?

-- 
     2. That which causes joy or happiness.



More information about the Debian-ha-maintainers mailing list