Thread View: news.software.nntp
4 messages
4 total messages
Started by �賲��
Wed, 10 Jan 2001 02:48
What's the bes News Synchroniztion Way?
Author: �賲��
Date: Wed, 10 Jan 2001 02:48
Date: Wed, 10 Jan 2001 02:48
9 lines
1364 bytes
1364 bytes
Can anyone help me? I'm managing a news server and just want to share load by adding an additional server. But In the CNFS method, it was impossible to synchronize old articles from the existing news server to a new server perfectly. I've tried a few ways but a perfect synchronization was impossible. Can anyone have some good solution?
Re: What's the bes News Synchroniztion Way?
Author: Russ Allbery
Date: Wed, 10 Jan 2001 02:58
Date: Wed, 10 Jan 2001 02:58
20 lines
1778 bytes
1778 bytes
�賲�� <kns9374@soback.kornet.net> writes: > Can anyone help me? > I'm managing a news server and just want to share load by adding an > additional server. But In the CNFS method, it was impossible to > synchronize old articles from the existing news server to a new server > perfectly. I've tried a few ways but a perfect synchronization was > impossible. Can anyone have some good solution? Set up a second server with xrefslave set to true and nnrpdpostinghost pointing back to the main server. Feed that second server from your main server (and only from your main server). Wait for X days, where X days is the longest expiration or buffer rollover time for your server. The second server will then be identical from the client perspective to the first server. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: What's the bes News Synchroniztion Way?
Author: bill davidsen
Date: Thu, 11 Jan 2001 15:58
Date: Thu, 11 Jan 2001 15:58
31 lines
2424 bytes
2424 bytes
In article <93gijj$1ov$1@news1.kornet.net>,
�賲�� <kns9374@soback.kornet.net> wrote:
| I'm managing a news server and just want to share load by adding an
| additional server. But In the CNFS method, it was impossible to synchronize
| old articles from the existing news server to a new server perfectly.
| I've tried a few ways but a perfect synchronization was impossible. Can
| anyone have some good solution?
Start with an empty "copy" server. Set it as xrefslave, start innd
with a very long accept time for old articles. Start a feed from the old
machine.
Now on the old machine, build a list of all the old articles:
grep '@' $NEWS/db/history | cut -f3 > $NEWS/spool/outgoing/backfeed
And send it to the new server:
innxmit -a -v new.server backfeed
Unless you have a very large article base it will catch up quickly.
Someday I'm going to write a paper on doing this, with all the tricks
to have long expiration in some groups, feed multiple streams, etc. Not
today.
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
Linux is a feedback loop. People use it because it has support for all
the neat hardware and applications they want, and implement all the
neat hardware and applications because they want to use Linux.
Re: What's the bes News Synchroniztion Way?
Author: Brad Knowles
Date: Mon, 15 Jan 2001 15:51
Date: Mon, 15 Jan 2001 15:51
23 lines
1864 bytes
1864 bytes
In article <93kl6b$5tik$1@newssvr05-en0.news.prodigy.com>,
davidsen@tmr.com (bill davidsen) wrote:
> Now on the old machine, build a list of all the old articles:
> grep '@' $NEWS/db/history | cut -f3 > $NEWS/spool/outgoing/backfeed
Make that:
grep '\@' db/history | cut -f3 | grep -v '^$' >
$NEWS/spool/outgoing/backfeed
> Unless you have a very large article base it will catch up quickly.
I'll let you know how long it takes on our current news spool
server, and how many articles were offered.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads