In this tutorial we will set up a highly available server providing Linux, Apache, MySQL, and PHP (LAMP) services to clients. Should a server become unavailable, services provided by our cluster will continue to be available to client systems.
HighlyAvailableLAMP:https://help.ubuntu.com/community/HighlyAvailableLAMP