Article View: news.software.nntp
Article #83817Re: 2 readers, xrefslave, and HOWTO
From: Michael Grimm
Date: Wed, 12 Jan 2011 18:51
Date: Wed, 12 Jan 2011 18:51
53 lines
3750 bytes
3750 bytes
Ralf Dรถblitz <doeblitz@doeblitz.net> wrote: > Michael Grimm <trashcan@odo.in-berlin.de> wrote: >> I'd like to run two reader servers on separate hardware, and I'd like >> to access both reader servers in a round-robin scenario. > > xrefslave should ensure consistence in that scenario. > >> Both reader servers are fed by independent feeders. > > Why? Either you feed both feeders as xrefslaves from a master feeder > or one must be an xrefslave of the other. Otherwise you will not be > able to keep article numbering consistent. I was thinking about syncing article numbers between both readers only, because my feeders are run by a minimal active file aka control.ALL and junk only. Thus, syncing feeder(s) and reader(s) won't work anyway, if I'm not mistaken ... >> I do know the xrefslave and nnrpdposthost parameters in inn.conf, but >> I'm unaware of what might happen if the master server, not the slave, >> will fail and the slave reader will be fed from from another feeder? >> What will happen, if the master will become available later? > > The master will try to feed, the slave will refuse those articles, > nothning bad happens - as long as you ensure that both masters use > identical article numbering. ... therefore my post had been misleading, sorry. But your reply ... >> What are your recommendations? > > Use just one feeder. You will need exactly one instance that defines > article numbering, so there will always be a SPOF. ... did help me in understanding that there always will be a SPOF in a round-robin scenario as outlined above. My current plan is using both feeders to feed one master reader which in turn exclusively feeds the slave reader server. That should keep my article numbers in sync. But that master reader server will screw my round-robin scenario as long there's no automatic role switching (master <--> slave) in place. At least I don't know of one. Thus, all ideas, suggestions are highly welcome. It's a pity that my newsreader needs articles for running under optimal conditions, although there's a config option for broken xref headers (broken_xref), but I haven't had the chance to test that, yet. Thanks and regards, Michael -- to let
Technical Details
Message-ID:
<igkt81$1q6p$3@de-l.enfer-du-nord.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!reader.enfer-du-nord.net!.POSTED!not-for-mailReferences:
<igd926$61j$1@de-l.enfer-du-nord.net> <igepil$ims$1@selene.doeblitz.net>Show Full Headers
Complete Article Headers
Message-ID: <igkt81$1q6p$3@de-l.enfer-du-nord.net> Subject: Re: 2 readers, xrefslave, and HOWTO Date: Wed, 12 Jan 2011 18:51:46 +0000 From: Michael Grimm <trashcan@odo.in-berlin.de> References: <igd926$61j$1@de-l.enfer-du-nord.net> <igepil$ims$1@selene.doeblitz.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!reader.enfer-du-nord.net!.POSTED!not-for-mail Newsgroups: news.software.nntp Supersedes: <igkt4v$1q6p$2@de-l.enfer-du-nord.net> Organization: ATK - Alternative Tierklinik links der Einfalt Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Injection-Info: reader.enfer-du-nord.net; posting-host="U2FsdGVkX1+ahjy4uE+JChaukEqkIizsP+I4EqVlMIQ="; mail-complaints-to="abuse@enfer-du-nord.net" User-Agent: slrn/pre1.0.0-15/mm/ao (Darwin) Cancel-Key: sha1:ecvU0oRjyzjKsdBEybHE4Zk3Frs= sha1:SE60BNuGbj1iY1xNsb1jaLxozh0= Cancel-Lock: sha1:it1LX+P6wRllzeIOyfhUa5VySvA= sha1:lwfiAX2I/9ipHydBWB/pNKZsB/0= X-Superseded-Date: Wed, 12 Jan 2011 18:50:07 +0000 (UTC) Lines: 53