This is the log info: Sep 5 14:24:00 myhost heartbeat: [5636]: info: Received shutdown notice from 'myhost2'. Sep 5 14:24:00 myhost heartbeat: [5636]: info: Resources being acquired from myhost2. Sep 5 14:24:00 myhost heartbeat: [5958]: info: acquire local HA resources (standby). Sep 5 14:24:00 myhost ResourceManager[5985]: info: Acquiring resource group: myhost 192.168.1.240 squid httpd Sep 5 14:24:00 myhost IPaddr[6021]: INFO: Running OK Sep 5 14:24:00 myhost heartbeat: [5959]: info: Local Resource acquisition completed. Sep 5 14:24:00 myhost IPaddr[6040]: INFO: Running OK Sep 5 14:24:00 myhost ResourceManager[5985]: info: Running /etc/init.d/squid start Sep 5 14:24:00 myhost ResourceManager[5985]: CRIT: Giving up resources due to failure of squid Sep 5 14:24:00 myhost ResourceManager[5985]: info: Releasing resource group: myhost 192.168.1.240 squid httpd Sep 5 14:24:00 myhost ResourceManager[5985]: info: Running /etc/init.d/httpd stop Sep 5 14:24:00 myhost ResourceManager[5985]: info: Running /etc/init.d/squid stop Sep 5 14:24:00 myhost squid[5906]: Squid Parent: child process 5908 exited due to signal 9 Sep 5 14:24:00 myhost ResourceManager[5985]: info: Running /etc/ha.d/resource.d/IPaddr 192.168.1.240 stop Sep 5 14:24:00 myhost IPaddr[6235]: INFO: ifconfig eth0:0 down Sep 5 14:24:00 myhost IPaddr[6218]: INFO: Success Sep 5 14:24:00 myhost heartbeat: [5958]: info: local HA resource acquisition completed (standby). Sep 5 14:24:00 myhost heartbeat: [5636]: info: Standby resource acquisition done [foreign]. Sep 5 14:24:00 myhost harc[6267]: info: Running /etc/ha.d/rc.d/status status Sep 5 14:24:00 myhost mach_down[6283]: info: /usr/share/heartbeat/mach_down: nice_failback: foreign resources acquired Sep 5 14:24:00 myhost mach_down[6283]: info: mach_down takeover complete for node myhost2. Sep 5 14:24:00 myhost heartbeat: [5636]: info: mach_down takeover complete. Sep 5 14:24:30 myhost hb_standby[6326]: Going standby [foreign]. Sep 5 14:24:31 myhost heartbeat: [5636]: info: myhost wants to go standby [foreign] Sep 5 14:24:31 myhost heartbeat: [5636]: info: Cancelling pending standby operation Sep 5 14:24:31 myhost heartbeat: [5636]: info: Dead node myhost2 gave up resources. Sep 5 14:24:31 myhost heartbeat: [5636]: info: Link myhost2:eth0 dead.
This is my config ha.cf: logfacility local0 keepalive 2 deadtime 30 warntime 10 initdead 120 udpport 694 bcast eth0 # Linux auto_failback on node myhost node myhost2 2008/9/5 Jeff Pang <[EMAIL PROTECTED]>: > Hello members, > > When I stop the slave's heartbeat, why the master's running services > get died by heartbeat? Am I wrong on the configure? > > Thanks. > > -- > Regards, > Jeff. > -- Regards, Jeff. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
