🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Mark Nordberg Thu, 05 Feb 1998 00:00
NFS shared active file
#25835
Author: Mark Nordberg
Date: Thu, 05 Feb 1998 00:00
42 lines
2086 bytes
Trying to figure out the best way to share an active file, if sharing it
on an NFS drive would even work.

			Feeder Machine


 Machine 1	Machine 2	Machine 3	Machine 4
  (1/4 of	(1/4 of		(1/4 of		(1/4 of
   newsgroups)	 newsgroups)	 newsgroups)	 newsgroups)
      \             |               |               |
        \ (RW)      | (RW)          | (RW)          |  (ReadWrite)
        ----------------------------------------------------------------
	(Large RAID5 Filer)	NFS Mounted Spool
				NFS Mounted active files (all 
				updating the same active file 
				but just different newsgroups in
				the file)
	-----------------------------------------------------------------
			\ (ReadOnly)			/ (RO)
			nnrpd spawn		      nnrpd spawn
			from inetd		      from inetd
			mounting the		      mounting the
			spool and active	      spool and active
			files			      files

		
Is this feasible?  I know the bottom part of the nnrpd mounting the NFS
drives is ok, but how about the top 4 machines sharing one active file
so that there is a single active file for them to read from.

			
--mpn	
-- 

Mark Nordberg                  |  *Nortel's Information  Network
 mpn@nortel.net (business)     |  *Unix System Administration
 mpn@mindspring.com (personal) |-------------------------------------------\
-------------------------------/So yes, the answer is "don't do that, then".\
                                                            -Linus Torvalds

Re: NFS shared active file
#25948
Author: Nick Christenson
Date: Sat, 07 Feb 1998 00:00
25 lines
1472 bytes
In article <886682050.659447@nntpcache1.nortel.net>,
Mark Nordberg <mpn@nortel.net> wrote:
>Trying to figure out the best way to share an active file, if sharing it
>on an NFS drive would even work.
>
>			Feeder Machine

[ ASCII art deleted ]

>		
>Is this feasible?  I know the bottom part of the nnrpd mounting the NFS
>drives is ok, but how about the top 4 machines sharing one active file
>so that there is a single active file for them to read from.

Why not have 4 different active and history files on 4 different machines 
which each handle 1/4 of the traffic and let the NNRP daemon figure out 
which one to consult when it needs to?  Wouldn't that be much easier?
The nnrpd binary just knows, "Ah, an alt group, I need to look in 
/usr/local/news1/active.  Ah, a rec group, I need to look in 
/usr/local/news4/active." and so on.  This way, only nnrpd needs to
be modified.


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