Topic: iRedmail cluster using Glusterfs and MariaDB galera
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====Hi All,
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: CentOS 6.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL/MariaDB
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: - none -
====
I am building a sample iRedmail cluster on Microsoft Azure platform. I am not using any LBs at the moment. This is the first phase of my cluster setup.
The plan is to
1. Mariadb galera cluster between the server
2. Mount Glusterfs share as "/var/vmail" on both server
3. Install iredmail on first server
4. Install iredmail second server with config file of first server so all password and stuffs will be same.
So far I have completed following
- Two centos 6.7 server
- Glusterfs mount on /var/vmail on both server and replication works
- Mariadb Galera cluster between the servers and replication works.
Since the MySQL is clustered, same dbs used by iredmail components will be there on both servers
I have setup MariaDB galera gluster on the servers. However during the iRedmail installation, I getting conflicts between MariaDB-server and MariaDB-Galera-server.
Following are the errors
------------------
Transaction Check Error:
file /etc/init.d/mysql from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /etc/my.cnf.d/server.cnf from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /usr/bin/aria_chk from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /usr/bin/aria_dump_log from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /usr/bin/aria_ftdump from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /usr/bin/aria_pack from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /usr/bin/aria_read_log from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /usr/bin/my_print_defaults from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /usr/bin/myisam_ftdump from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /usr/bin/myisamchk from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /usr/bin/myisamlog from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /usr/bin/myisampack from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
file /usr/bin/mysql_tzinfo_to_sql from install of MariaDB-server-5.5.48-1.el6.x86_64 conflicts with file from package MariaDB-Galera-server-5.5.48-1.el6.x86_64
-------------------
Can't Iredmail use MariaDB-Galera-server instead of MariaDB-server?.
I did refer to Multi master iredmail cluster setup docs from the user "Joshua " - http://pastebin.com/JcYeQBrX
However he is using loadbalancers and other tools.
Any help or suggestion is appreciated. Do let me know if you need any other additional details fro me.
Thanks
Abdul
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.