On Thu, Oct 29, 2015 at 06:11:28PM +0100, Veit Wahlich wrote:
>
> My problem is not that I do not know whether there are two primaries
> active, but whether two primaries are still allowed (esp. whether
> "drbdadm --allow-two-primaeries=no" has been successfully executed.
>
> So I was unable to
On Mon, Nov 02, 2015 at 04:01:00PM +0100, Veit Wahlich wrote:
> Am Montag, den 02.11.2015, 15:53 +0100 schrieb Lars Ellenberg:
> > What's wrong with
> > # drbdsetup XYZ show --show-defaults
>
> That is exactly what I was looking for, thank you!
>
> Just a little more complicated to parse than I
Am Montag, den 02.11.2015, 17:14 +0100 schrieb Lars Ellenberg:
> res=XYZ
> if drbdsetup show $res | grep -q allow-two-primaries; then
> echo "Two primaries are allowed."
> else
> echo "Two primaries are not allowed."
> fi
>
> complicated to parse?
> where?
Well, for safety reasons I
Am Montag, den 02.11.2015, 15:53 +0100 schrieb Lars Ellenberg:
> What's wrong with
> # drbdsetup XYZ show --show-defaults
That is exactly what I was looking for, thank you!
Just a little more complicated to parse than I hoped for, but feasible
without problems.
Regards,
// Veit
Hi,
is there a (preferred) method to determine whether a resource is
currently in dual-primary mode, e.g. show the active net-options?
I use "drbdadm net-options --protocol=C --allow-two-primaries " to
active dual-primary mode temporarily for a resource and promote it on
the former secondary, so
Hi Ivan,
thank you for your suggestions.
Am Donnerstag, den 29.10.2015, 18:28 +0200 schrieb Ivan:
> you may be interested by this:
>
> https://github.com/taradiddles/cluster/blob/master/libvirt_hooks/qemu
>
> I wrote it some time ago as a qemu hook before ending setting up a full
> fledged
On 10/29/2015 03:12 PM, Veit Wahlich wrote:
Hi,
is there a (preferred) method to determine whether a resource is
currently in dual-primary mode, e.g. show the active net-options?
I use "drbdadm net-options --protocol=C --allow-two-primaries " to
active dual-primary mode temporarily for a