1

Topic: active/active replica and panel

Hi, we are planning to deploy an email system with two iredmail servers as subject suggests
we got some questions about it
1) is it enough setting up replica with just dovecot and mysql?
2) do i need the panel also on the replicated server? most of changes (add, remove, modify mboxes) are gonna be made on the primary iredmail server.
3) in a scenario with 3k mailboxes and about 3Tb of archive do you suggest a clustered system? or specific tuning?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: active/active replica and panel

1) replicate MySQL for mail accounts and application data. Dovecot for mailboxes. But how are you going to do active/active for MySQL? There's famous split-brain problem.
2) If you don't need to run the admin panel (iRedAdmin-Pro) on 2 servers, then just one is ok.
3) number of mailboxes doesn't matter, but the daily traffic matters. How many emails do your users send and receive per day? 3K mailboxes is not a big number.

3

Re: active/active replica and panel

Hey ZhangHuanbin
thanks for reply

1) Mariadb, binlog file and position
2) perfect
3) weekly we got approx 500k sent and 500k received messages, daily average 100k

4

Re: active/active replica and panel

With 100k messages daily, better use a cluster.