Thread View: news.software.nntp
7 messages
7 total messages
Started by Scotty
Fri, 08 Apr 2005 13:38
convert a timehist spool to tradspool
Author: Scotty
Date: Fri, 08 Apr 2005 13:38
Date: Fri, 08 Apr 2005 13:38
26 lines
1897 bytes
1897 bytes
Hi, We have stopped accepting external newsfeeds, and now only use INN to handle a couple of hundred or so local newsgroups. We are moving from a very old HP K200 to a Sun V880 as part of a hardware consolidation process, and as part of the process need to move the news server and spool. I've been away from INN administration (1.4 !!!) for a couple of years and have now returned to this task - we're running INN 2.4.1 on Solaris 8 now, so things have definitely changed. Setting up INN 2.4.1 on the new machine took all of 20 minutes. Given our low volume, it makes little sense to run a non tradspool format spool - besides, I hate "black boxes". So ... what is the easiest way to 1) Dump the spool from the HP, and 2) Convert it to tradspool format 3) re-create the active file and resync it with history. Are there conversion scripts for this purpose? It's been a while, so bear with me :) Thanks Scotty
Re: convert a timehist spool to tradspool
Author: Erik Hensema
Date: Fri, 08 Apr 2005 14:44
Date: Fri, 08 Apr 2005 14:44
46 lines
3020 bytes
3020 bytes
Scotty (showie@uoguelph.ca) wrote: > We have stopped accepting external newsfeeds, and now only use INN to > handle a couple of hundred or so local newsgroups. > > We are moving from a very old HP K200 to a Sun V880 as part of a > hardware consolidation process, and as part of the process need to > move the news server and spool. Hopefully the old server is still up and running? > I've been away from INN administration (1.4 !!!) for a couple of years > and have now returned to this task - we're running INN 2.4.1 on > Solaris 8 now, so things have definitely changed. Setting up INN 2.4.1 > on the new machine took all of 20 minutes. > > Given our low volume, it makes little sense to run a non tradspool > format spool - besides, I hate "black boxes". > > So ... what is the easiest way to 1) Dump the spool from the HP, and > 2) Convert it to tradspool format 3) re-create the active file and > resync it with history. Are there conversion scripts for this purpose? > > It's been a while, so bear with me :) It's been a while since I've used INN 1.x, so this may not work: Setup the new server such that it will accept a feed from the old server. Also make sure the new server will accept very old articles by setting 'artcutoff' in inn.conf to a very large value. Then on the old server make a file containing all the message IDs of all articles (on inn 2.x this would be spool tokens) by filtering your history file (something like cut -f 3 history > allmsgs). Then simply feed all articles to your new server: innxmit new.server.name allmsgs Your new server will automatically reject any articles to groups you don't have anymore. -- Erik Hensema (erik@hensema.net) ICQ# 8280101 Registered Linux user #38371 -- http://counter.li.org
Re: convert a timehist spool to tradspool
Author: John Schmidt
Date: Fri, 08 Apr 2005 15:34
Date: Fri, 08 Apr 2005 15:34
9 lines
1390 bytes
1390 bytes
Erik Hensema wrote: > Also make sure the new server will accept very old > articles by setting 'artcutoff' in inn.conf to a very large > value. Does setting 'artcutoff' to 0 still disable date checking entirely? JS
Re: convert a timehist spool to tradspool
Author: Maurice Janssen
Date: Fri, 08 Apr 2005 15:48
Date: Fri, 08 Apr 2005 15:48
13 lines
1479 bytes
1479 bytes
John Schmidt wrote: >Erik Hensema wrote: > >> Also make sure the new server will accept very old >> articles by setting 'artcutoff' in inn.conf to a very large >> value. > >Does setting 'artcutoff' to 0 still disable date checking entirely? http://www.eyrie.org/~eagle/faqs/inn.html#S6.4 -- Maurice
Re: convert a timehist spool to tradspool
Author: Szymon Sokół
Date: Fri, 08 Apr 2005 18:02
Date: Fri, 08 Apr 2005 18:02
14 lines
2143 bytes
2143 bytes
Erik Hensema <usenet@smac.hensema.net> wrote: > Your new server will automatically reject any articles to groups > you don't have anymore. ...and because of that, before doing all you said, one must ensure that the active file is up-to-date. Either copy it from the old machine, resetting the low and high article numbers, or start with a fresh active, then create all the necessary groups with "ctlinnd newgroup". -- Szymon Sokół (SS316-RIPE) -- Network Manager B Computer Center, AGH - University of Science and Technology, Cracow, Poland O http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F Free speech includes the right not to listen, if not interested -- Heinlein H
Re: convert a timehist spool to tradspool
Author: Scotty
Date: Fri, 08 Apr 2005 19:04
Date: Fri, 08 Apr 2005 19:04
36 lines
2408 bytes
2408 bytes
Erik Hensema <usenet@smac.hensema.net> wrote in message news:<slrnd5d65n.7jk.usenet@bender.home.hensema.net>... > Scotty (showie@uoguelph.ca) wrote: > > We have stopped accepting external newsfeeds, and now only use INN to > > handle a couple of hundred or so local newsgroups. > > > > We are moving from a very old HP K200 to a Sun V880 as part of a > > hardware consolidation process, and as part of the process need to > > move the news server and spool. > > Hopefully the old server is still up and running? Yup it's still chugging away - and a clarification here - the HP server is running INN 2.4.0, the target system (Solaris) is running INN 2.4.1 > > Setup the new server such that it will accept a feed from the old > server. Also make sure the new server will accept very old > articles by setting 'artcutoff' in inn.conf to a very large > value. > > Then on the old server make a file containing all the message > IDs of all articles (on inn 2.x this would be spool tokens) by > filtering your history file (something like cut -f 3 history > > allmsgs). > > Then simply feed all articles to your new server: > > innxmit new.server.name allmsgs > > Your new server will automatically reject any articles to groups > you don't have anymore. Thanks Erik - will give it a try Scotty
Re: convert a timehist spool to tradspool
Author: Remco Blaakmeer
Date: Sat, 09 Apr 2005 09:01
Date: Sat, 09 Apr 2005 09:01
25 lines
1870 bytes
1870 bytes
Erik Hensema <usenet@smac.hensema.net> wrote in news:slrnd5d65n.7jk.usenet@bender.home.hensema.net: > Setup the new server such that it will accept a feed from the old > server. Also make sure the new server will accept very old > articles by setting 'artcutoff' in inn.conf to a very large > value. > > Then on the old server make a file containing all the message > IDs of all articles (on inn 2.x this would be spool tokens) by > filtering your history file (something like cut -f 3 history > > allmsgs). > > Then simply feed all articles to your new server: > > innxmit new.server.name allmsgs > > Your new server will automatically reject any articles to groups > you don't have anymore. To make things easier for the users, you could also set xrefslave in inn.conf (on the new server) to true before you do that, and set it back to false afterwards. That way, the articles will keep their article numbers. Remco
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