🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Tim Pennick Fri, 24 Nov 2000 00:00
Setting up a slave (INN 2.3.X)
#49155
Author: Tim Pennick
Date: Fri, 24 Nov 2000 00:00
14 lines
1454 bytes
Is it possible to set an existing newsserver to be a slave without blowing
away the existing articles in whatever form they are stored.  The machine in
question is my secondary/test server, and I'd like it to mirror the primary
one, so I can swap them over if there's a problem with the primary server.  The
server runs a mixture of tradspool and cnfs.  I suspect that once the server
is running as a slave to my primary server, there will be a problem if it
tries to store an article which has a number on the master, which is the same
as a pre-existing article on the slave.  Is there any way round this?

Regards,

Tim Pennick

Re: Setting up a slave (INN 2.3.X)
#49162
Author: Russ Allbery
Date: Fri, 24 Nov 2000 22:26
27 lines
1926 bytes
Tim Pennick <tpennick@extra.axion.bt.co.uk> writes:

> Is it possible to set an existing newsserver to be a slave without
> blowing away the existing articles in whatever form they are stored.

It's probably not a good idea.

> The machine in question is my secondary/test server, and I'd like it to
> mirror the primary one, so I can swap them over if there's a problem
> with the primary server.  The server runs a mixture of tradspool and
> cnfs.  I suspect that once the server is running as a slave to my
> primary server, there will be a problem if it tries to store an article
> which has a number on the master, which is the same as a pre-existing
> article on the slave.

Right.

> Is there any way round this?

Well, you could just ignore the problem; I believe those articles will be
rejected.  But I haven't tried this personally; it may cause a throttle
instead, which would be much harder to work around.  (Patches to cause
them to just be rejected would be welcome.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Setting up a slave (INN 2.3.X)
#49191
Author: bill davidsen
Date: Tue, 28 Nov 2000 00:00
31 lines
2544 bytes
In article <slrn91t2f1.4sa.tpennick@extra.axion.bt.co.uk>,
Tim Pennick <tpennick@axion.bt.co.uk> wrote:
| Is it possible to set an existing newsserver to be a slave without blowing
| away the existing articles in whatever form they are stored.  The machine in
| question is my secondary/test server, and I'd like it to mirror the primary
| one, so I can swap them over if there's a problem with the primary server.  The
| server runs a mixture of tradspool and cnfs.  I suspect that once the server
| is running as a slave to my primary server, there will be a problem if it
| tries to store an article which has a number on the master, which is the same
| as a pre-existing article on the slave.  Is there any way round this?

  I haven't tried this in a while, so take this as "it used to work this
way." If you send over a message-ID which is on the slave, it will be
rejected. If you send over a message with an existing number in a group,
or a number lower than the highest number, and use tradspool, the
article will be accepted, the overview will be out of order, and
performance will go the hell. If you are using a more modern overview
like buffers or databases, you are on your own.

  Is there some real reason you want to keep an article base with
numbers which don't match the master or what was on the slave? Stuff
like this will confuse hell out of some clients! Unless you have a huge
bunch of articles, you might be better to start clean and refeed
everything from the master (assuming your net uses switches and this
doesn't hurt the rest of the world).

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Make the rules? I don't make the rules. I don't even FOLLOW the rules!

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