Article View: news.software.nntp
Article #19160Re: Help with redundancy of news servers
From: Dan Tedrick
Date: Thu, 10 Jul 1997 00:00
Date: Thu, 10 Jul 1997 00:00
73 lines
3823 bytes
3823 bytes
Ragnar Lonn wrote: > > In article <5pdsk3$3fs$1@news5.gte.net>, Dan Tedrick <dtedrick@gte.net> wrote: > >a DNS round robin isn't the best way to go, due to the method most > >current news clients use DNS. they only do the lookup once and then > >hold on to that IP until they are restarted. they completely ignore > >TTLs. a better way to do this than DNS is to use one of the many > >redirectors available such as the Web Server Director, or the Local > >Director. > > > > Does those redirectors work with news clients? Aren't they just sending > HTTP-Redirect commands to the clients when they connect? > no, these actually reroute the packet to another machine (useing tcp/ip, not http) > The master/slave mode of INN seem to work for some and not for > others - I think it appears not to be completely reliable when it comes > to keeping article numbering synced between servers. thats the only point to use it.... > What you can > do (what we have done) is to have an NFS-server that holds the > article and overview files and then let all reader clients mount their > spool from it - that ensures the same article numbering on all > machines. Any local postings go to a single host that is the only > machine allowed to write on the spool (might be the NFS server > itself if it's a Unix box). good idea, but unfortunatly it only grows so far. I've had a news system set up similarly that would support ~5,000 simultanious active connections like that, but when it got much over that, I had to replicate the network (thus needing two spools with identical article numbers), as disks only have so much bandwidth... though I've been keeping an eye on fiber disks ;) > > Start nnrpd via inetd on the reader clients and use the "-S nfs-host" > parameter to make local postings get sent to the NFS server host > (or the machine that is allowed to write on the spool), then you will > have a bunch of reader machines that behaves exactly the same - > they will all claim to be "nfs-host" for example, when someone > connects to them, and they will have the same article numbering > always. To get failover functionality you need to make some scripts > or programs and work some with your DNS but it shouldn't be > too hard to do (I've planned doing it but haven't got around to it yet) - > if your system is gte.net and your news server is news.gte.net you > can, in gte.net's nameserver setup: > > news.gte.net. IN NS nfs-news-server-host.gte.net. > > ..then you setup your own little nameserver on that machine and > setup some A records for the reader machines in a round-robin way > so load will be distributed among your reader servers. You also write > a small script that periodically connects to each of the reader hosts > and 'reads' an article to make sure the reader host is functional. If > it isn't, the script removes that reader host from the DNS and restarts > the DNS. Oh, yeah you should of course have very short TTL times > on your DNS data. Maybe even 0 TTL. > great idea, except most news clients pay no attention to TTL. :( ->other great stuff deleted<- Dan Tedrick
Technical Details
Message-ID:
<5q1g70$1u4$2@news2.gte.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5p0gdo$er4@prometheus.acsu.buffalo.edu> <5pdsk3$3fs$1@news5.gte.net> <5pvp2h$8j9$1@zingo.tninet.se>Show Full Headers
Complete Article Headers
Message-ID: <5q1g70$1u4$2@news2.gte.net> Subject: Re: Help with redundancy of news servers Date: Thu, 10 Jul 1997 00:00:00 +0000 From: Dan Tedrick <dtedrick@gte.net> References: <5p0gdo$er4@prometheus.acsu.buffalo.edu> <5pdsk3$3fs$1@news5.gte.net> <5pvp2h$8j9$1@zingo.tninet.se> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 255858349 Organization: GTEINS X-Auth: UNKNOWN@chained.gte.net Newsgroups: news.software.nntp