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