Article View: news.software.nntp
Article #46036Re: swapping a master news server
From: Russ Allbery
Date: Wed, 26 Apr 2000 00:00
Date: Wed, 26 Apr 2000 00:00
31 lines
2094 bytes
2094 bytes
Kean Meng, Lim <kmlim@cheerful.com> writes: > I am running a one master server which is feeding to 4 slave news > server. I am using INN1.7 for all the news server. The master is > receiving news from outside provider like AT&T, Sprint etc. > Now I would like to swap my master server with a news server which is > created from fresh (/var/news/spool, history file is empty) except for > active file taken from the old master > After the swapping, can I continue feeding my slave server smoothly with > consistent articles numbering and not lossing any articles in between > the swapping? I've never actually done this, so I can't give you a certain answer. But if you shut down the old server cleanly, copy the active file over to the new server after the old one is shut down, and copy the history file from your old server to the new server (stripping out the third field of all entries since the article isn't actually on disk) I think this should work. Slaving only cares about consistent assignment of article numbers within groups, and copying the active file should preserve that. You need to copy the history file over and use it as the basis for the history file for the new server or your server will accept articles that the old server had already accepted (resulting in your slaves seeing duplicates). -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylvh14r2g2.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:
<39072FF8.BA18AC15@cheerful.com>Show Full Headers
Complete Article Headers
Message-ID: <ylvh14r2g2.fsf@windlord.stanford.edu> Subject: Re: swapping a master news server Date: Wed, 26 Apr 2000 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <39072FF8.BA18AC15@cheerful.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!not-for-mail X-Deja-AN: 616074488 Content-Type: text/plain; charset=us-ascii Organization: The Eyrie Mime-Version: 1.0 User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne) Newsgroups: news.software.nntp