I configure it like I show. I create metadata on every node and set one disk state to optodate and the other inconsistent, then drbd can sync and heartbeat can failover. Can you tell me the reason? I need the reason to persuade my leader.
在 2012-05-21 16:27:44,"Felix Frank" <[email protected]> 写道: >No. > >On 05/21/2012 10:24 AM, 陈楠 wrote: >> Actually, we just have one resource. /dev/vg01/share and /dev/vg02/share >> has the same size. >> Business system A >> >> resource r0 { >> meta-disk internal; >> device /dev/drbd0; >> disk /dev/vg01/share; # <- Partition A: always vg01 >> on NodeA { >> address 2.2.2.150:7788; >> } >> on NodeB { >> address 2.2.2.151:7788; >> } >> } >> >> Business system B >> >> resource r0 { >> meta-disk internal; >> device /dev/drbd0; >> disk /dev/vg02/share; # <- Partition A: always vg01 >> on NodeA { >> address 2.2.2.150:7788; >> } >> on NodeB { >> address 2.2.2.151:7788; >> } >> } > >Both nodes: > >resource r0 { > meta-disk internal; > device /dev/drbd0; > on NodeA { > disk /dev/vg01/share; > address 2.2.2.150:7788; > } > on NodeB { > disk /dev/vg02/share; > address 2.2.2.151:7788; > } >} > >It's OK for your nodes to be different, but *do include that in your >config*. Save yourself from pain down the road. > >Regards, >Felix
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
