Dear Bjorn,
I changed the haresource file. It is still the same. Whenever i reboot both
machine at the same time,
first the master will become active, but after the while it will be taken over
by the slave:
Below is the log file for both machine:
[EMAIL PROTECTED] ~]# tail -f /var/log/ha-log
ip-request-resp[3012]: 2008/08/20_18:53:05 received ip-request-resp
IPaddr::10.207.160.43/23/eth0 OK yes
ResourceManager[3033]: 2008/08/20_18:53:05 info: Acquiring resource group:
master.nav6.org IPaddr::10.207.160.43/23/eth0 httpd
IPaddr[3060]: 2008/08/20_18:53:05 INFO: Resource is stopped
ResourceManager[3033]: 2008/08/20_18:53:05 info: Running
/etc/ha.d/resource.d/IPaddr 10.207.160.43/23/eth0 start
IPaddr[3158]: 2008/08/20_18:53:06 INFO: Using calculated netmask for
10.207.160.43: 255.255.254.0
IPaddr[3158]: 2008/08/20_18:53:06 INFO: eval ifconfig eth0:0 10.207.160.43
netmask 255.255.254.0 broadcast 10.207.161.255
IPaddr[3129]: 2008/08/20_18:53:06 INFO: Success
ResourceManager[3033]: 2008/08/20_18:53:06 info: Running /etc/init.d/httpd
start
heartbeat[2621]: 2008/08/20_18:53:15 info: Local Resource acquisition
completed. (none)
heartbeat[2621]: 2008/08/20_18:53:15 info: local resource transition completed.
[EMAIL PROTECTED] ~]# tail -f /var/log/ha-log
IPaddr[3008]: 2008/08/20_18:53:55 INFO: Using calculated netmask for
10.207.160.43: 255.255.254.0
IPaddr[3008]: 2008/08/20_18:53:55 INFO: eval ifconfig eth0:0 10.207.160.43
netmask 255.255.254.0 broadcast 10.207.161.255
IPaddr[2979]: 2008/08/20_18:53:55 INFO: Success
ResourceManager[2883]: 2008/08/20_18:53:55 info: Running /etc/init.d/httpd
start
mach_down[2851]: 2008/08/20_18:53:56 info:
/usr/share/heartbeat/mach_down: nice_failback: foreign resources acquired
mach_down[2851]: 2008/08/20_18:53:56 info: mach_down takeover complete
for node master.nav6.org.
heartbeat[2583]: 2008/08/20_18:53:56 info: mach_down takeover complete.
heartbeat[2583]: 2008/08/20_18:53:56 info: Initial resource acquisition
complete (mach_down)
heartbeat[2583]: 2008/08/20_18:54:05 info: Local Resource acquisition
completed. (none)
heartbeat[2583]: 2008/08/20_18:54:05 info: local resource transition completed.
Even i try to extend the time of the deadtime, it still doesn't help.
Thanks.
-- Best regards, Simon Teh Network and System Administrator National
Advanced IPv6 Centre of Excellence, School of Computer Science,
Universiti Sains Malaysia ------------------------------ Message: 4
Date: Wed, 20 Aug 2008 10:13:03 +0200 From: Bj?rn Boschman
<[EMAIL PROTECTED]> Subject: Re: [Linux-HA] Slave always become
active node - problem To: General Linux-HA mailing list
<[email protected]> Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, chteh
schrieb:
>
> haresource
> ------------
> master 10.207.160.43 httpd
This does not look valid to me
it should be like:
master IPaddr::10.207.160.43/24/eth0 httpd
(in case /etc/init.d/httpd exists)
BR
Björn
------------------------------
--
Best regards,
Simon Teh
Network and System Administrator
National Advanced IPv6
Centre of Excellence,
School of Computer Science,
Universiti Sains Malaysia
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems