Article View: news.software.nntp
Article #52828Re: slave servers with INN
From: Russ Allbery
Date: Wed, 13 Jun 2001 00:11
Date: Wed, 13 Jun 2001 00:11
39 lines
2701 bytes
2701 bytes
float <float@panix.com> writes:
> We have a feeder machine living at our ISP, and a reader machine here.
> We'd like to replace the reader with two readers, for failover purposes.
> For obvious reasons, we'd like the reader boxes to have identical
> article numbers. Also, due to the bandwidth considerations, we'd like
> to have only one reader fed from the feeder, and have it feed the other
> reader.
> What's the best way to do this? We're leaning towards INN, but not
> religiously. (Though we are religious about open source.)
Set up a second reader, set xrefslave to true in inn.conf, and then I'd
set up an nntpsend feed from the first reader to the second (feed to a
file in newsfeeds with Tf,Wnm and then run nntpsend from cron). The
advantage of nntpsend over innfeed is that all of the articles will arrive
in order; the disadvantage is that the second reader will lag behind the
first in new articles, so if you switch from the first reader server to
the second very quickly, it's possible that some news reading clients will
become confused.
If you run nntpsend from cron every minute, though, I doubt you'll have
problems, and I find that setup more reliable provided that the amount of
news that you take isn't that huge. It may not work for a full feed.
Oh, and make sure that nnrpposthost or whatever the actual name of the
config option is set on the second reader server to point to the first
reader server.
I'm running this configuration right now and it works great.
(This is all with INN.)
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylr8wp5jdd.fsf@windlord.stanford.edu>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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<slrn9id3e5.cha.float@panix1.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <ylr8wp5jdd.fsf@windlord.stanford.edu> Subject: Re: slave servers with INN Date: Wed, 13 Jun 2001 00:11:26 +0000 From: Russ Allbery <rra@stanford.edu> References: <slrn9id3e5.cha.float@panix1.panix.com> 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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 38 Distribution: inet NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 992391087 26897 171.64.13.23 (13 Jun 2001 00:11:27 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)