Topic: Running two or more iRedMail Servers
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I am looking to run more then one iRedMail server all hosting the same accounts. This is being done to have fail-over protection.
Both servers will store all files in a mounted drive /datapoint that will be ruining on a fail-over NFS NAS.
Both servers will connect to the same remote fail-over protection MySQL database.
Would the best way of setting this up be.
1. Setup iRedMail as normal
2. Clone the server
3. Change the hostname of server 2
4. Pray it works....
haha
I know if I change any settings or files on server 1 that are not stored in /datapoint then I will need to re-clone or change the same settings or files on server 2.
What are your thoughts on this? any ideas are welcome.
DNS
@ MX 10 mx.g1.server1.com
@ MX 20 mx.g1.server2.com
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.