Questions tagged [round-robin]
66 questions
20
votes
6 answers
DNS Round Robin: Do browsers stick to one IP as long as it is online?
How do most browsers behave if they get multiple A-records from the DNS server? Do the stick to one IP as long as it is reachable (and only use another if the IP is down)? Or do they switch all the time for no reason?
If the majority current…
HiPerFreak
- 201
- 1
- 2
- 3
16
votes
2 answers
Is it possible to have round-robin DNS with /etc/hosts file?
Is it possible to have round-robin DNS with the follwing configuration in /etc/hosts?
192.168.4.10 shaakunthala.local
192.168.4.20 shaakunthala.local
I'm on Linux.
Shaakunthala
- 181
- 1
- 1
- 7
10
votes
3 answers
Is round-robin DNS a possible solution for high availability?
Let's say I have 2 IPs for a given domain (round-robin DNS).
If one the IPs becomes unresponsive, will clients try to connect to the other IP? or they will just fail to establish comunication with the domain?
GetFree
- 1,460
- 7
- 23
- 37
10
votes
5 answers
Weighted round robins via TTL - possible?
I currently use DNS round robin for load balancing, which works great.
The records look like this (I have a TTL of 120 seconds)
;; ANSWER SECTION:
orion.2x.to. 116 IN A 80.237.201.41
orion.2x.to. 116 IN A …
The Shurrican
- 2,230
- 7
- 39
- 58
7
votes
2 answers
Load Balancing Best Practices for Persistence
We run a web application serving up web APIs for an increasing number of clients. To start, the clients were generally home, office, or other wireless networks submitting chunked http uploads to our API. We've now branched out into handling more…
dmourati
- 24,720
- 2
- 40
- 69
6
votes
2 answers
Load balancing / Failover for multiple VPS's set across different datacenters
I know many variants of this question has been asked already, but I still can't find a good answer to my needs.
What I want to do is setup a few (2 at minimum) VPS's to host my web apps on. I'd like to provide some load balancing (which is pretty…
user500921
- 161
- 1
- 5
5
votes
2 answers
HAProxy with SSL and sticky sessions
We're trying to set up HAProxy (v1.5.1) to use SSL.
While we managed to do that, we're having some issues with the round robin settings:
We do want to have stick sessions, but haproxy seems to send all sessions (from different browsers) to the same…
Ayelet
- 151
- 1
- 1
- 2
3
votes
2 answers
Network bonding mode balance-rr / 802.3ad layer3+4 on Linux
What is the difference between balance-rr and 802.3ad with xmit_hash_policy set to layer3+4.
https://www.kernel.org/doc/Documentation/networking/bonding.txt
layer3+4: This algorithm is not fully 802.3ad compliant. A
single TCP or UDP conversation…
FaxMax
- 165
- 1
- 2
- 12
3
votes
2 answers
DNS Round-robin, Load Balancing, Load sharing, and failover in 2012
I have been reading many posts on serverfault as well as on other sites regarding all these.
What I understand is, Multiple A records(round-robin dns) can be used for both :
Load sharing (round-robin, but NOT load-balancing). Many people say that…
user1089770
- 131
- 4
3
votes
2 answers
PowerDNS CNAME with multiple A records produces unexpected results
This problem from what i can tell is isolated to PowerDNS. The servers are running two packages pdns-static-3.0.1-1.i386.rpm and pdns-recursor-3.3-1.i386.rpm on the most recent version of Amazon Linux.
The amazon ec2 loadbalancers are assigned a…
bwight
- 793
- 1
- 6
- 14
3
votes
2 answers
DNS Round-robin does not load balance SSH
I tested DNS round-robin with SSH, and I noticed amazing results of the SSH client on my testing environment. I am using 3 nodes with RHEL 6.2 (openssh-5.3p1, bind-9.7.3-8.P3). Things like the host keys have been managed.
My "issue":
I would like a…
cbesson
- 33
- 1
- 4
3
votes
4 answers
Looking for a loadbalancer
I am looking for an open source loadbalancer for linux. My requirements are simple. I want One load balancer infront of multiple webservers. It should be able to split the load evenly among the webserver using a round robin fashion. Easy to install…
sethu
- 371
- 2
- 16
2
votes
1 answer
Squid cache_peer round-robin algorithm not working as expected
I have number of peer-to-peer HTTP proxies and I need to distribute my requests among them evenly, so I added multiple cache_peer directives and set round-robin as peer selection algorithm. This is my config:
# Basic configuration
visible_hostname…
Ales Dokshanin
- 51
- 5
2
votes
1 answer
Run different instances behind one load balancer?
When using Amazon AWS is it possible to run different types of instances behind an load balancer?
Let's say as base instance you have an t2.small and when having some more load you want an t2.micro to help. AFAIK, Amazon is doing the load balancing…
user277526
2
votes
1 answer
bind zone file setup for dns round robin
I would like to set up load balancing for my website using DNS round robin.
My DNS is managed by my own CentOS 6 server running bind.
I added the following into my zone file:
@ IN NS ns1.mydns.ch.
@ …
user788171
- 279
- 1
- 5
- 12