Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Wed, Jun 17, 2015 at 04:53:03PM +0200, Dietmar Maurer wrote: > > Please try to swap the "deploy" and "set options" steps: > > > > -------------------- > > ($rc, $res) = $hdl->set_drbdsetup_props( > > { > > target => "resource", > > resource => $name, > > type => 'neto', > > 'allow-two-primaries' => 'yes', > > }); > > > > ($rc, $res) = $hdl->auto_deploy($name, $redundancy, 0, 0); > > > > -------------------- > > Does not work, because that way the 'allow-two-primaries' is > never activated. While I can see 'allow-two-primaries' with > 'drbdadmin dump', 'drbdsetup show' does not include > the 'allow-two-primaries' option. > That was indeed a bug and should be fixed in 0.43.1 [1]. So, please try to first set the options, then deploy it, but with the fixed drbdmanage version. Regards, rck [1] http://git.drbd.org/gitweb.cgi?p=drbdmanage.git;a=summary