[DRBD-user] Determining whether a resource is in dual-primary mode

2015-10-29 Thread Veit Wahlich
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

Re: [DRBD-user] Determining whether a resource is in dual-primary mode

2015-10-29 Thread Veit Wahlich
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

Re: [DRBD-user] Determining whether a resource is in dual-primary mode

2015-10-29 Thread Ivan
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

Re: [DRBD-user] drbd9 with kernel 4.2.5 - compile fails

2015-10-29 Thread Roland Kammerer
On Wed, Oct 28, 2015 at 04:59:21PM +0100, Lee Lists wrote: > Hi, > > I'm trying to build drbd-9.0 on debian 8.1 / kernel-4.2.5 vanilla Which version of drbd9? git head? Or the "drbd-9.0.0" tag from git? Or the latest tar-ball? Regards, rck ___

Re: [DRBD-user] drbd9 with kernel 4.2.5 - compile fails

2015-10-29 Thread Roland Kammerer
On Thu, Oct 29, 2015 at 09:51:38AM +0100, Lee Lists wrote: > Hi Roland, > > Yes, i'm using git-head and found the problem, I just missed a git > submodule update :-( Hehe, a classic one. Don't worry, this even happens to us developers from time to time ;-). Regards, rck

Re: [DRBD-user] drbd9 with kernel 4.2.5 - compile fails

2015-10-29 Thread Lee Lists
Hi Roland, Yes, i'm using git-head and found the problem, I just missed a git submodule update :-( Thanks, Lee - Mail original - De: "Roland Kammerer" À: "drbd-user" Envoyé: Jeudi 29 Octobre 2015 09:17:07 Objet: Re: [DRBD-user]