Thread View: news.software.nntp
17 messages
17 total messages
Started by Keith Hermansader
Sat, 10 Jan 1998 00:00
NFS mounting & nnrpd
Author: Keith Hermansader
Date: Sat, 10 Jan 1998 00:00
Date: Sat, 10 Jan 1998 00:00
33 lines
1938 bytes
1938 bytes
What is the best way to go about setting up several newsreader servers sharing the same news spool using nfs? I came up with a way, not sure if this is the best way to go about it. On the remote I'm running nnrpd from inetd and I have the /news/spool mounted via nfs and telling nnrpd to post to the master server. I also have a directory on the remote called /news/config/nfs, which is /news/config from the master mounted via nfs, then in the remote /news/config I have symbolic links for the active,newsgroups,moderators and nnrp.access pointing to the files on /news/config/nfs . I'm doing it this way because I'm lazy plus I will have several machines somfigured the same way, make one change to the master and all the remotes are updated. I'm mounting /news/logs from the master, because I want all of the logging to go to one place... will this pose a problem? Am I missing anything else? Doing it entirely wrong? Will it be a problem not sharing the history to the remote readers? So far the setup I have does work, I connect a client to the remote server, I get all the same articles found on the master, and when I post an article it goes right to the master. I'm curious how others' are doing this, I'm really curious as to how well a solution like this will scale. keith
Re: NFS mounting & nnrpd
Author: Bill Stewart-Cole
Date: Sun, 11 Jan 1998 00:00
Date: Sun, 11 Jan 1998 00:00
37 lines
2023 bytes
2023 bytes
In article <69bv50$67d$2@cubacola.tninet.se>, prl@algonet.se (Ragnar Lonn - Spam me and you die) wrote: > Yeah, we do the same thing but we let the 'writer host' (the host that > stores all articles and keeps history, etc, the only machine running innd) > NFS-export its whole $NEWSLIB directory containing both config files > and history. The reader servers mount this directory read-only. The articles > are on a Netapp NFS server that is mounted r/w by the writer host and > read-only by the reader servers. It works pretty well and requires little > maintenance. I'm a bit surprised. Don't you have problems with innd choking on writing articles and doing expires? I would think that this would bottleneck very badly. How many articles do you accept daily? > >: I'm curious how others' are doing this, I'm really curious as to how > >: well a solution like this will scale. > > > >Works okay, but not the greatest unless you have a rocking NFS server. > > > > Probably not. I wouldn't have tried it if I hadn't had the Netapp. I MUST find an excuse to get one of those to play with. If you can push a full feed into one while supporting many reader machines worth of users, it must be pretty hot. -- Bill Stewart-Cole bill@scconsult.com I'm not spam-blocked because I like playing the hardass net-fascist.
Re: NFS mounting & nnrpd
Author: Keith Hermansader
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
41 lines
1961 bytes
1961 bytes
Mike Horwath wrote: > > : I'm mounting /news/logs from the master, because I want all of the > : logging to go to one place... will this pose a problem? > > Yes, this is a problem. > > Let syslog do the work for you, read the manpage and use @hostname. > I suppose I could do that, I was thinking of just keeping the logs locally and processing them seperately but I think I'll give this a try. > > Works okay, but not the greatest unless you have a rocking NFS server. Would this constitute a rocking NFS server? (actually it will be NFS and a reader) Sun Ultra Enterprise 450 1 - 300MHz CPU (might add another cpu) 2 Gigabytes RAM 24GB Ultra/Wide SCSI Drives Internal Two PTI Ultra/Wide PCI SCSI controllers MTI 9300 Gladiator RAID Box w/ 18 9GB Ultra/Wide SCSI Drives The NFS network right now is only 100mbut Fast Ethernet, this will soon change to 155mbit ATM. Right now I have an Ultra/2 running as a reader mounting the config, history and spool via NFS and spawning nnrpd from inetd. I'm using this setup right now. The only snafu so far is that for some reason nnrpd takes way too long to answer a connection (30 - 60 seconds) which is unacceptable. After the initial connect everything moves along nice and fast tho. Keith
Re: NFS mounting & nnrpd
Author: Stephan Forseilles
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
29 lines
2074 bytes
2074 bytes
Joe Greco wrote: > > In news.software.nntp article <34B9E479.F57AE623@skynet.be>, Stephan Forseilles <steph@skynet.be> wrote: > :I allready came across this problem. I though sharing the history would > :solve it but... the NFS server is a 64-bits OSF with DU4.0B and the > :clients are 32-bits Linux... The Linux nnrpd doesn't seem to find the > :history (even the uncompressed one) from the DU is OK. Any idea? > > The history index is a binary file, and I believe it's stored in host > byte order. Running this between architectures is perilous at best. > > Advice: use DU for the readers, or Linux for the feeder. > DU for the readers is expensive (I'll have to buy Alpha's), Linux for the feeder is ... I just can't imagine those 18 disks driven by md. :) Isn't there a way to tell nnrpd to forward request by-ID (there shouldn't be alot of them) to the main server, as -s does for posting? -- --------- This is my own personal opinion ------------ * Stephan Forseilles - UNIX System Engineer * * admin@skynet.be - Belgacom Skynet SA/NV * * Digital Unix/Linux/Solaris - FFESSM Level I * Frisbeetarianism, n.: The belief that when you die, your soul goes up the on roof and gets stuck.
Re: NFS mounting & nnrpd
Author: Ragnar Lonn - Spam me and you di...
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
53 lines
2929 bytes
2929 bytes
In article <bill-1101982259010001@sc1.scconsult.com>, bill@scconsult.com (Bill Stewart-Cole) wrote: >In article <69bv50$67d$2@cubacola.tninet.se>, prl@algonet.se (Ragnar Lonn >- Spam me and you die) wrote: >> Yeah, we do the same thing but we let the 'writer host' (the host that >> stores all articles and keeps history, etc, the only machine running innd) >> NFS-export its whole $NEWSLIB directory containing both config files >> and history. The reader servers mount this directory read-only. The articles >> are on a Netapp NFS server that is mounted r/w by the writer host and >> read-only by the reader servers. It works pretty well and requires little >> maintenance. > >I'm a bit surprised. > >Don't you have problems with innd choking on writing articles and doing >expires? I would think that this would bottleneck very badly. How many >articles do you accept daily? > No, the Netapp is fast. In a low-load environment with a good network, it can be faster than local disks. Ours is a switched 100bt-LAN so the network is not a problem (and the Netapp does full duplex even if the Suns don't). We accept 500-700k articles daily I think. The feed machines have spamfilters so some articles are thrown away. >> >Works okay, but not the greatest unless you have a rocking NFS server. >> > >> >> Probably not. I wouldn't have tried it if I hadn't had the Netapp. > >I MUST find an excuse to get one of those to play with. If you can push a >full feed into one while supporting many reader machines worth of users, >it must be pretty hot. > Our F540 handles a full feed plus a couple of hundred readers (2-500) and it is using 10-30% CPU currently. I'm going to get some more memory for it because as it is, it gets almost no cache hits whatsoever and that means it has to work more, of course. But there's still lot of untapped power there. I suspect we will be able to get by on that F540 for our newsreader system for a couple of years to come. When we upgrade, it'll be buying more disks for the F540, or adding more reader servers. The Netapp servers are cool. The best thing about them is that they are so easy to maintain. Once they're running, they're running :-) Regards, /Ragnar, Algonet/Telenordia
Re: NFS mounting & nnrpd
Author: Ragnar Lonn - Spam me and you di...
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
77 lines
3977 bytes
3977 bytes
In article <34B9BD66.772ED9F9@dojo.epix.net>, Keith Hermansader <keherma@dojo.epix.net> wrote: >> Works okay, but not the greatest unless you have a rocking NFS server. > >Would this constitute a rocking NFS server? (actually it will be NFS and >a reader) > >Sun Ultra Enterprise 450 >1 - 300MHz CPU (might add another cpu) >2 Gigabytes RAM >24GB Ultra/Wide SCSI Drives Internal >Two PTI Ultra/Wide PCI SCSI controllers >MTI 9300 Gladiator RAID Box w/ 18 9GB Ultra/Wide SCSI Drives Nonono, that's a rocking *server* :-) Actually, that machine would be cool as a feeder box, but if you want a *real* NFS server, get a Netapp! (or an Auspex, or the like. As long as it is a *dedicated* NFS server. I'd suspect Netapp gives better price/performance than Auspex though). In my opinion, a Unix server always seem to find ways to interrupt NFS service to do other things it thinks is important (or because the OS isn't tuned to do NFS-only work). A dedicated NFS server doesn't have a thousand daemon processes running and a bunch of services going on that can affect the whole system - it does NFS and it does it well. Much better than any multipurpose-machines can ever hope to do. We've used Sun machines as NFS servers plenty and I can't remember a single one that never at one time or another caused the clients to display "NFS server ... not responding, still trying" because of some magic threshold just passed regarding some system resource, or a local disk that gave the server trouble, or whatever. Then when something really went wrong - like a disk crash, the server would usually go down or even if it stayed up it'd be close to no NFS service at all so it might as well have been down. Then if (when) you had to do a dirty shutdown, it'd take *ages* for the system to come back up again because of all the fscking of the disks. The Netapp hasn't given me a single "NFS server not responding" line on any of the NFS client machines since I brought it into operation some 7-8 months ago. Except for when I pulled the plug, the network cable, or something like that. And if the power fails, the Netapp reboots in less than 2 minutes. Normally it takes 1 minute. A Sun NFS server with 60GB disk would probably take an hour to fsck the disks and then ask you to login single-user to fsck things manually. Another thing is the way performance degrades with load. On most systems, performance goes down slowly until you reach a certain point where it suddenly drops down into the basement and you're close to having no NFS service at all. A *very* nice feature with the Netapps is the graceful performance degradation. It just slows down little by little, with no sudden huge drops, making it a lot easier to determine when to upgrade. And to upgrade in time. IMHO, /Ragnar, Algonet/Telenordia >The NFS network right now is only 100mbut Fast Ethernet, this >will soon change to 155mbit ATM. > >Right now I have an Ultra/2 running as a reader mounting the config, >history and spool via NFS and spawning nnrpd from inetd. I'm using this >setup right now. The only snafu so far is that for some reason nnrpd >takes way too long to answer a connection (30 - 60 seconds) which is >unacceptable. After the initial connect everything moves along nice and >fast tho. > > >Keith
Re: NFS mounting & nnrpd
Author: Dominic Mitchell
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
21 lines
1474 bytes
1474 bytes
Earlier, Keith Hermansader <keherma@dojo.epix.net> wrote: > > The only snafu so far is that for some reason nnrpd > > takes way too long to answer a connection (30 - 60 seconds) which is > > unacceptable. After the initial connect everything moves along nice and > > fast tho. > > I believe I found the cause.. it was the 1.8 meg active being read in > over nfs.. made a local copy and now it's nice and fast. Probably just > copy a new active once daily or use cachefs. Surely this is why actived exists? -Dom -- This posting does not represent the opinion of Demon Internet. ---- Work: hdm@demon.net ---- Play: dom@myrddin.demon.co.uk ---- "What's this? Is this an ICEPICK IN MY FOREHEAD? Why yes, I think it is!" -- JZ
Re: NFS mounting & nnrpd
Author: Nigel Metheringham
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
25 lines
1647 bytes
1647 bytes
At Mon, 12 Jan 1998 10:38:01 +0100, Stephan Forseilles said:- >Mike Horwath wrote: >> History will be needed to look up articles via message ID. > >I allready came across this problem. I though sharing the history would >solve it but... the NFS server is a 64-bits OSF with DU4.0B and the >clients are 32-bits Linux... The Linux nnrpd doesn't seem to find the >history (even the uncompressed one) from the DU is OK. Any idea? I have always wondered whether its safe to share history (read-only) over NFS. Its a DB file, so there will be scattered updates within the file (at least in the .dir/pag files), and I would have thought that you would hit problems with clients caching pages that are dated and so having a non-consistant view of history on the clients. Anyone want to explain why I am wrong or why this is not a problem. Thanks Nigel. -- [ Nigel Metheringham - nigelm@pobox.com - Systems Software Engineer ] [ Real life is but a pale imitation of a Dilbert strip ]
Re: NFS mounting & nnrpd
Author: Ragnar Lonn - Spam me and you di...
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
31 lines
1809 bytes
1809 bytes
In article <699pv1$4k6$4@darla.visi.com>, drechsau@yuck.net (Mike Horwath) wrote: >: Am I missing anything else? Doing it entirely wrong? Will it be a >: problem not sharing the history to the remote readers? So far the setup >: I have does work, I connect a client to the remote server, I get all the >: same articles found on the master, and when I post an article it goes >: right to the master. > >History will be needed to look up articles via message ID. > Yeah, we do the same thing but we let the 'writer host' (the host that stores all articles and keeps history, etc, the only machine running innd) NFS-export its whole $NEWSLIB directory containing both config files and history. The reader servers mount this directory read-only. The articles are on a Netapp NFS server that is mounted r/w by the writer host and read-only by the reader servers. It works pretty well and requires little maintenance. >: I'm curious how others' are doing this, I'm really curious as to how >: well a solution like this will scale. > >Works okay, but not the greatest unless you have a rocking NFS server. > Probably not. I wouldn't have tried it if I hadn't had the Netapp. /Ragnar, Algonet/Telenordia
Re: NFS mounting & nnrpd
Author: Joe Greco
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
20 lines
1536 bytes
1536 bytes
In news.software.nntp article <34B9C30B.59664AC7@dojo.epix.net>, Keith Hermansader <keherma@dojo.epix.net> wrote: :> The only snafu so far is that for some reason nnrpd :> takes way too long to answer a connection (30 - 60 seconds) which is :> unacceptable. After the initial connect everything moves along nice and :> fast tho. : :I believe I found the cause.. it was the 1.8 meg active being read in :over nfs.. made a local copy and now it's nice and fast. Probably just :copy a new active once daily or use cachefs. I'm positive I wrote something to deal with this very problem ... um, um, um, ... :-) Look at http://www.nntp.sol.net/patches (or the insync patch set) and you may find some useful goodies. ... JG
Re: NFS mounting & nnrpd
Author: Keith Hermansader
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
29 lines
1538 bytes
1538 bytes
Keith Hermansader wrote: > > Would this constitute a rocking NFS server? (actually it will be NFS and > a reader) > > Sun Ultra Enterprise 450 > 1 - 300MHz CPU (might add another cpu) > 2 Gigabytes RAM > 24GB Ultra/Wide SCSI Drives Internal > Two PTI Ultra/Wide PCI SCSI controllers > MTI 9300 Gladiator RAID Box w/ 18 9GB Ultra/Wide SCSI Drives correction.. it's only 16 drives, not 18 :-) > The only snafu so far is that for some reason nnrpd > takes way too long to answer a connection (30 - 60 seconds) which is > unacceptable. After the initial connect everything moves along nice and > fast tho. I believe I found the cause.. it was the 1.8 meg active being read in over nfs.. made a local copy and now it's nice and fast. Probably just copy a new active once daily or use cachefs. keith
Re: NFS mounting & nnrpd
Author: barron
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
78 lines
3126 bytes
3126 bytes
barron@|NOSPAM|.texas.net wrote: : Keith Hermansader <keherma@dojo.epix.net> wrote: : : Mike Horwath wrote: : : > : : > : I'm mounting /news/logs from the master, because I want all of the : : > : logging to go to one place... will this pose a problem? : : > : : > Yes, this is a problem. : : > : : > Let syslog do the work for you, read the manpage and use @hostname. : : > : : I suppose I could do that, I was thinking of just keeping the logs : : locally and processing them seperately but I think I'll give this a try. : : > : : > Works okay, but not the greatest unless you have a rocking NFS server. : : Would this constitute a rocking NFS server? (actually it will be NFS and : : a reader) : : Sun Ultra Enterprise 450 : : 1 - 300MHz CPU (might add another cpu) : : 2 Gigabytes RAM : : 24GB Ultra/Wide SCSI Drives Internal : : Two PTI Ultra/Wide PCI SCSI controllers : : MTI 9300 Gladiator RAID Box w/ 18 9GB Ultra/Wide SCSI Drives : : The NFS network right now is only 100mbut Fast Ethernet, this : : will soon change to 155mbit ATM. : It will be able to handle a large amount of NFS/ops, but the latency won't : be that great. : http://www.specbench.org/osg/sfs93/results/results.html : Check out the LADDIS results at the above URL. : They don't have an E450 listed, but you can take the E3000 single cpu : numbers for a comparison: : 2004 NFSops/sec @ 17.3ms Oh...SUN does their LADDIS testing with RAID turned _off_. Turn on Raid5 in ODS and watch the above performance cut in half. : The lowest end netapp (Pentium 75 based) did: : 1113 NFSops/sec @ 7.5MS : IMO, I would buy a netapp F630 for the NFS, and use the E450 for the : reader box (This is exactly how we have our news setup). : E450s and F630s make a delicious combo. : F630 did 4328NFSops/sec @ 9.60ms latency, or full the full results: : http://www.netapp.com/products/spec/f630laddis.html : 4024NFSops/sec @ 6.6ms latency....YUMM : Jonah : -- : Jonah Barron Yokubaitis | Austin|San Antonio|Houston : President | Dallas|Fort Worth|Boerne : Texas.Net | Georgetown|Dripping Springs : http://www.texas.net | Making 56k affordable -- Jonah Barron Yokubaitis | Austin|San Antonio|Houston President | Dallas|Fort Worth|Boerne Texas.Net | Georgetown|Dripping Springs http://www.texas.net | Making 56k affordable
Re: NFS mounting & nnrpd
Author: Stephan Forseilles
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
29 lines
1967 bytes
1967 bytes
Mike Horwath wrote: > > Keith Hermansader <keherma@dojo.epix.net> wrote: > : What is the best way to go about setting up several newsreader servers > : sharing the same news spool using nfs? > : Am I missing anything else? Doing it entirely wrong? Will it be a > : problem not sharing the history to the remote readers? So far the setup > : I have does work, I connect a client to the remote server, I get all the > : same articles found on the master, and when I post an article it goes > : right to the master. > > History will be needed to look up articles via message ID. I allready came across this problem. I though sharing the history would solve it but... the NFS server is a 64-bits OSF with DU4.0B and the clients are 32-bits Linux... The Linux nnrpd doesn't seem to find the history (even the uncompressed one) from the DU is OK. Any idea? -- --------- This is my own personal opinion ------------ * Stephan Forseilles - UNIX System Engineer * * admin@skynet.be - Belgacom Skynet SA/NV * * Digital Unix/Linux/Solaris - FFESSM Level I * Frisbeetarianism, n.: The belief that when you die, your soul goes up the on roof and gets stuck.
Re: NFS mounting & nnrpd
Author: Joe Greco
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
17 lines
1416 bytes
1416 bytes
In news.software.nntp article <34B9E479.F57AE623@skynet.be>, Stephan Forseilles <steph@skynet.be> wrote: :I allready came across this problem. I though sharing the history would :solve it but... the NFS server is a 64-bits OSF with DU4.0B and the :clients are 32-bits Linux... The Linux nnrpd doesn't seem to find the :history (even the uncompressed one) from the DU is OK. Any idea? The history index is a binary file, and I believe it's stored in host byte order. Running this between architectures is perilous at best. Advice: use DU for the readers, or Linux for the feeder. (Are you implying that you have a compressed history?) ... JG
Re: NFS mounting & nnrpd
Author: barron
Date: Mon, 12 Jan 1998 00:00
Date: Mon, 12 Jan 1998 00:00
67 lines
2621 bytes
2621 bytes
Keith Hermansader <keherma@dojo.epix.net> wrote: : Mike Horwath wrote: : > : > : I'm mounting /news/logs from the master, because I want all of the : > : logging to go to one place... will this pose a problem? : > : > Yes, this is a problem. : > : > Let syslog do the work for you, read the manpage and use @hostname. : > : I suppose I could do that, I was thinking of just keeping the logs : locally and processing them seperately but I think I'll give this a try. : > : > Works okay, but not the greatest unless you have a rocking NFS server. : Would this constitute a rocking NFS server? (actually it will be NFS and : a reader) : Sun Ultra Enterprise 450 : 1 - 300MHz CPU (might add another cpu) : 2 Gigabytes RAM : 24GB Ultra/Wide SCSI Drives Internal : Two PTI Ultra/Wide PCI SCSI controllers : MTI 9300 Gladiator RAID Box w/ 18 9GB Ultra/Wide SCSI Drives : The NFS network right now is only 100mbut Fast Ethernet, this : will soon change to 155mbit ATM. It will be able to handle a large amount of NFS/ops, but the latency won't be that great. http://www.specbench.org/osg/sfs93/results/results.html Check out the LADDIS results at the above URL. They don't have an E450 listed, but you can take the E3000 single cpu numbers for a comparison: 2004 NFSops/sec @ 17.3ms The lowest end netapp (Pentium 75 based) did: 1113 NFSops/sec @ 7.5MS IMO, I would buy a netapp F630 for the NFS, and use the E450 for the reader box (This is exactly how we have our news setup). E450s and F630s make a delicious combo. F630 did 4328NFSops/sec @ 9.60ms latency, or full the full results: http://www.netapp.com/products/spec/f630laddis.html 4024NFSops/sec @ 6.6ms latency....YUMM Jonah -- Jonah Barron Yokubaitis | Austin|San Antonio|Houston President | Dallas|Fort Worth|Boerne Texas.Net | Georgetown|Dripping Springs http://www.texas.net | Making 56k affordable
Re: NFS mounting & nnrpd
Author: Stephan Forseilles
Date: Fri, 16 Jan 1998 00:00
Date: Fri, 16 Jan 1998 00:00
18 lines
1365 bytes
1365 bytes
Olaf Titz wrote: > (word length, byte order) in the .dir file. But I've once seen a > history.dir from a 64-bit box and I would be surprised if this can be > read correctly on a 32-bit machine. It can't. -- --------- This is my own personal opinion ------------ * Stephan Forseilles - UNIX System Engineer * * admin@skynet.be - Belgacom Skynet SA/NV * * Digital Unix/Linux/Solaris - FFESSM Level I * Frisbeetarianism, n.: The belief that when you die, your soul goes up the on roof and gets stuck.
Re: NFS mounting & nnrpd
Author: coneill
Date: Tue, 20 Jan 1998 00:00
Date: Tue, 20 Jan 1998 00:00
23 lines
1593 bytes
1593 bytes
jgreco@ns.sol.net (Joe Greco) writes: > In news.software.nntp article <34B9E479.F57AE623@skynet.be>, Stephan Forseilles <steph@skynet.be> wrote: > :I allready came across this problem. I though sharing the history would > :solve it but... the NFS server is a 64-bits OSF with DU4.0B and the > :clients are 32-bits Linux... The Linux nnrpd doesn't seem to find the > :history (even the uncompressed one) from the DU is OK. Any idea? > > The history index is a binary file, and I believe it's stored in host > byte order. Running this between architectures is perilous at best. This is not the case in 1.8, the history file is stored in network byte order and all data is forced to 32bit's. > > Advice: use DU for the readers, or Linux for the feeder. > > (Are you implying that you have a compressed history?) > > ... JG
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