[Pacemaker] Configuring Pacemaker & DRBD
Cliff Massey
cliffm304 at cliffmassey.com
Mon Oct 10 16:04:16 UTC 2011
How does stonith work in a 2-node cluster? There aren't enough nodes to make quorum and vote the bad guy out.
On Oct 7, 2011, at 4:31 PM, Cliff Massey wrote:
> ahh makes sense.
>
> I disabled allow-migrate and now I can move the kvm machine and at the same time drbd is automatically set to primary on the new node.
>
> Time to setup stonith.
>
> On Oct 7, 2011, at 4:13 PM, Florian Haas wrote:
>
>> On 2011-10-07 21:23, Cliff Massey wrote:
>>> I meant 8.40 :)
>>>
>>> I ended up deciding to use Corosync instead of Heartbeat and it is working now. Now I'm configuring a KVM resource to depend on drbd. The KVM machine is started by Pacemaker, but when I try "resource migrate" to move it to the other node nothing happens.
>>
>> Yeah, can't work. For a resource with meta allow-migrate=true to
>> migrate, anything which that migrating resource depends on must already
>> be present on the target node. Which, when your KVM resources use DRBD,
>> can only ever work in a dual-Primary configuration. So, either set
>> allow-migrate to false (so migration reverts to the default "shut down
>> here, fire up there" method), or -- if and only if you're familiar with
>> its implications -- set up a DRBD dual-Primary configuration.
>>
>> Cheers,
>> Florian
>>
>> --
>> Need help with DRBD?
>> http://www.hastexo.com/now
>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
More information about the Pacemaker
mailing list