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

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
  #11 (permalink)  
Old 07-16-2008, 01:04 PM
Active Member
 
Posts: 41
Thumbs up DRBD/Heartbeat failover w/ 1-2-1 NATing

Quote:
Originally Posted by leog21 View Post
We've successfully setup Zimbra on a DRBD / Heartbeat solution with automatic failover + one-to-one NAT. I'm currently working on documenting an implementation plan.

Best,
Leo
Anxiously waiting to read about your project. I need to do this very thing right now, and would appreciate relating to your experiences.

Cheers!
Reply With Quote
  #12 (permalink)  
Old 07-16-2008, 01:32 PM
Loyal Member
 
Posts: 77
Lightbulb

You need to know how to setup DRBD and HeartBeat, that I can not cover in this thread.

we have two boxes, Node1 and Node2, and a Virtual IP by heartbeat

install Zimbra on both disks

then DRBD the /opt partition, zimbra should be working on either node1 or node2 depending on which one is primary or secondary

Setup heartbeat to monitor the VIP and bring up zimbra in case of failover
i.e. /etc/ha.d/haresources/ on the first line type
Code:
node1 drbddisk Filesystem::/dev/drbd0::/opt::ext3 x.x.x.x(your VIP ip address) zimbra
This can also be done by hand, you don't need to have heartbeat.

/opt will switch over between the two nodes

As far as one-to-one Nat, point your public ip address to the vip address

Add. Notes:
- I recommend identical boxes for both nodes to make things easier
- Upgrading Zimbra is simple, just run the upgrade on the Primary node (active). I've performed an upgrade from 4.5.7 to 5.0.5 with no problems thanks to the amazing upgrade process Zimbra has.
- Shutdown/Restart
Code:
Shutdown:
1 stop ha on node2
2 stop drbd on node2  ->now shutdown node2
3 stop ha on node1
4 stop drbd on node1  ->now shutdown/restart node1
 
Restart:
-> turn on node1
5 start drbd on node1 (can't find the other, bypass, say "yes")
6 start ha on node1 (auto)
-> turn on node2
7 start drbd on node2 (auto)
8 start ha on node2 (auto)
YOU NEED TO STUDY DRBD or else you risk hosing your /opt partition.
Also look into the SPLIT BRAIN PROBLEMS that DRBD may encounter, thats when both nodes don't know who will take over the main partition. Please practice messing around with DRBD before you put a production system online running a DRBD parition.

I hope this helps. Sorry I can not be any more detailed at the moment.
Reply With Quote
  #13 (permalink)  
Old 08-18-2009, 12:55 PM
Active Member
 
Posts: 39
Default

What happened to the server to server sync that was supposed to be in V. 6.0?
Reply With Quote
  #14 (permalink)  
Old 08-18-2009, 01:28 PM
Zimbra Consultant & Moderator
 
Posts: 11,327
Default

Quote:
Originally Posted by parixit View Post
What happened to the server to server sync that was supposed to be in V. 6.0?
I don't know what your question has to do with this thread but you'll find details in the bug report and the Product Portal for the schedule for bugs.
__________________
Regards


Bill
Reply With Quote
  #15 (permalink)  
Old 08-18-2009, 01:41 PM
Active Member
 
Posts: 39
Default

Unless i have mistaken (which probably is the case) but wouldn't that take care of having a cold stand by server?
Reply With Quote
  #16 (permalink)  
Old 08-18-2009, 01:41 PM
Partner (VAR/HSP)
 
Posts: 295
Default

@phoenix: OK, but a more complex answer would be appreciated here.
Reply With Quote
  #17 (permalink)  
Old 08-18-2009, 01:42 PM
Partner (VAR/HSP)
 
Posts: 295
Default

@parixit: Yes, it should make the cold standby obsolete by being even better...
Reply With Quote
  #18 (permalink)  
Old 08-18-2009, 01:45 PM
Active Member
 
Posts: 39
Default

@iway I agree. I was really looking forward to it being in the 6.0 release. Are they even planning on including it?
Reply With Quote
  #19 (permalink)  
Old 08-18-2009, 01:47 PM
Partner (VAR/HSP)
 
Posts: 295
Exclamation

@parixit: I know, this would have been one of the most-needed features! No idea when it will be included, though.
Zimbra don't give any information, asking them gets you no reply at all.

@Zimbra: Please provide a roadmap and an estimated timeframe for this critical feature!
Reply With Quote
  #20 (permalink)  
Old 08-20-2009, 09:32 AM
raj raj is offline
Moderator
 
Posts: 424
Default

as per the product portal Zimbra Product Portal under
RFEs with Most Votes (15) ?

11 11423 P1 disaster recovery through server to server sync (beta) At Risk (6.5)

looks like this feature is pushed to 6.5 and i am not sure what At Risk (6.5) means..does it means it need more votes ??
or it means it likely to be killed


Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
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