> plz post the _now used_
>
> /e/h/haresources
>
> , /etc/drbd.conf and
>
> # cat /proc/drbd
on drbd1:
haresources
drbd1 IPaddr::192.168.15.24/24/eth0 drbddisk::drbd0
Filesystem::/dev/drbd0::/data::ext3 nfs-kernel-server
drbd.conf:
resource testing { # name of resources
protocol C;
on drbd1 { # first server hostname
device /dev/drbd0; # Name of DRBD device
disk /dev/md5; # Partition to use, which was created using fdisk
address 192.168.168.1:7788; # IP addres and port number used by drbd
meta-disk internal; # where to store metadata meta-data
}
on drbd2 { # second server hostname
device /dev/drbd0;
disk /dev/md5;
address 192.168.168.2:7788;
meta-disk internal;
}
disk {
on-io-error detach;
}
net {
max-buffers 2048;
ko-count 4;
}
syncer {
rate 110M;
al-extents 257;
}
startup {
wfc-timeout 0;
degr-wfc-timeout 120; # 2 minutos.
}
}
--------------
on drbd2:
haresources:
drbd1 IPaddr::192.168.15.24/24/eth0 drbddisk::drbd0
Filesystem::/dev/drbd0::/data::ext3 nfs-kernel-server
drbd.conf:
resource testing { # name of resources
protocol C;
on drbd1 { # first server hostname
device /dev/drbd0; # Name of DRBD device
disk /dev/md5; # Partition to use, which was created using fdisk
address 192.168.168.1:7788; # IP addres and port number used by drbd
meta-disk internal; # where to store metadata meta-data
}
on drbd2 { # second server hostname
device /dev/drbd0;
disk /dev/md5;
address 192.168.168.2:7788;
meta-disk internal;
}
disk {
on-io-error detach;
}
net {
max-buffers 2048;
ko-count 4;
}
syncer {
rate 110M;
al-extents 257;
}
startup {
wfc-timeout 0;
degr-wfc-timeout 120; # 2 minutos.
}
}
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems