Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
> 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.