Article View: news.software.nntp
Article #37418Re: Changing news server
From: Russ Allbery
Date: Wed, 12 May 1999 00:00
Date: Wed, 12 May 1999 00:00
43 lines
2634 bytes
2634 bytes
Tuuli Tuominen <tuuli.tuominen@helsinki.fi> writes: > Russ Allbery <rra@stanford.edu> wrote: >> Yes. You need to run your new server in Xref slaving mode for as long >> as the longest expire time of all the newsgroups you carry, and then >> you should be able to drop that new server in place without disruption >> to clients. > Can this be done in any other way? I mean, is it possible to copy the > article spool and the needed files (history, active and such) into the > new server and then just change servers? The problem is that you want the article numbers to be the same on both servers. Otherwise, clients will get very confused when you do the switchover and people will probably have to either catch up on or re-read all of the groups they're subscribed to. In order to preserve article numbers, the server itself has to have the same idea of article numbers as the old server. With tradspool, I don't know of any way of doing this short of some really complicated mass article renaming and then rebuilding all of the overview files. It may be easier with the storage API if you can munge all of the uniover stuff, but I haven't looked at it in any detail. > We're in the process of upgrading too but I'm not sure the old server > can take the extra load of sending all the articles it receives to the > new server. A single outgoing feed usually isn't much load. And you can probably safely not bother with the binary newsgroups and just purge them when you switch to the new server, if you have an expire time of a day or two like most everyone. That saves a lot on the load of sending the feed. > And we keep some of our local groups for months, so I would like to have > the old articles in those groups available in the new server too. Assuming you're using tradspool, copy those article trees over to the new server first and then run makehistory and expireover -a. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylogjqmybj.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!not-for-mailReferences:
<7h96et$d2g$1@mercur.foa.se> <ylhfpji785.fsf@windlord.stanford.edu> <slrn7jigdd.5kk.tuuli.tuominen@yendor.it.helsinki.fi>Show Full Headers
Complete Article Headers
Message-ID: <ylogjqmybj.fsf@windlord.stanford.edu> Subject: Re: Changing news server Date: Wed, 12 May 1999 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <7h96et$d2g$1@mercur.foa.se> <ylhfpji785.fsf@windlord.stanford.edu> <slrn7jigdd.5kk.tuuli.tuominen@yendor.it.helsinki.fi> 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: 476941875 Organization: The Eyrie Newsgroups: news.software.nntp