🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72156

Setting up INN on a cluster system

#72156
From: Dominik Klein
Date: Fri, 12 Aug 2005 10:05
48 lines
3096 bytes
Hi everyone,

I am currently trying to set up an INN Server on a Cluster System for my 
company.

The software only runs on 1 of 2 machines and the cluster software 
switches to the other machine, if an error occurs on the "active" machine.

pathdb, pathspool, pathlog are on a storage area, that is mounted to the 
  active system only. The rest of INN is identical on both machines.

Machine Setup is like this:
Cluster Machine 1 (later referred to as 1)
Cluster Machine 2 (later referred to as 2)
Old News Machine (later referred to as OLD)

So I'm testing synchronisation of some test groups between the active 
cluster machine and OLD. This works fine, as long as there is no switch 
to the other cluster machine.

When posting an article to 1, then switching to 2 and then trying to 
feed that article to OLD via "nntpsend peername OLD-fqdn", a new file 
"peername=n" is created in pathspool/outgoing.
On OLD, that occured from time to time, but then we always had an 
innxmit-job that just seemed to hang. After killing that job and 
restarting "nntpsend peername fqdn" that problem was solved.
There is no hanging innxmit-job on the cluster machines and when I do 
the nntpsend on 2, after having switched from 1, the file is moved to 
"pathspool/peername=n.work" and OLD does not get the article. Another 
".work" is added every time you retry.

I tried throttling the server and then nntpsending the file, which 
seemed to work once, but does not seem to work every time.
nntpsend.log says
	"nntpsend: bad flush for OLD-fqdn via peername=n.work"
	"nntpsend: skipping OLD-fqdn via altnews=n.work"

Another thing I tried is switching back to 1 and then try to send the 
file, but that did not work either.

Any ideas (and explanations please, as I am still fairly new to INN)?

If you had any thoughts of what one should additionally think of when 
trying to set up INN in such a situation while reading this article - 
feel free to share them! *g*

Regards,
Dominik
Technical Details
Message-ID: <ddhs9h$kcr$1@beech.fernuni-hagen.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-koe1.dfn.de!news.fernuni-hagen.de!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <ddhs9h$kcr$1@beech.fernuni-hagen.de>
Subject: Setting up INN on a cluster system
Date: Fri, 12 Aug 2005 12:05:37 +0200
From: Dominik Klein <Dominik.Klein@FernUni-Hagen.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-koe1.dfn.de!news.fernuni-hagen.de!not-for-mail
Newsgroups: news.software.nntp
Organization: FernUni Hagen
Lines: 48
NNTP-Posting-Host: urz-dhcp-116.fernuni-hagen.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: beech.fernuni-hagen.de 1123841137 20891 132.176.113.116 (12 Aug 2005
X-Complaints-To: newsadmin@fernuni-hagen.de
NNTP-Posting-Date: 12 Aug 2005 10:05:37 GMT
User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716)
X-Accept-Language: en-us, en