Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi,
I try to install drbd + heartbeat + nfs but i have problem (i use this
howto :
http://linux-ha.org/DRBD_2fNFS
I try to stop and start heartbeat but i 've this message :
heartbeat: 2006/02/14_13:55:58 WARN: WARNING: directive 'udp' replaced
by 'bcast'
heartbeat: 2006/02/14_13:55:58 WARN: Deprecated 'legacy' auto_failback
option selected.
heartbeat: 2006/02/14_13:55:58 WARN: Please convert to 'auto_failback
on'.
heartbeat: 2006/02/14_13:55:58 WARN: See documentation for conversion
details.
heartbeat: 2006/02/14_13:55:58 info: **************************
heartbeat: 2006/02/14_13:55:58 info: Configuration validated. Starting
heartbeat 1.2.3.cvs.20050927
heartbeat: 2006/02/14_13:55:58 ERROR: Bad nodename in
/etc/ha.d/haresources [drbddisk::drbd-resource-0]
heartbeat: 2006/02/14_13:55:58 ERROR: Configuration error, heartbeat not
started
my haresources :
resura-sdb1 10.24.12.60
drbddisk::drbd-resource-0 \
Filesystem::/dev/drbd0::/opt::ext3 \
killnfsd \
nfs \
sleep::3 \
IPaddr::10.12.24.60/24/eth0
my ha.cf :
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
deadtime 10
udp eth1
ucast eth0 10.24.12.50
node resura-sdb1
node resura-sdb2
5 times ago :
I try with auto_failback on
I modified udp by bcast and i choose good interface (eth1 is pool to
heartbeat an replication drbd)
But i have again an error :
heartbeat: 2006/02/14_14:04:15 info: **************************
heartbeat: 2006/02/14_14:04:15 info: Configuration validated. Starting
heartbeat 1.2.3.cvs.20050927
heartbeat: 2006/02/14_14:04:15 ERROR: Bad nodename in
/etc/ha.d/haresources [drbddisk::drbd-resource-0]
heartbeat: 2006/02/14_14:04:15 ERROR: Configuration error, heartbeat not
started.
he tell me bad nodename, but in my drbd.conf is good :
/etc/drbd.conf :
resource drbd-resource-0 {
protocol C;
incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ;
halt -f";
startup {
degr-wfc-timeout 120; # 2 minutes.
}
disk {
on-io-error detach;
}
net {
on-disconnect reconnect;
}
syncer {
rate 100M; # Note: 'M' is MegaBytes, not MegaBits
}
on RESURA-SDB1 {
device /dev/drbd0;
disk /dev/sda2;
address 192.168.1.40:7789;
meta-disk internal;
}
on RESURA-SDB2 {
device /dev/drbd0;
disk /dev/sda2;
address 192.168.1.50:7789;
meta-disk
internal;
}
}
Can you help me ?
Regards
--
Cordialement,
Christophe Mailhebuau http://www.justlinux.org
GPG: 1024D/75B07F8D: BD18 2D01 D954 A339 E35B 9EA1 4240 0410 75B0 7F8D