Article View: news.software.nntp
Article #83819Re: 2 readers, xrefslave, and HOWTO
From: Michael Grimm
Date: Thu, 13 Jan 2011 20:43
Date: Thu, 13 Jan 2011 20:43
54 lines
3862 bytes
3862 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote: > In article <igkt81$1q6p$3@de-l.enfer-du-nord.net> Michael Grimm <trashcan@odo.in-berlin.de> wrote: >> 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. > > Well, if either reader server fails, having clients silently be > directed to the other one will work fine; the part that doesn't work > is the feeder->slave reader feeds. However, the feeders will happily > queue up articles in this scenario, so you could (at least in > principle) automate some infrastructure where the slave reader server > performs frequent checks of the master's existence, and if necessary > promotes itself to independent functioning. > > The second half requires some doing, in that the slave reader server > would have to turn off xrefslave and nnrpdposthost plus a neccessary restart of innd. That promotion could be done, but needs to work bullet proof. > and then rearrange the feeds (in such a way to also get the queued > articles); perhaps the easiest way to arrange this for what should be > an unusual occurrence would be to have the former-slave use pullnews > or similar. Your 'similar' triggerd UUCP ;-) I could set of an UUCP feed from both feeders to the slave reader. Those rnews batches will be removed from the slave server's UUCP queue on a regular basis, unless the slave server triggers a down master. Ok, pullnews will work as well, but I love UUCP. > However, if the failure is dramatic enough to require promotion of the > slave server, it will require manual intervention to recover from (and > could be quite problematic for clients if the former-master recovers > on its own as then the two servers will have different sets of > articles and article numbers). Well, it seems to be a much more difficult task than anticipated if one wants to run a fail-over scenario with distinct reader servers. I might have to re-think my plan ... Anyway, I'd like to thank you for your post, now I do have more insight in the complexity of running server and reader farms. How do the big usenet providers cope with the issue of keeping those millions of article numbers in sync? Regards, Michael -- to let
Technical Details
Message-ID:
<igno4j$c40$1@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!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.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> <igkt81$1q6p$3@de-l.enfer-du-nord.net> <igmifr$m58$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <igno4j$c40$1@de-l.enfer-du-nord.net> Subject: Re: 2 readers, xrefslave, and HOWTO Date: Thu, 13 Jan 2011 20:43:00 +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> <igkt81$1q6p$3@de-l.enfer-du-nord.net> <igmifr$m58$1@puck.litech.org> 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.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.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 Organization: ATK - Alternative Tierklinik links der Einfalt Injection-Info: reader.enfer-du-nord.net; posting-host="U2FsdGVkX18JM5vs/ux3kwcWeWO1Qx3YUmgip83gJOo="; mail-complaints-to="abuse@enfer-du-nord.net" User-Agent: slrn/pre1.0.0-15/mm/ao (Darwin) Cancel-Lock: sha1:pp31fWQBiONlDOKW43OrJ8rgeEE= sha1:cpz8iCsZWAzu+sWafZVQOqwhnes= Mail-Copies-To: nobody Lines: 54 X-Original-Bytes: 3665