Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi,
Yes the name is ok in drbd.conf,
I try to add a \ but the message error change :
heartbeat: 2006/02/15_09:22:38 info: **************************
heartbeat: 2006/02/15_09:22:38 info: Configuration validated. Starting
heartbeat 1.2.3.cvs.20050927
heartbeat: 2006/02/15_09:22:38 ERROR: Bad nodename in
/etc/ha.d/haresources [Filesystem::/dev/drbd0::/opt::ext3]
heartbeat: 2006/02/15_09:22:38 ERROR: Configuration error, heartbeat not
started.
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
Le 15/02/06 at 09:57, nick a ecrit:
>Christophe Mailhebuau wrote:
>>Hi,
>>
>>I have a problem to start heartbeat with drbd+nfs.
>>
>>heartbeat refuse to start. I use this howto
>>http://linux-ha.org/DRBD/NFS
>>
>>ha.cf :
>>debugfile /var/log/ha-debug
>>logfile /var/log/ha-log
>>logfacility local0
>>deadtime 10
>>bcast eth1
>>ucast eth1 192.168.1.50
>>node resura-sdb1
>>node resura-sdb2
>>auto_failback on
>>
>>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
>>
>>log ha-log say :
>>
>>heartbeat: 2006/02/15_09:09:45 info: **************************
>>heartbeat: 2006/02/15_09:09:45 info: Configuration validated. Starting
>>heartbeat 1.2.3.cvs.20050927
>>heartbeat: 2006/02/15_09:09:45 ERROR: Bad nodename in
>>/etc/ha.d/haresources [drbddisk::drbd-resource-0]
>>heartbeat: 2006/02/15_09:09:45 ERROR: Configuration error, heartbeat not
>>started.
>>
>>have you an idea where is the problem ?
>>
>Is the name you gave your node in /etc/drbd.conf drbd-resource-0 ?
>
>Look what you have in the resource field in drbd.conf
>
>Then change the line in haresources to be the same thing.
fin du message de nick
--
Cordialement,
Christophe Mailhebuau - http://www.justlinux.org
Administrateur systèmes et réseaux GNU/Linux
GPG: 1024D/75B07F8D: BD18 2D01 D954 A339 E35B 9EA1 4240 0410 75B0 7F8D