Heartbeat not Giving up Resources

Trevor Astrope astrope@e-corp.net
Sat, 1 Apr 2000 17:27:06 -0500 (EST)


Just to let everyone know that I managed to figure it out... I was
configuring 192.168.1.22 on server0 with the
/etc/sysconfig/network-scripts/ifcfg-eth0:0 file instead of letting
heartbeat  configure the interface. I removed the file and now all is
good. :-) In fact, it is pretty cool.

One thing I did notice is that if i restart /etc/rc.d/init.d/heartbeat,
then I get the error 

Apr  1 17:24:51 server0 /usr/lib/heartbeat/heartbeat[1013]: cannot open
serial /dev/ttyS0

Is there a way to free up the serial port?

On Sat, 1 Apr 2000,
Trevor Astrope wrote:

> Hi,
> 
> I'm testing heartbeat on a 2 node cluster and I have the failover working
> fine, but when the master comes back up, the slave won't give up the
> resources...
> 
> I have this line in both haresources files on each machine:
> 
> server0.e-corp.net	192.168.1.22 httpd
> 
> Here are the logs, first for server2.e-corp.net (the slave) and
> server0.e-corp.net (the master)...
> 
> Apr  1 15:15:20 server2 /usr/lib/heartbeat/heartbeat[370]: node
> server0.e-corp.net: is dead
> Apr  1 15:17:57 server2 /usr/lib/heartbeat/heartbeat[370]: node
> server0.e-corp.net seq restart 1 vs 539
> Apr  1 15:17:57 server2 /usr/lib/heartbeat/heartbeat[370]: node
> server0.e-corp.net: status up
> 
> Apr  1 15:17:23 server0 /usr/lib/heartbeat/heartbeat[340]:
> ***********************
> Apr  1 15:17:23 server0 heartbeat: heartbeat: 2000/04/01_15:17:23 info:
> ***********************
> Apr  1 15:17:23 server0 /usr/lib/heartbeat/heartbeat[341]: Creating FIFO
> /var/run/heartbeat-fifo.
> Apr  1 15:17:23 server0 heartbeat: heartbeat: 2000/04/01_15:17:23 info:
> Configuration validated. Starting heartbeat.
> Apr  1 15:17:23 server0 heartbeat: heartbeat startup succeeded
> Apr  1 15:17:24 server0 /usr/lib/heartbeat/heartbeat[342]: Requesting our
> resources.
> 
> It seems the master is requesting its resources before the slave
> acknowledges that the master is back up?
> 
> I'm using a null modem cable for the serial heartbeat and can echo hello
> >/dev/ttyS0 back and forth between the machines ok...
> 
> Any help is appreciated.
> 
> Regards,
> 
> Trevor Astrope
> astrope@e-corp.net
> 
> 

Regards,

Trevor Astrope
astrope@e-corp.net