lukus001
16-12-2009, 03:29
I'm not too sure, but can't you do that via DNS?
You will need a domain name, and point that to a DNS which will handle a failover type support. You could run your own DNS server (which is what most webhosts do if you've bought hosting) which will intun give the IP address of your server and, should that server go down, give the IP for the second server.
Hope that helps.
edit: From what im aware of it works by monitoring the health of your servers, most likely Via ping (at least this is the impression i got when reading a DNS failover service), so since hard disk failure does not directly result in a server crash you might need to set up your own background program to dissable ping services on hard disk failure...
I'm not to sure about the DNS protocol so it might just be possible to 'list' a set of IP address with your DNS providor and the client should automatically attempt connection to the second IP if the first one fails.
You will need a domain name, and point that to a DNS which will handle a failover type support. You could run your own DNS server (which is what most webhosts do if you've bought hosting) which will intun give the IP address of your server and, should that server go down, give the IP for the second server.
Hope that helps.
edit: From what im aware of it works by monitoring the health of your servers, most likely Via ping (at least this is the impression i got when reading a DNS failover service), so since hard disk failure does not directly result in a server crash you might need to set up your own background program to dissable ping services on hard disk failure...
I'm not to sure about the DNS protocol so it might just be possible to 'list' a set of IP address with your DNS providor and the client should automatically attempt connection to the second IP if the first one fails.