Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is it possible to have multiple A records for a domain pointing to two different IP's from two different ISP's so as to avoid downtime if one of the ISP fails, similar to the lines what google has. I tried to test it internally but it does not seem to work.
Yes this is possible. As I told you it's called round robin and it's used to share the traffic of a busy site between different servers.
Quote:
What I have noticed it that request are not moving to the other IP when the first one is unreachable and vice versa.
What you want to do, is to implement a failover system, so when a server goes down the traffic is redirected to the other server. This is done with specific software and/or hardware.
What you want to do, is to implement a failover system, so when a server goes down the traffic is redirected to the other server. This is done with specific software and/or hardware.
Yes, using heartbeat one can do it. But I would not like to use this application for this.
Without a failover solution, if one server goes down, then with your scenario every 2nd request will fail. This is because of the way round robin works:
The 1st request goes to the 1st server, the 2nd request to the 2nd and in your case the 3rd will go again to the 1st server.
You can use ping to test this as follows::
Run ping assamonnet.org. The 1st time it will ping 158.144.1.20. Stop and rerun ping assamonnet.org and you'll see it will use 123.108.33.12
Without a failover solution, if one server goes down, then with your scenario every 2nd request will fail. This is because of the way round robin works
That is true, every second request fails. In the above scenario is there a possibility of putting the fail over, since it is one server which serves the request.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.