Help setting up heartbeat
Alan Robertson
alanr@suse.com
Thu, 16 Nov 2000 19:01:01 -0700
Matt Ryan wrote:
>
> hi -
> this is surely a heartbeat newbie question, but I'm having a problem
> getting it up and running. a similar question to mine was raised in a
> thread between Alan and Christian Lox on Oct. 30-31, but it's not clear
> to me how it was resolved.
> I have heartbeat running between two computers, with the notable
> exception that the active node never manages to raise either the IP
> address or the service (httpd) specified in haresources. I'm guessing
> it doesn't try to start httpd after failing to create the IP alias?
> below is a logfile with just one node running (to simplify matters,
> since it works just about the same either way). the computers are on a
> 10.0.0.* private network.
> any help would be appreciated.
>
> thanks,
> Matt
>
> heartbeat: 2000/11/16_11:12:22 info: **************************
> heartbeat: 2000/11/16_11:12:22 info: Configuration validated. Starting
> heartbeat
> 0.4.8
> heartbeat: 2000/11/16_11:12:22 info: heartbeat: version 0.4.8
> heartbeat: 2000/11/16_11:12:23 notice: Starting serial heartbeat on tty
> /dev/ttyS0
> heartbeat: 2000/11/16_11:12:23 notice: UDP heartbeat started on port
> 694 interface eth0
> heartbeat: 2000/11/16_11:12:23 info: Local status now set to: 'up'
> heartbeat: 2000/11/16_11:12:23 info: Link freakymute.s.com:eth0: status
> up
> heartbeat: 2000/11/16_11:12:32 WARN: node gretchen: is dead
> heartbeat: 2000/11/16_11:12:32 WARN: Link gretchen:/dev/ttyS0 dead.
> heartbeat: 2000/11/16_11:12:32 WARN: Link gretchen:eth0 dead.
> heartbeat: 2000/11/16_11:12:32 info: Local status now set to: 'active'
> heartbeat: 2000/11/16_11:12:32 info: Node freakymute.s.com: status up
> heartbeat: 2000/11/16_11:12:32 info: Node freakymute.s.com: status
> active
> heartbeat: 2000/11/16_11:12:32 info: Running /etc/ha.d/rc.d/status
> status
> heartbeat: 2000/11/16_11:12:32 info: Running /etc/ha.d/rc.d/status
> status
> heartbeat: 2000/11/16_11:12:32 info: Running /etc/ha.d/rc.d/status
> status
> heartbeat: 2000/11/16_11:12:33 info: Running
> /etc/ha.d/resource.d/IPaddr 192.168.0.10 status
> heartbeat: 2000/11/16_11:12:33 debug: Starting
> /etc/ha.d/resource.d/IPaddr 192.168.0.10 status
> heartbeat: 2000/11/16_11:12:33 debug: /etc/ha.d/resource.d/IPaddr
> 192.168.0.10 status done. RC=0
> heartbeat: 2000/11/16_11:12:33 info: Running /etc/ha.d/rc.d/ip-request ip-request
Hi,
Do you have two nodes:
freakymute (the local node), and gretchen?
This line
> heartbeat: 2000/11/16_11:12:33 info: Running /etc/ha.d/rc.d/ip-request ip-request
means that it asked the other side to please give up its resources. 30
seconds later, it should take over the IP address. Silly question: Did you
wait 30 seconds?
-- Alan Robertson
alanr@suse.com