On 09/05/11 14:10, For@ll wrote: > W dniu 05.09.2011 14:01, For@ll pisze: >> Hi, >> >> I have two servers node1 and node2, I configured drbd + heartbeat v1.
Bad idea; use Pacemaker. >> On >> 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: http://www.drbd.org/users-guide/s-lvm-pacemaker.html Cheers, Florian _______________________________________________ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user