🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by dan_solo42 Mon, 08 Jan 2001 23:46
2 Internal Servers & old articles
#49726
Author: dan_solo42
Date: Mon, 08 Jan 2001 23:46
63 lines
2686 bytes
I am new to inn and have read all the FAQs but I'm still stumped on this
newbie problem.  The question below concerns two internal (no outside
feed) servers which I want to keep in sync with each other.  My problem
is that I cannot get the old articles to go to the new server, only
newly posted articles get distributed.  These servers are in two
geographical regions and I want to make sure that they always are kept
in sync.

I have two internal news servers, alpha & beta.  alpha & beta are both
running inn 2.3.0 on linux.  Server alpha has been running for 2 months
and has 861 articles on it that I also want on the new server 'beta'.

These servers hold internal development newsgroups on which the articles
will never expire.

After reading the INSTALL file, I added entries in newsfeeds like:

On the alpha server:

 ME:!*::
 beta.mycomp.com:internal.*:Tf,Wnm:

On the beta server:

 ME:!*::
 alpha.mycomp.com:internal.*:Tf,Wnm:

I also put both alpha and beta in the incoming.conf files and created a
cronjob that does:

  nntpsend > /dev/null 2>&1

every 15 minutes or so on each server.

Great!  Everthing works fine.  If I post to server 'alpha', the posts
show up on both servers and vice versa.  No problems, even the path:
header looks the way I think it should.

My problem is that I want to have the old articles, all 861 of them to
get transferred to the new server 'beta'.

Is there any way to make nntpsend force a complete transfer of all the
newsgroups on server 'alpha' to server 'beta'?  Do I have to write a
script to do this?

If there is a better way to configuring in-sync internal only servers, I
am interested in hearing about it.

Thanks for your time,

Dan









Sent via Deja.com
http://www.deja.com/
Re: 2 Internal Servers & old articles
#49737
Author: Russ Allbery
Date: Tue, 09 Jan 2001 01:23
33 lines
2397 bytes
dan solo42 <dan_solo42@my-deja.com> writes:

> I am new to inn and have read all the FAQs but I'm still stumped on this
> newbie problem.  The question below concerns two internal (no outside
> feed) servers which I want to keep in sync with each other.  My problem
> is that I cannot get the old articles to go to the new server, only
> newly posted articles get distributed.  These servers are in two
> geographical regions and I want to make sure that they always are kept
> in sync.

> I have two internal news servers, alpha & beta.  alpha & beta are both
> running inn 2.3.0 on linux.  Server alpha has been running for 2 months
> and has 861 articles on it that I also want on the new server 'beta'.

INN doesn't ever feed old articles; you have to do it explicitly.  If
you're using traditional spool, something like:

    find /usr/local/news/spool/articles/hierarchy -type f -print > /tmp/l
    innxmit beta /tmp/l

will work; make sure that you set artcutoff in inn.conf on beta to 0 or to
something large enough that it won't reject the articles as too old and
restart innd first before doing this.

Note that beta will assign its own article numbers by default and they
won't be the same as on alpha; if you don't want that, decide that one of
the servers is the master and the other is the slave and set xrefslave on
the slave in inn.conf, as well as nnrpdpostinghost to point to the other
server.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: 2 Internal Servers & old articles
#49739
Author: Terrance Richard Boyes
Date: Tue, 09 Jan 2001 01:35
21 lines
2180 bytes
dan_solo42@my-deja.com wrote:

> I have two internal news servers, alpha & beta.  alpha & beta are both
> running inn 2.3.0 on linux.  Server alpha has been running for 2 months
> and has 861 articles on it that I also want on the new server 'beta'.

> These servers hold internal development newsgroups on which the articles
> will never expire.

First setup your beta inn config so it doesn't reject old articles, 
then on beta

nntpget -t "001001 000000" -o -v alpha -n *

That should transfer all the old articles.

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
An Umber hulk can be a confusing sight.

Re: 2 Internal Servers & old articles
#49751
Author: bill davidsen
Date: Tue, 09 Jan 2001 19:08
32 lines
2479 bytes
In article <ylzoh1r01n.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| dan solo42 <dan_solo42@my-deja.com> writes:

| > I have two internal news servers, alpha & beta.  alpha & beta are both
| > running inn 2.3.0 on linux.  Server alpha has been running for 2 months
| > and has 861 articles on it that I also want on the new server 'beta'.
| 
| INN doesn't ever feed old articles; you have to do it explicitly.  If
| you're using traditional spool, something like:
| 
|     find /usr/local/news/spool/articles/hierarchy -type f -print > /tmp/l
|     innxmit beta /tmp/l
| 
| will work; make sure that you set artcutoff in inn.conf on beta to 0 or to
| something large enough that it won't reject the articles as too old and
| restart innd first before doing this.

  The general solution regardless of storage type is to pull the
overview into a file, isolate the message-IDs, feed them to "grephistory
-s" on stdin, and save the stdout to a file. Then feed the file to
innxmit. This always generates the "correct" thing as input to innxmit,
be it a filename, cookie, etc.

  You can get the overview by a telnet to the NNTP port inside a script,
the getover command, etc.

--
	Bill Davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me
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