On Wed, 11 Aug 2010, Igor Chudov wrote:

> I think that I may have found a solution that, while ugly (if not
> worse), will work.
>
> It is as follows: if both servers start at the same time, and I
> restart heartbeat on the secondary server by doing
> /etc/init.d/heartbeat restart, then the primary server dutifully takes
> over. Then everything is good.
>
> So I could add a crontab entry to them (I keep everything the same on
> both servers religiously, hence the IF statement) as in:
>
> @reboot sleep 1m; if test $(hostname -s) = pfs-srv4; then
> /etc/init.d/heartbeat restart > heartbeat-restart.log 2>&1 ; fi
>
> Now, this goes against all good principles, etc. But I think that this
> solution will work practically "most of the time".
>
> Any thoughts?

anything that works, especially with the lack of information.

when it does the failover, does something further then show up in the ha-log 
file?

David Lang
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to