In a situation in which my primary server fails.I don't want my application to go down but the application to start fetching information form a backup server which is my Pc(Located someplace else) which has a backup pf the Data till the main server is fixed or up !
Asked
Active
Viewed 337 times
-1
-
1And what application is it? Unless you are doing something with Virtual machines, there is no generic fault tolerance. – Zoredache Feb 01 '12 at 00:10
1 Answers
0
I'd start by looking at using a load balancer. It provides a layer of abstraction between incoming traffic and the actual hardware, so if something fails, you can gracefully switch to hosting from another machine.
![](../../users/profiles/74342.webp)
Hartley Brody
- 128
- 6
-
what if i am hosting it on a shared server? the load balance and all network facilities will be on his side..If i could have a service running checking the status of the server and detect a fault and divert the connections once the server is down ? easy for me to say !lol – Fhd.ashraf Jan 31 '12 at 23:37
-
On a shared server the only way to "divert" connections is to change the DNS zone making it point towards a new destination. You'll have to wait for the new zone to propagate, though. – S19N Feb 01 '12 at 01:21