Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
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