Thread View: news.software.nntp
3 messages
3 total messages
Started by Wang Haw
Fri, 15 May 1998 00:00
XREPLIC
Author: Wang Haw
Date: Fri, 15 May 1998 00:00
Date: Fri, 15 May 1998 00:00
17 lines
1100 bytes
1100 bytes
I am very keen in implementing INN Master/Slave(s) configuration, xreplic slaving has been deprecated in INN version 1.7.2 and later, INN now has the ability to slave servers via transparent means, simply by having the article's Xref header transferred. (In previous versions, this header was generated locally and stripped off on outing feeds.) It is likely that future versions of INN will no longer support XREPLIC. Could someone please tell me how can I implement the "Xref header trasferred method" for INN master/slave(s) to work. Thanks in advance. Wang Haw wh@singnet.com.sg
Re: XREPLIC
Author: bill davidsen
Date: Fri, 15 May 1998 00:00
Date: Fri, 15 May 1998 00:00
29 lines
2079 bytes
2079 bytes
In article <6jgmnc$jnm$1@columbine.singnet.com.sg>, Wang Haw <wh@singapura.singnet.com.sg> wrote: | I am very keen in implementing INN Master/Slave(s) configuration, xreplic | slaving has been deprecated in INN version 1.7.2 and later, INN now has | the ability to slave servers via transparent means, simply by having the | article's Xref header transferred. (In previous versions, this header was | generated locally and stripped off on outing feeds.) It is likely that | future versions of INN will no longer support XREPLIC. | | Could someone please tell me how can I implement the "Xref header trasferred | method" for INN master/slave(s) to work. It seems to me that was in 1.6 and not in 1.7, but I didn't go crazy checking because I am still using XREPLIC and a hacked innd. I did look in the current beta of inn-2.0 and the -S option is indeed gone. As a matter of fact, the innd.8 man page doesn't even mention it anymore. However, there's an option in the inn.conf man page which seems to do slaving. I haven't tried it, next week is hopefully going to be a week to try building and installing this version, and since I'm going to try CNFS as well, it looks like a fun week. -- bill davidsen <davidsen@tmr.com> "If I were a diplomat, in the best case I'd go hungry. In the worst case, people would die." -- Robert Lipe
Re: XREPLIC
Author: Mark Hittinger
Date: Fri, 15 May 1998 00:00
Date: Fri, 15 May 1998 00:00
53 lines
2725 bytes
2725 bytes
wh@singapura.singnet.com.sg (Wang Haw) writes:
>Could someone please tell me how can I implement the "Xref header trasferred
>method" for INN master/slave(s) to work.
Set up your master and let it take some articles. Make sure that articles
that are not crossposted are getting Xref headers generated for them. This
was a problem in older versions of the patch. With a good cut of the server
software you don't have to do anything special to the master, it creates
good Xref headers for you always.
Take out the Xreplic mode switch for innxmit in your nntpsend.ctl file, i.e:
slave-001:slave-001.yourhost.org::-t300
Innxmit will be using ordinary streaming to send articles, an example
newsfeeds entry is:
slave-001:*,!junk:Ap,Tf,Wnm:
Those articles will include the Xref header, it won't be stripped by innxmit.
The destination slave machine will need xref slaving enabled, so you can
include a "-b" INND flag on pre-2.0beta versions or "xrefslave:yes" in inn.conf
on 2.0beta versions.
The slave enables the master to send articles by placing the master hostname
in hosts.nntp (pre-2.0beta) or incoming.conf (2.0beta).
This leaves a hole for how to deal with nnrp posts. In 2.0beta you can include
a "nnrpdposthost: yourhost.org" parameter in inn.conf so that nnrpd and rnews
know where to send posts to. I think you might have to hack that in yourself
on pre-2.0beta systems.
I patched my pre-2.0beta systems to have a (-N host) switch on INND which was
passed to nnrpd's as the host to post to (rather than -S). If you are already
using a "spool posts" patch for nnrpd then all you need to do is have the
rnews program use a -S (in pre-2.0beta) to send the posts to the master.
In 2.0beta rnews will use the "nnrpdposthost:" parameter in inn.conf.
Its worth switching from XREPLIC to Xref slaving because of the performance
increases (thanks Clayton!), especially if you have some network latency
between your master and your slaves. Xreplic code is also mostly gone in
2.0beta.
Regards,
Mark Hittinger
ICGNetcom/DallasOps
msh@freebsd.org
bugs@freebsd.netcom.com
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