Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Why you say you no bunny rabbit when you have little powder-puff tail? -- The Tasmanian Devil


rocksolid / Rocksolid Nodes Help / Re: rslite - How to configure multiple peers?

SubjectAuthor
* rslite - How to configure multiple peers?sugarbug
`* rslite - How to configure multiple peers?sugarbug
 `- rslite - How to configure multiple peers?Retro Guy

1
rslite - How to configure multiple peers?

<tvgdgc$7g5$1@novabbs.org>

 copy mid

https://www.rocksolidbbs.com/rocksolid/article-flat.php?id=255&group=rocksolid.nodes.help#255

 copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.185.220.101.84!not-for-mail
From: sugarbug3883@mail.ru (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: rslite - How to configure multiple peers?
Date: Wed, 22 Mar 2023 21:28:52 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tvgdgc$7g5$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 23 Mar 2023 02:28:28 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="185.220.101.84";
logging-data="7685"; mail-complaints-to="usenet@novabbs.org"
 by: sugarbug - Thu, 23 Mar 2023 02:28 UTC

How may I configure multiple remote peers in rslite?

Re: rslite - How to configure multiple peers?

<tvlbi7$9vk$1@novabbs.org>

 copy mid

https://www.rocksolidbbs.com/rocksolid/article-flat.php?id=260&group=rocksolid.nodes.help#260

 copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.185.195.71.244!not-for-mail
From: sugarbug3883@mail.ru (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: Re: rslite - How to configure multiple peers?
Date: Fri, 24 Mar 2023 18:26:24 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tvlbi7$9vk$1@novabbs.org>
References: <tvgdgc$7g5$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 24 Mar 2023 23:25:59 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="185.195.71.244";
logging-data="10228"; mail-complaints-to="usenet@novabbs.org"
 by: sugarbug - Fri, 24 Mar 2023 23:26 UTC

On Wed, 22 Mar 2023 21:28:52 -0500
sugarbug <sugarbug3883@mail.ru> wrote:

> How may I configure multiple remote peers in rslite?
>

I think I may have partly figured it out. Someone please correct me if
this is wrong.

example.inc.php says:

/* SECTION configuration file
* Rename this file as your section name followed
* by .inc.php:
* section_name.inc.php
*/

So I presume that I should create a different config for each section
then add my custom peer address and credentials therein. Will this work?

Where do I place this renamed config file? Do I place it in the section
folder in /etc/rslight/<section>/ ?

I still have not seen how to set up multiple univeral peers. I would
like to have several peers mirroring all groups back and forth, not
just sections. I could set up round robin but if one peer goes down
then the chain breaks.

I would like to set cron to sync all groups to several peers, choosing
them in sequence so that one peer is synced every 90 minutes. with
three peers running this means one of them would be reaching out every
10 minutes on average.

--

SugarBug

Re: rslite - How to configure multiple peers?

<5580141ea3cdc992968e35ab93d33580@news.novabbs.org>

 copy mid

https://www.rocksolidbbs.com/rocksolid/article-flat.php?id=261&group=rocksolid.nodes.help#261

 copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: rslite - How to configure multiple peers?
Date: Fri, 24 Mar 2023 23:43:05 +0000
Organization: Rocksolid Light
Message-ID: <5580141ea3cdc992968e35ab93d33580@news.novabbs.org>
References: <tvgdgc$7g5$1@novabbs.org> <tvlbi7$9vk$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="13331"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.7.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$4sLTHjti/WL4FMny1TTwOuaZ47iDYCKkHrhLwpMgmQjqkxKUqnhaW
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Fri, 24 Mar 2023 23:43 UTC

sugarbug wrote:

> On Wed, 22 Mar 2023 21:28:52 -0500
> sugarbug <sugarbug3883@mail.ru> wrote:

>> How may I configure multiple remote peers in rslite?
>>

> I think I may have partly figured it out. Someone please correct me if
> this is wrong.

> example.inc.php says:

> /* SECTION configuration file
> * Rename this file as your section name followed
> * by .inc.php:
> * section_name.inc.php
> */

> So I presume that I should create a different config for each section
> then add my custom peer address and credentials therein. Will this work?

That is correct. Hopefully the example file makes sense.

> Where do I place this renamed config file? Do I place it in the section
> folder in /etc/rslight/<section>/ ?

In /etc/rslight (same dir as main config: rslight.inc.php)

> I still have not seen how to set up multiple univeral peers. I would
> like to have several peers mirroring all groups back and forth, not
> just sections. I could set up round robin but if one peer goes down
> then the chain breaks.

> I would like to set cron to sync all groups to several peers, choosing
> them in sequence so that one peer is synced every 90 minutes. with
> three peers running this means one of them would be reaching out every
> 10 minutes on average.

This is all a good idea, but it's not designed that way atm. A while back,
trw (who was critical to the birth of rocksolid) had the same idea and had
implemented it in their user interface.

For now you could run a cron to edit the <section>.inc.php file to change
remote server in between rslight cron runs. That should work but is just a
bit risky as it may still have some connection to the previous server when
you do that.

Multiple servers should work, their just would be some more bandwidth use
as it would poll each server from the last article number fetched from that
server. It's not much data, but it is more than just one server.

--
Retro Guy

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor