Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack (2) Thread Tools Display Modes
  #21 (permalink)  
Old 08-08-2008, 02:17 AM
Active Member
 
Posts: 49
Default

I didn't get a chance to actually. I couldn't get the whole thing working so I was asked to drop it and work on something else
Reply With Quote
  #22 (permalink)  
Old 06-16-2009, 04:16 PM
New Member
 
Posts: 4
Default Zimbra HA with DRBD & Heartbeat

got this working quite nicely... up and running for about 2 weeks now.. HowTo on my blog..

ZIMBRA High Availablity Server with DRBD and HEARTBEAT Safestream

Last edited by phoenix : 06-16-2009 at 10:38 PM.
Reply With Quote
  #23 (permalink)  
Old 06-17-2009, 08:21 AM
Senior Member
 
Posts: 61
Default

Great write up!
Reply With Quote
  #24 (permalink)  
Old 06-17-2009, 10:23 AM
Intermediate Member
 
Posts: 21
Thumbs up

Very nice write up!

I would love to hear how it has been working in a month or two.
Also how rolling upgrades (upgrade the secondary, fail-over, upgrade the "new" secondary) go??

Hopefully I will get a chance to try the same things at some point this year time permitting!!
Reply With Quote
  #25 (permalink)  
Old 06-19-2009, 05:50 PM
New Member
 
Posts: 4
Default Zimbra HA with DRBD & Heartbeat

sorry blog moved.. here is the new link for the howto..

safestream - All Articles
Reply With Quote
  #26 (permalink)  
Old 06-19-2009, 06:49 PM
bmw bmw is offline
Senior Member
 
Posts: 74
Default

Yes, we have two dual quad-core Intels with heartbeat running and have tested it thoroughly for failsafe. Works great!

You do have to remember that the 'inactive' server does not activate Zimbra or the mail/file/data stores until it is 'active'. Also, when you are working on a server be sure never to log into the inactive server and try to do work like transfers or importing on the active server. It will crash it with a "split brain" error.

Don't have time to go into all the intricacies. Will get back to this thread next week.
Reply With Quote
  #27 (permalink)  
Old 06-25-2009, 03:20 PM
Senior Member
 
Posts: 51
Default Thinking about this as well

Under /opt, we have 360GB. 169GB of this is /opt/zimbra/backups. Now, we want to replicate mail over the WAN ... obviously, a DRBD device that gets 85GB written to it each day needs some significant bandwidth to keep up. (169GB is for two days' worth of full Zimbra NE backups)

So, I'm thinking of making /opt a DRBD device, and making /opt/zimbra/backup it's own standard device. The amount of new mail received during the day should be small enough to even use a T1 as bandwidth for replication.

Of course, I won't be using HA. I'll simply have a clone of the machine with zimbra
turned off, and probably the disk unmounted as well, so nobody messes with it.

In case of failure on the primary, we simply shut the primary down (if it's not down
already), mount /opt on the failover box and start zimbra.

Some quick DNS changes and flushing of DNS cache...and users will at least be able
to send e-mail. With a little more work, we can have mail coming into it as well, as long as our anti-spam/AV service provider is quick to respond...

Does this sound like a feasible approach? I don't think there are many holes in that plan...but I could be missing something.

--Brian
Reply With Quote
  #28 (permalink)  
Old 08-05-2009, 08:11 PM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by hizar2000 View Post
sorry blog moved.. here is the new link for the howto..

safestream - All Articles
Just a quick update.. running stable now for almost 3 months without a hitch.. carried out some maintainance on the servers a few weeks ago by manually failing over the service and everything was very graceful with no interuptions reported.

Updated link to the Howto here: data-server.org
Reply With Quote
  #29 (permalink)  
Old 08-10-2009, 09:03 AM
Junior Member
 
Posts: 6
Default

Hi all,

I just installed a cluster with ZCS / heartbeat / DRBD,

my problem is the failover:

1 - if I stop heartbeat on the primary node, takeover ok

2 - if I do "/etc/init.d/zimbra stop" : no effect: there is no takeover

any ideas ?

thank's in advance.
Reply With Quote
  #30 (permalink)  
Old 09-17-2009, 05:34 PM
Trained Alumni
 
Posts: 13
Default

Quote:
Originally Posted by lassaad View Post
Hi all,

I just installed a cluster with ZCS / heartbeat / DRBD,

my problem is the failover:

1 - if I stop heartbeat on the primary node, takeover ok

2 - if I do "/etc/init.d/zimbra stop" : no effect: there is no takeover

any ideas ?

thank's in advance.
Heartbeat does in R1 mode does not check the status of each resource, whether they are up or down. So, you'll need to implement something, like MON package to monitor zimbra status and if needed stop heartbeat accordingly.

Hizar,

In your setup, I haven't seen anything related to split-brain on DRBD. That has been my major issue (I have been running an active/passive cluster since March, but it always comes back as a problem). How do you deal with it on yours? I have been searching on the net for possible ways to prevent split-brain to happen in the first place. I found some articles suggesting to increase heartbeat's drbddisk script's retry from 6 to 20 and increasing timeout values (see Otherworldly Gate: STONITH with DRBD and Heartbeat), I haven't tried it yet but I am open to suggestions.
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0