Setting up a Failover system

Dear sir,
Can I get some technical information on how to configure a second standby server located in another place in such a way that if the main server (ubuntu system) fails for some reason the second one starts automatically to continue the job.

Thanks

This is a little out of scope but what you need is bench setup on both servers and mysql replication.

Thanks pdvyas,

do you mean replicating manualy?

I meant mysql replication http://dev.mysql.com/doc/refman/5.0/en/replication.html
Failover would be manual