How To Implement Round Robin DNS for Load Balancing Servers Come implementare il DNS round robin per il bilanciamento del carico dei server
Round robin DNS is a simple way to load balance your servers. Round robin del DNS è un modo semplice per caricare il tuo equilibrio server. You can use it balance the load between multiple web / ftp or other servers. Potete usarlo equilibrio il carico tra più web / FTP o altri server. Each server has its own IP address. Ogni server dispone di un proprio indirizzo IP. In round robin mode the DNS serves one of the available IP addresses in random order to the requester. In modalità round robin del DNS serve uno degli indirizzi IP disponibili in ordine casuale per il richiedente. The simplest way to implement round robin DNS is with A records in your zone file. Il modo più semplice per attuare round robin del DNS è con un record nel vostro file di zona. For example my taragana.com.hosts file (zone file for taragana.com zone which is used by Bind name server) currently has the following entries: Ad esempio il mio taragana.com.hosts file (file di zona per zona taragana.com, che è utilizzato da Bind name server), attualmente in corso ha le seguenti voci:
taragana.com. IN A 72.36.134.170 IN A 72.36.134.130 IN UN 72.36.134.170 IN UN 72.36.134.130 This ensures that any request to taragana.com is served alternatively by one of the following IP addresses: 72.36.134.170 and 72.36.134.130. Ciò garantisce che qualsiasi richiesta di taragana.com è servita in alternativa, di uno dei seguenti indirizzi IP: 72.36.134.170 e 72.36.134.130.
Note: You can normally find your zone file in /var/named or /var/named/chroot/var/named directory. Nota: normalmente è possibile trovare il tuo file di zona in / var / named o / var / named / chroot / var / named directory.
You can use this simple technique to load balance between multiple web servers or ftp servers. È possibile utilizzare questa semplice tecnica di bilanciamento del carico tra più server web o ftp server. You can verify it by pinging taragana.com and you will, unless you have a caching nameserver in between, alternately get both the IP addresses. È possibile verificarlo con il ping di taragana.com e lei, se non si dispone di una cache di nomi in mezzo, alternativamente ottenere entrambi gli indirizzi IP.
Such load balancing is ideally suited for stateless web services like serving images and files or web / blog pages. Quali il bilanciamento del carico è ideale per gli servizi web come servizio immagini e file o web / blog pagine.
However even for statefull services like web based applications this works because the browser caches the IP address and goes back to the same server for processing subsequent requests. Tuttavia anche per statefull servizi come applicazioni basate su Web funziona perché la cache del browser l'indirizzo IP e risale allo stesso server per l'elaborazione le richieste successive.
Note: In my case however they both point to the same server currently. Nota: Nel mio caso però che il punto sia allo stesso server attualmente. So what’s the point? Che cosa è il punto? I am actually transitioning the IP addresses from 130 to 170. Io sono effettivamente di trasferire l'indirizzi IP da 130 a 170. So this is the intermediate step I decided to take and then on Saturday I will remove the 130 entries from my DNS server. Così questo è il passo intermedio ho deciso di prendere e poi a Sabato mi rimuovere le 130 voci dal mio server DNS.
BTW: Round robin DNS by itself doesn’t provide a failover support as the DNS doesn’t have any knowledge about the servers it is pointing to. BTW: Round Robin DNS di per sé non fornisce un supporto di failover come DNS non ha alcuna conoscenza del server è di puntamento. However you can write scripts to monitor the server and request the DNS to take down or bring up one or more servers from its list. Tuttavia è possibile scrivere script per monitorare il server e la richiesta DNS per prendere giù o portare uno o più server dal suo elenco.
Filed under Elencato sotto Enterprise Software Enterprise Software , Fedora 7 Fedora Core 7 , Fedora Core 6 Fedora Core 6 , Headline News Headline News , How To Come , Linux , Open Source Software Software open source , Web , Web Hosting Web Hosting , Web Services Servizi Web | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | questo articolo |
Email this Article Invia questo articolo
You may also like to read Si può anche leggere come |



