I was trying to understand how Linux-HA project, Heartbeat actually works. I found out that Heartbeat provides HA at a system level rather than application level, meaning the Virtual IP is move to backup system only on a system-down-scenario and not when application goes down. I verified this. I had configured httpd
in my haresources
file and I manually stopped httpd using service httpd stop
. although this stops httpd service, Heartbeat doesn't recognize this.
But when I stop heartbeat or bring down my machine, Backup comes up and starts httpd. Is this the correct scenario.. if not, please let me know why I should provide a script in resources.d/
to start, stop and find status of the application. Also, how can I achieve application level HA using heartbeat..!
Thanks in advance.. :)