1

Topic: Load Balancing iRedMail servers and hardware sizing

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS 6.5 x64 (2.6.32-431.3.1.el6.x86_64)
- Related log if you're reporting an issue:
====
Hi

We have planned to use iRedMail-Pro. The no. of concurrent hits on the server would be around 4500 with around 90000+ users. Our query is as follows . . . .
1. How much concurrent user sessions are supported on a single server without any performance impact. ie., they will be hitting the roundcubemail interface. Also highlight on the server hardware configuration required.
2. For redundancy, can we have multiple iRedMail servers acting in load balancing mode.
3. In the above case, will we be able to split users mailboxes among them.
4. When we have multiple servers, is there any way to replicate the the ldap and choose the correct mailbox server were their mailbox resides.
5. When LDAP is used for authentication, what is mysql used for. ie., what information gets stored in them.
6. If mysql is used for storing information, how it can be replicated to the other server.
7. Can we split the various functionality like webUI, postfix+imap, mailbox so that we will be able to make load balancing easier & managable.
8. Provide us on the backup restore strategy that can be used for the above setup.

Thanks in advance
Regards
Viswa-SBA

----

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

2

Re: Load Balancing iRedMail servers and hardware sizing

viswa wrote:

1. How much concurrent user sessions are supported on a single server without any performance impact. ie., they will be hitting the roundcubemail interface. Also highlight on the server hardware configuration required.

Default max concurrent IMAP process is 500. You can increase it in dovecot config file.

viswa wrote:

2. For redundancy, can we have multiple iRedMail servers acting in load balancing mode.

It depends on your cluster solution.

viswa wrote:

3. In the above case, will we be able to split users mailboxes among them.

Excuse me, what do you mean "split users mailboxes"?

viswa wrote:

4. When we have multiple servers, is there any way to replicate the the ldap and choose the correct mailbox server were their mailbox resides.

Default iRedMail setting doesn't support this, you have to adjust some settings.

viswa wrote:

5. When LDAP is used for authentication, what is mysql used for. ie., what information gets stored in them.

Roundcube/Cluebringer need a SQL database to store their data. OpenLDAP is used to store mail accounts.

viswa wrote:

6. If mysql is used for storing information, how it can be replicated to the other server.

MySQL replication.

viswa wrote:

7. Can we split the various functionality like webUI, postfix+imap, mailbox so that we will be able to make load balancing easier & managable.

Sure.

viswa wrote:

8. Provide us on the backup restore strategy that can be used for the above setup.

*) For mail accounts, backup LDAP/SQL database.
*) For mailboxes, it depends on how you backup it. You can use rsync or similar tools.