🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Todd Romero Thu, 24 Apr 1997 00:00
Upgrade to 1.5.1/Overview issue
#17272
Author: Todd Romero
Date: Thu, 24 Apr 1997 00:00
13 lines
990 bytes
We are running 1.4 on our "reader" machine, which has overviews. In
1.5.1 the overviews are confined to their own directory in the spool.
What is the best way of doing the upgrade if there is a weeks worth of
existing news and overviews in all rhe individual directories? Wont
things get messy if there is a seperate overview directory AND existing
overviews in the existing spool directories?

suggestions are welcome =)

Todd

Re: Upgrade to 1.5.1/Overview issue
#17266
Author: Jerry Aguirre
Date: Thu, 24 Apr 1997 00:00
16 lines
1276 bytes
In article <5jn8hh$pgt@lyra.csx.cam.ac.uk>,
John Line
USENET news <news@news.cam.ac.uk> wrote:
>Alternatively (but fiddlier to do...) you could (while INN is not running 
>and updating the overview files) locate the existing files (e.g. using find) 
>and edit the output to create a shell script which will create the new, 
>parallel directory hierarchy and mv the overview files there, so INN could 

Using find would be slow.  Might as will just run expireover -a if your
going to do that.  Instead use the active file to generate a list of
pathnames for each group.  Use that to create the NOV directory
structure and to generate the "mv" commands.


Re: Upgrade to 1.5.1/Overview issue
#17281
Author: USENET news
Date: Thu, 24 Apr 1997 00:00
55 lines
3576 bytes
In article <335EF9BD.6988@monumental.com>,
Todd Romero  <todd@monumental.com> wrote:
>We are running 1.4 on our "reader" machine, which has overviews. In
>1.5.1 the overviews are confined to their own directory in the spool.
>What is the best way of doing the upgrade if there is a weeks worth of
>existing news and overviews in all rhe individual directories? Wont
>things get messy if there is a seperate overview directory AND existing
>overviews in the existing spool directories?

It's only a default; indeed I just noticed the 1.5.1 Install.ms.* documents
haven't caught up with the change and still claim the overview files go in 
the spool by default. So you could just change the definition of 
_PATH_OVERVIEWDIR to use the spool directories and instead of putting the 
overview files in a set of directories paralleling the spool, they'd just be 
put in the spool as at present.

Having separate overview directories is likely to be best, though, 
as it avoids lookups having to scan through an entire directory (maybe with 
thousands of files) to locate the directory entry for a group's overview 
file every time it is needed. Putting the overview directories on a separate
disk (not just partition) could also reduce competing disk activity. [The 
history database and log files are other "hot spots", where updates 
are liable to happen simultaneously, as articles arrive, so that 
separating them from the spool and each other to reduce competition may be
beneficial.]

If you just install the new INN (and ensure the top-level overview directory
gets created in its new location with appropriate ownership), the old 
overview files will simply be ignored, and new ones created. Those will not 
include information from older articles, so you'd need to run
"expireover -a" to scan the spool and re-create the overview files. 

Until that had completed, things should work normally but slower - as nnrpd
would have to open article files and read headers in order to respond to
xhdr and xover commands. The old overview files should just be located and
deleted.

Alternatively (but fiddlier to do...) you could (while INN is not running 
and updating the overview files) locate the existing files (e.g. using find) 
and edit the output to create a shell script which will create the new, 
parallel directory hierarchy and mv the overview files there, so INN could 
just carry on as before. [Though if you had to back off to the old version 
due to problems, *that* would then find itself running without overview data
and have to retrieve the information the slow way...]

If you do move the overview data and have any local maintenance scripts 
which look at those directories, don't forgot to update those as well!

                                John Line
--
Cambridge University Computing Service - USENET news manager. Usually John Line
newsmaster@ucs.cam.ac.uk    (alias {newsmaster,news,usenet}@news.cam.ac.uk)

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