Article View: news.software.nntp
Article #31517Re: How to synchronize two news servers
From: Greg Andrews
Date: Sat, 19 Sep 1998 00:00
Date: Sat, 19 Sep 1998 00:00
59 lines
2938 bytes
2938 bytes
Claire Harrison <claire@videotron.ab.ca> writes:
>Greetings,
>
>We are currently running Netscape's News server 3.5 under Dec Unix 4.0d
>and are looking at migrating to innd 2.1
>
>I have got the innd 2.1 server running on a separate Dec Unix 4.0d box
>and it seems to be doing quite well.
>
>But, how can I *seamlessly* migrate my customers from one server to
>another.
>
I don't know if the Netscape server supports the INN master/slave
relationship between servers. The master determines the article
numbering, and gives an "xreplic" feed to the slave. The "xreplic"
feed (named after the NNTP command it uses) feeds the article number
to the slave in addition to the article itself. The article numbers
are kept the same.
If you don't have that, the next best say is to increase the high
article numbers for all groups in the new server's active file.
As long as the new server's article numbers remain higher than
the old server's numbers, your users can switch to the new server
without losing any articles. They can't switch back, though.
When you make users switch back to the original server (after INN
replaces Netscape), you can use either the master/slave method or
boost the article numbers on the original server again.
The main pitfall is choosing the right amount to boost the article
numbers. You have to decide how long it will take for all of your
users to switch from the original server to the new server. One
day? A week? A month? You have to boost the article numbers on
the new server high enough that the original server will not catch
up during that transition period.
With some groups you can get away with boosting the article numbers
by only a couple thousand. With other groups, you'll need to boost
them by ten thousand or more, particularly if your transition period
is longer than two or three days.
The field to adjust is the "himark" field on each line of your
active file. For example:
comp.dcom.modems 0000223049 0000191484 y
^^^^^^^^^^
|
+-- This number is the "himark" field
It's not too hard to write an awk or perl script to boost the
number in that field by a certain amount. Just remember to
preserve the leading zeroes in the number. News depends on
having them there.
-Greg
Technical Details
Message-ID:
<6u0gjn$9cf$1@shell1.ncal.verio.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-mailReferences:
<3602C276.7B16CFDB@videotron.ab.ca>Show Full Headers
Complete Article Headers
Message-ID: <6u0gjn$9cf$1@shell1.ncal.verio.com> Subject: Re: How to synchronize two news servers Date: Sat, 19 Sep 1998 00:00:00 +0000 From: gerg@shell1.ncal.verio.com (Greg Andrews) References: <3602C276.7B16CFDB@videotron.ab.ca> 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: 392739734 Organization: The Nerd From B.O.F.H. Newsgroups: news.software.nntp