<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">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.<br><div id="divNeteaseMailCard"></div><br><pre><br>ÔÚ 2012-05-21 16:27:44£¬"Felix Frank" <ff@mpexnet.de> дµÀ£º
>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
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>