🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82953

Re: Posting to an xrefslave server

#82953
From: Russ Allbery
Date: Tue, 06 Apr 2010 03:56
60 lines
3730 bytes
"John F. Morse" <john@example.invalid> writes:
> Russ Allbery wrote:
>> "John F. Morse" <john@example.invalid> writes:

>>> How can this be overcome in a situation where multiple reader servers
>>> are used, and they use xrefslave=true to eliminate the readers from
>>> getting different results from load balancing.

>> You need one designated posting server, which should generally also be
>> the server from which you accept incoming feeds from the rest of the
>> world, and that server should not have xrefslave set.  nnrpdposthost
>> should then be set on all the reader servers to point to that server.

> I'd rather not mess with the incoming transit server.

> Besides, the articles on the new 2.5.2 reader server were slaved with
> the 2.4.5 reader server which users are currently accessing. I'd need to
> continue to slave to it to keep article numbers in sync.

> So, with that in mind, I'd need to set nnrpdposthost on the new 2.5.2
> server to point to the 2.4.5 reader server.

That sound be fine.  I thought you were talking about multiple reader
servers in a load-balancing situation, but it sounds like you're talking
about a more traditional upgrade situation.

>>> If I set nnrpdposthost as mentioned above, will articles go to the older
>>> INN 2.5.1 nnrpd, be posted and assigned an Xref there, then be streamed
>>> over to the INN 2.5.2 server?

>> Yes, except that they'll be sent via IHAVE to the innd on that server
>> so nnrpd isn't involved.

> OK. That precludes the possibility of any testing of the new 2.5.2 server
> nnrpd using SSL/TLS, Cleanfeed, etc.

Why would it preclude that?

> Maybe the workaround would be to stop the 2.4.5 feed to the 2.5.2
> server, then set xrefslave back to false on the new 2.5.2 server, then
> do some test posting to the local.test group on the new 2,5,2 server,
> which is not in the active on the other servers.

> Does that sound like a fair/good/great idea? ;-)

I think you should just use xrefslave and nnrpdposthost and test all the
things you want to test on the new server.

> Do you think xrefslave=true on the new 2.5.2 server is actually still
> necessary now that the old 2.4.5 reader server has sent all of it's
> articles? Wouldn't new articles posted to the 2.4.5 reader server (from
> readers and from incoming transit servers), now stay in sync?

No.  Feeds are not guaranteed to send articles in order.

-- 
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: <87bpdxp730.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.alt.net!news.kjsl.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail
References: <hpduvs$q8o$1@optima5.xanadu-bbs.net> <87fx398l5n.fsf@windlord.stanford.edu> <hpeam4$tji$1@optima5.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <87bpdxp730.fsf@windlord.stanford.edu>
Subject: Re: Posting to an xrefslave server
Date: Mon, 05 Apr 2010 20:56:19 -0700
From: Russ Allbery <rra@stanford.edu>
References: <hpduvs$q8o$1@optima5.xanadu-bbs.net> <87fx398l5n.fsf@windlord.stanford.edu> <hpeam4$tji$1@optima5.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.alt.net!news.kjsl.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 60
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: usenet-its.stanford.edu 1270526179 9910 171.67.225.134 (6 Apr 2010
X-Complaints-To: news@usenet-its.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:4y4a0WLtf5lTyRySoU5QHXXZIzE=