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 Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-15-2009, 06:08 PM
Senior Member
 
Posts: 72
Default GlusterFS with Heartbeat

I'm researching various high availability options for zimbra. I know Zimbra supports the Red Hat option, but I was looking at alternatives.

I see here - some people have gotten DRBD and Heartbeat working. Can anyone report Zimbra NE in production on DRBD / Heartbeat.

Has anyone tried Zimbra on GlusterFS with Heartbeat? I've been poking around on the glusterfs web site, and their cluster software looks interesting. I'm going to get a test env't up and see how it performs.
Reply With Quote
  #2 (permalink)  
Old 03-16-2009, 12:55 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Please update your forum profile with the output of the following command:

Code:
zmcontrol -v
Quote:
Originally Posted by dfriestedt View Post
I see here - some people have gotten DRBD and Heartbeat working. Can anyone report Zimbra NE in production on DRBD / Heartbeat.
The only supported high availability for NE use is RHEL Cluster Services, no other HA is supported and you will not receive support for any other configuration.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 12-31-2011, 11:06 AM
Special Member
 
Posts: 164
Default

Understood if not NE then I believe building up a cluster using glusterfsand heartbeat can be a good option. Did you succeed in that? Do you have white papers on it or any other written material?
Reply With Quote
  #4 (permalink)  
Old 12-31-2011, 04:37 PM
Elite Member
 
Posts: 334
Default

Quote:
Originally Posted by blason View Post
Understood if not NE then I believe building up a cluster using glusterfsand heartbeat can be a good option. Did you succeed in that? Do you have white papers on it or any other written material?
i've never trying active-active cluster with Heartbeat and GlusterFS but I do have active-passive cluster with DRBD+Heartbeat with ext3 FS.

Zimbra - Search
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #5 (permalink)  
Old 01-01-2012, 01:12 AM
Special Member
 
Posts: 164
Default

OK - So vavai just curious to know the cluster that you built was that a single server or multi server cluster? And do you have a goot write up on that? I have around 4000 users gonna use Zimbra OSS and looking for good clustering option.
Reply With Quote
  #6 (permalink)  
Old 01-03-2012, 04:04 PM
Elite Member
 
Posts: 334
Default

Hi,

Quote:
Originally Posted by blason View Post
OK - So vavai just curious to know the cluster that you built was that a single server or multi server cluster? And do you have a good write up on that? I have around 4000 users gonna use Zimbra OSS and looking for good clustering option.
I'm using single server for DRBD+Heartbeat. I have a docs for implementing Zimbra on DRBD+Heartbeat but the current documentation is written in Indonesian.

I'll be try to translating my docs and post link on this thread.
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #7 (permalink)  
Old 01-03-2012, 11:06 PM
Special Member
 
Posts: 164
Default

So vavai, is that stuff tested in production environment? How many mailboxes it has? Just curious to know if the this setup can sustain in production.
Reply With Quote
  #8 (permalink)  
Old 01-03-2012, 11:12 PM
Elite Member
 
Posts: 334
Default

Quote:
Originally Posted by blason View Post
So vavai, is that stuff tested in production environment? How many mailboxes it has? Just curious to know if the this setup can sustain in production.
Yes, it's on production server. Mailboxes are vary, between 100 to 5000 mailboxes (I have some clients with different number of mailboxes) with about 1K-100K emails/day
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #9 (permalink)  
Old 01-03-2012, 11:21 PM
Special Member
 
Posts: 164
Default

Hey Vavai,

I just implemented your stuff and wow DRBD seems to be working. Now next challenge in front of me is to configure Heartbeat which I partially completed. Since this is CentOS 5.5 I created ha.cf, haresource and authkeys under /etc/ha.d. However I bit confused about haresource since I read that it can vary per linux flavor, so would you please let me know if below haresources file can suffice my need?

Here is my ha.cf file
**************

[root@mail1.kus.net ~]# more /etc/ha.d/ha.cf
keepalive 2
deadtime 30
warntime 10
initdead 120
bcast eth0
node mail1.kus.net
node mail2.kus.net
auto_failback on
crm yes

***********
authkeys
auth 1
1 sha1 MySecret

***********
haresources

[root@mail1.kus.net ~]# more /etc/ha.d/haresources
mail1.kus.net IPaddr::192.168.1.128/24/eth0 drbddisk::r0 Filesystem::/dev/drbd0::/opt::ext3 zimbra
Reply With Quote
  #10 (permalink)  
Old 01-04-2012, 12:14 AM
Elite Member
 
Posts: 334
Default

Quote:
Originally Posted by blason View Post
Hey Vavai,
Here is my ha.cf file
**************

[root@mail1.kus.net ~]# more /etc/ha.d/ha.cf
keepalive 2
deadtime 30
warntime 10
initdead 120
bcast eth0
node mail1.kus.net
node mail2.kus.net
auto_failback on
crm yes

***********
authkeys
auth 1
1 sha1 MySecret

***********
haresources

[root@mail1.kus.net ~]# more /etc/ha.d/haresources
mail1.kus.net IPaddr::192.168.1.128/24/eth0 drbddisk::r0 Filesystem::/dev/drbd0::/opt::ext3 zimbra
Your configuration seems to be enough, but I worries your Zimbra system will not be transferred to secondary nodes because of Zimbra hostname unless you have proper initial configuration.

Below is some clue based on my experience :

mail1.kus.net : IP 192.168.1.126
mail2.kus.net : IP 192.168.1.127
mail.kus.net : IP 192.168.1.128

1. Installing Zimbra on Primary node with hostname mail.kus.net with IP 192.168.1.128
2. Shutting down Zimbra services and then revert setting on primary node (mail1.kus.net : IP 192.168.1.126)

3. Installing Zimbra on secondary node with hostname mail.kus.net with IP 192.168.1.128
4. Shutting down Zimbra services and then revert setting on secondary node (mail2.kus.net : IP 192.168.1.127)

5. Setting up DRBD as your setting

6. Setting up Heartbeat as your setting

Summary : make sure that you have installing Zimbra with Heartbeat IP (virtual IP given by Heartbeat) and proper hostname (mail, instead of mail1 or mail2).

Hope this helps you for simplify your setting.
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.