Re: Dovecot and Solr on the same server or on different

2019-06-21 Thread Götz Reinicke via dovecot
Hi Christian,

> Am 20.06.2019 um 18:05 schrieb Christian Kivalo via dovecot 
> :
> 
> 
> 
>> So if dovecot and Solr are good with a host each, I m fine with
>> managing two VMs.
> They do. I'm using such a setup for some years now.

May be you you could give me some suggestions on how to proceed after having 
the Solr up and running?

What is the best procedure to move all mailbox search index from the current 
(old) style to Solr?

Like: doveadm index -A -q '*'

May I adjust some Sorl defaults for memory/cahces etc to suite my setup?

Thanks fro feedback and regards . Götz

smime.p7s
Description: S/MIME cryptographic signature


Re: Dovecot and Solr on the same server or on different

2019-06-21 Thread Götz Reinicke via dovecot


> Am 21.06.2019 um 00:13 schrieb @lbutlr via dovecot :
> 
> On 20 Jun 2019, at 07:45, Götz Reinicke via dovecot  
> wrote:
>> Yes, we are on VMs. Of course I could extend the resources for the dovecot 
>> VM (more CPU, more RAM) but as mentioned having separate VMs/systems is in 
>> some situations the preferred way.
> 
> Yep, that totally makes sense. I am Old™ and still think of “server” as a 
> physical box sitting in a rack.

For me, it is often a „it depends, if …“. Take my current setup. I want to add 
Solr to a up-and-running dovecot system. In my VM I would have to add CPU and 
RAM, which I just can when rebooting the dovecot server. This is a (little) 
downtime, but is is a downtime.

So adding a Solr VM is currently the better choice regarding the uptime.

Thanks for your feedback and regards . Götz




smime.p7s
Description: S/MIME cryptographic signature


Re: Dovecot and Solr on the same server or on different

2019-06-20 Thread Götz Reinicke via dovecot


> Am 20.06.2019 um 12:27 schrieb @lbutlr via dovecot :
> 
> On 20 Jun 2019, at 04:12, Riccardo Bicelli via dovecot  
> wrote:
>> I agree that is a small mail load.
>> But I mean, if you are running virtual machines (like me)  it is
>> better to split the roles and leave solr on its own.
> 
> Oh, right. I thought we were talking about actual hardware separation.

Hi and thanks for all feedback.

Yes, we are on VMs. Of course I could extend the resources for the dovecot VM 
(more CPU, more RAM) but as mentioned having separate VMs/systems is in some 
situations the preferred way.

So if dovecot and Solr are good with a host each, I m fine with managing two 
VMs.

Regards . Götz




smime.p7s
Description: S/MIME cryptographic signature


Dovecot and Solr on the same server or on different

2019-06-20 Thread Götz Reinicke via dovecot
Hi.

what would you suggest? What are the pros and cons  for having dovecot and Solr 
on the same or different hots?

I have about 800 accounts, some millions of mails and about 2 TB of zipped 
mails.

From the recent experiences regarding maintenance I’d prefer different hosts 
for each.

Thanks for suggestions and feedback . Götz

smime.p7s
Description: S/MIME cryptographic signature