๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84568

Re: [request] INN2 and HA/DRBD-active-passive ? how to build a HA solution for INN2 ?

#84568
From: Geek Marc
Date: Thu, 22 Dec 2011 07:27
56 lines
3482 bytes
Le Wed, 21 Dec 2011 15:55:31 +0000, Steve Crook a รฉcritย :

> On 21 Dec 2011 03:39:05 GMT, Geek Marc wrote in Message-Id:
> <4ef154d9$0$8820$426a74cc@news.free.fr>:
> 
>> A.
>> On first test, I created two independent INN2 servers.
>> The replication between servers works well, but in case of one server
>> fail, for users :
>> - they need to connect to the other NNTP server
> DNS could do this for you, or preferrably a load balancer across 2 (or
> more) INN servers.

As I need HA, if I put one load balancer, I need to have two load 
balancer system too.

Either I have 4 servers, either I have 2 - I put loadbalancer and INN2 on 
same servers.

Maybe for a small infrastructure, heartbeat with a virtual IP address 
could do the moving between the two INN2 servers without loadbalancing.
Usually I measure 4-7 seconds for a moving between 2 nodes after an 
heartbeat restart.

But when some time available, I will install a load balancing system to 
better know that.


> 
>> - they lose their client configuration (read/unread/deleted articles as
>> message-IDs are different).
> No, Message-IDs are consistent across all newsservers.  The article
> number is the inconsistent part.  You can use the xrefslave setting in
> inn.conf to overcome this issue.
> 
> Of the options you defined, I think this is the best.  You didn't state
> if it was going to be text-only or a full-feed including binary.  If
> binary is in the equation then I think you'd find yourself having to use
> this option to balance load, regardless of HA.

I did a confusion between messages-IDs and article number for server.

For my case it is a text-only intranet system but about 15.000 messages a 
week.

So for active node, I have to put xrefslave to false and nnrpdposthost to 
false.
So for passive node, I have to put xrefslave to true and nnrpdposthost to 
true.
Then, all posts will go to active node and be replicated with same number 
to passive node.


A big thank you for your comments

When reading about xrefslave I didn't catch the good way to use it.
Technical Details
Message-ID: <4ef2dbdf$0$25954$426a34cc@news.free.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-transit.tcx.org.uk!rt.uk.eu.org!proxad.net!feeder1-2.proxad.net!cleanfeed1-a.proxad.net!nnrp9-2.free.fr!not-for-mail
References: <4ef154d9$0$8820$426a74cc@news.free.fr> <slrnjf40bj.ncb.steve@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <4ef2dbdf$0$25954$426a34cc@news.free.fr>
Subject: Re: [request] INN2 and HA/DRBD-active-passive ? how to build a HA solution for INN2 ?
Date: Thu, 22 Dec 2011 07:27:27 +0000
From: Geek Marc <geekmarcNOSPAM@gmNOSPAMail.com>
References: <4ef154d9$0$8820$426a74cc@news.free.fr> <slrnjf40bj.ncb.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-transit.tcx.org.uk!rt.uk.eu.org!proxad.net!feeder1-2.proxad.net!cleanfeed1-a.proxad.net!nnrp9-2.free.fr!not-for-mail
Newsgroups: news.software.nntp
User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT
 eac2ac1 master)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 56
Organization: Guest of ProXad - France
NNTP-Posting-Date: 22 Dec 2011 08:27:27 MET
NNTP-Posting-Host: 88.186.228.246
X-Trace: 1324538847 news-4.free.fr 25954 88.186.228.246:44590
X-Complaints-To: abuse@proxad.net
X-Original-Bytes: 3216