Thread View: news.software.nn
2 messages
2 total messages
Started by Hans Granqvist
Mon, 07 Dec 1992 12:10
local newsgroups
Author: Hans Granqvist
Date: Mon, 07 Dec 1992 12:10
Date: Mon, 07 Dec 1992 12:10
11 lines
933 bytes
933 bytes
Is there a way to hook up an nn NNTP installation to go both as usual (nntp collecting rec.*, sci.*, etc...) and local (my_company.*, etc..) with the latter not being distributed to the nntp host? Can it uberhaupt be done with nn? Using one nn executable? now hit them 'f's... -- % Hans Granqvist, Volvo, Gothenburg, Sweden. Just one guy's opinion. Hans: Command not found.
Re: local newsgroups
Author: Rik Harris
Date: Wed, 09 Dec 1992 02:34
Date: Wed, 09 Dec 1992 02:34
80 lines
4054 bytes
4054 bytes
hansg@risken.vd.volvo.se (Hans Granqvist) writes: >Is there a way to hook up an nn NNTP installation to go both as usual >(nntp collecting rec.*, sci.*, etc...) and local (my_company.*, etc..) >with the latter not being distributed to the nntp host? >Can it uberhaupt be done with nn? >Using one nn executable? Two groups at Monash University had the same problem. The solution was quite a bit of hacking with the news system, rather than nn. Basic outline: * the University has a news server, which serves news via both NNTP, and NFS. * the local site mounts the NFS news partition from the server, and uses NNTP to post * A full cnews system is installed on the local site's news machine * This is set up with a news spool with just the local groups. This spool is arranged with expiry, sys file, history, and active files just like a normal spool, but the sys file only accepts articles from local groups (we gateway some mailing lists to local groups via the sys file). * A secondary news spool is created which consists soley of symbolic links, with most of the hierarchy symlinked to /usenet (the NFS mount of the university news server), and the rest symlinked to the local (cnews controlled) spool (for the local newsgroups). * All newsreaders look at the secondary news spool, so all groups are present. * A couple of scripts are used to create fake active and active.times files from the local files (created by the local cnews), and the main files (retrieved via NFS from the university news server). These fake files are used by the newsreaders. * The main news machine for the local site runs an NNTP server from the secondary news spool, to serve all the clients. * posting is done through another fake inews script which decides whether the article is for a local Advantages: - If this hacking is done in the news system, rather than in nn, then all newsreaders can take advantage of it. Disadvantages: - It is important not to run nnexpire while the university news server is down, as nn will expire every article in every group (because none of them are available). So the cron script that runs nn's expire first does a ping to make sure the news host is there, and checks some files in the NFS directory to make sure the file system is mounted, and is readable. Also, some newsreaders will remove newsgroups from users' .newsrc files if it can't read the directories in the spool, so some front-ends may need to be written for these readers. - If there is a slow link between the local news machine, and the main news server, this method is quite slow. NNTP is much more efficient over slow links than NFS is. We found that when NN tried to update it's database, excessive load was placed on the network, so much so that the database is only updated with the remote groups once a day (overnight), but the local groups are updated more frequently. Now, it would be really nice if nn supported multiple databases - one via NFS, and one locally.... rik. -- Rik Harris - rik.harris@fcit.monash.edu.au +61 3 571-2895 (AH & ans.mach) +61 3 573-2679 (BH) (both soon changing) Faculty of Computing and Information Technology, Caulfield Campus, Monash University, Australia (soon moving to Clayton)
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