[DRBD-user] Drbd problem with lvm
f.g.haas at gmx.net
Mon Sep 5 14:57:29 CEST 2011
On 09/05/11 14:10, For at ll wrote:
> W dniu 05.09.2011 14:01, For at ll pisze:
>> I have two servers node1 and node2, I configured drbd + heartbeat v1.
Bad idea; use Pacemaker.
>> device drbd0 I created lvm pv nad vg. I have problem when I want promote
>> a node2 to a new primary, because the new primary node doesn't see lvm
>> volume group.
>> On the new primary node I must run vgchange -an volume_group to active.
>> How I can do that automaticly?
Take a look at the "LVM" resource agent. Better still, look here and see
how this kind of setup works in a Pacemaker context:
More information about the drbd-user