Secondary Mail Server

Ask questions about your setup or get help installing ZCS server (ZD section below).
jayarajmohan
Advanced member
Advanced member
Posts: 131
Joined: Fri Sep 12, 2014 11:54 pm

Secondary Mail Server

Postby jayarajmohan » Thu Oct 04, 2012 1:07 am

We are using Zimbra opensource edition for last few years. Some times, we have some server hardware issues or other file system crass issues comes in, In that time we face lot difficulties to restore the mails to the new server and it took nearly a week to comfort with new server.
My Question, How can we setup a secondary Mail Server for our zimbra server. We need to update secondary server every end of the day or some period. So If the primary server down, Users should be automatically able to redirect or pull the mailboxes from secondary server without any delay.
Kindly advice us to do this secondary setup using zimbra ?
Thanks in advance !!!!!!
JayaraJMohan.J


8134Himanshu
Outstanding Member
Outstanding Member
Posts: 217
Joined: Fri Sep 12, 2014 11:16 pm

Secondary Mail Server

Postby 8134Himanshu » Sat Oct 06, 2012 1:16 pm

[quote user="jayarajmohan"]We are using Zimbra opensource edition for last few years. Some times, we have some server hardware issues or other file system crass issues comes in, In that time we face lot difficulties to restore the mails to the new server and it took nearly a week to comfort with new server.
My Question, How can we setup a secondary Mail Server for our zimbra server. We need to update secondary server every end of the day or some period. So If the primary server down, Users should be automatically able to redirect or pull the mailboxes from secondary server without any delay.
Kindly advice us to do this secondary setup using zimbra ?
Thanks in advance !!!!!!
JayaraJMohan.J[/QUOTE]
Following is Good Document. Should help some part of the same to achieve what u have figured out.Once U have

data in secondary server. U can ensure a changeof server (In case Primary Fails) by simple DNS change.
jayarajmohan
Advanced member
Advanced member
Posts: 131
Joined: Fri Sep 12, 2014 11:54 pm

Secondary Mail Server

Postby jayarajmohan » Mon Oct 08, 2012 12:32 am

Thank you for the response,
Yes we can handle it by DNS for redirection while the primary server down. But, We need to move all primary server data to 2ndary servery manually know ? that will not be possible if the primary server crashed heavily in hardward.
So, We need to do this sinking process by some procedure, both the server should have current live boxes (mail).
Please help.
TY
soxfan
Outstanding Member
Outstanding Member
Posts: 958
Joined: Fri Sep 12, 2014 10:08 pm

Secondary Mail Server

Postby soxfan » Mon Oct 08, 2012 3:19 pm

I would start by setting up the 2nd server with the same OS and version of Zimbra as you are using on your primary. Then I would setup a 'cron' job that uses something like 'rsync' to sync the two servers. You would want everything in the /opt/zimbra directory to be synced. You could do something like 'rsync' the /opt/zimbra directory, stop the Zimbra services, do a 2nd rsync to be sure that you got all open files, then start the Zimbra services back up. The two passes, one with services started and the other when they are stopped should minimize downtime. If you ever had to put the secondary server on-line you would just need to change the host-name and IP address of the server to match your primary. I'm pretty sure there is info on this type of setup both in the forums and Wiki.
Just an observation, but if you are having frequent hardware issues and file system corruption on your primary server the first thing that I would do is fix / replace the primary server. Not that having a second, backup server ready to go is a bad idea, but it sounds like this is a common occurrence.
Yves Pires
Advanced member
Advanced member
Posts: 56
Joined: Sat Sep 13, 2014 2:05 am

Secondary Mail Server

Postby Yves Pires » Mon Oct 15, 2012 2:32 pm

you want DRBD + Heartbeat

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 8 guests