Anda di halaman 1dari 7

Zimbra :: Forums > Zimbra C ollaboration Suite > Administrators

[SOLVED] Zimbra on DRBD


Bugzilla Wiki & Docs Source Leaders New Posts

Welcome, shinacalypse | User C P 35 Unread Posts since your last visit. Private Messages: Unread 0, Total 0. Search Quick Links Page 1 of 5 1 2 3 Log Out

View First Unread

LinkBack

Thread Tools

Search this Thread

Rating:

Display Modes

05-06-2006, 10:34 PM

#1 (permalink) Joined: Apr 2006 - Rep: 6 x 0 Posts: 11

prash
Member prash's Zimbra Wiki Sandbox Page [SOLVED] Zimbra on DRBD

Has anyone tried Zimbra OSS high avalability on DRBD ? Will it work ?

07-18-2006, 07:27 AM

#2 (permalink) Joined: Jun 2006 - Rep: 6 x 0 Location: Germany ZC S/ZD Version: Release 4.5.5_GA_838.UBUNTU6 UBUNTU6 NETWORK edition Posts: 30

CJ.deb
Active Member C J.deb's Zimbra Wiki Sandbox Page

Quote:

Originally Posted by prash Has anyone tried Zimbra OSS high avalability on DRBD ? Will it work ? I'm also very interested on this !! DRBD seems a good choice in general, just not sure if it also works proper for mail servers with lot of traffic. Or any other failover/ha solution running there. Have two good servers but no external storage. cheers

07-23-2006, 05:31 PM

#3 (permalink) Joined: Nov 2005 - Rep: 6 x 0 Posts: 36

papaya74
Active Member papaya74's Zimbra Wiki Sandbox Page DRBD & Heartbeat SUCCESSFULL working !

Hi folks, on my Debian-Servers i got ZIMBRA successfull working with heartbeat on a DRBD netraid !

Short description (how i did it): FOR TESTING ONLY !!!! ============================================== I ASSUME, that you have a proper running installation of heartbeat & DRBD !! 1. Make 2 (!) installations of Zimbra with exactly the same parameters, on 2 different server, of course. 2. Define one server as Master (for yourself and later for heartbeat), and configure this one to your ZIMBRArequirements. 3. Test your Master-Zimbra-Server if everything is fine, up & running 4. Remove on BOTH NODES ALL Zimbra auto-start-scripts, like
C ode:

recr2dS9iba m/t/c./9zmr recr3dS9iba m/t/c./9zmr recr4dS9iba m/t/c./9zmr recr5dS9iba m/t/c./9zmr

5. STOP ALL Zimbra services:


C ode:

/t/ntdzmrtp ecii./ibaso

6. MOVE /opt to somewhere else, e.g /opt_save, and create /opt again:
C ode:

#mot/p_ae v/potsv #mdr/p kiot

7. Get the DRBD working on /opt as a netraid. I don't know if it will work with symlinks, so i decided to mount /opt directly with DRBD. Don't forget /etc/fstab 8. Now you have to reboot BOTH nodes, to be sure that you have a proper DRBD netraid running on /opt !!! Check also if heartbeat is running as well and mounts /opt properly if your Master is dead !! 9. If everythings is working fine, then it's time to copy Zimbra back to production state:
C ode:

motsv/iba/p/ v/p_aezmrot

10. Edit /etc/ha.d/haresources on BOTH NODES and ADD 'zimbra' at the end of the line where you a controlling, what heartbeat should start & stop.
C ode:

#nnech./aeore ao/t/adhrsucs zmr1dbds:ntadieytm:dvdb0:ot:x3YU_ATRIiba iba0rdik:eri1Flsse:/e/rd:/p:etORMSE_Pzmr

11. REBOOT both Nodes, and Zimbra should now start on the master. If the master dies, the 2nd node will takeover completly

takeover completly BEWARE: ==> THIS WAS DONE JUST FOR TESTING PURPOSES !!! ==> EXACTLY ANALYSIS of Zimbra's behaviour is PENDING !!! I hope it'll work in a production enviroment, i will test it this week with nearly 60GB email, so we will see.... /harry

09-01-2006, 11:43 AM

#4 (permalink) Joined: Jun 2006 - Rep: 6 x 0 Location: Germany ZC S/ZD Version: Release 4.5.5_GA_838.UBUNTU6 UBUNTU6 NETWORK edition Posts: 30

CJ.deb
Active Member C J.deb's Zimbra Wiki Sandbox Page

Quote:

Originally Posted by papaya74 Hi folks, BEWARE: ==> THIS WAS DONE JUST FOR TESTING PURPOSES !!! ==> EXACTLY ANALYSIS of Zim bra's behav iour is PENDING !!! I hope it'll work in a production enviroment, i will test it this week with nearly 60GB email, so we will see.... /harry

Hi harry, how's going? Already in production? Still happy with it? New cognitions and tips through of your technical expertise? Whats your server specs and user enviroment? Thx & cheers Christian -- I sooo prefer Debian over fat RedHat ;-) --

10-29-2006, 09:10 PM

#5 (permalink) Joined: Nov 2005 - Rep: 6 x 0 Posts: 36

papaya74
Active Member papaya74's Zimbra Wiki Sandbox Page DRBD & ZIMBRA = STABLE !

Hi everyone, i just want to give a short feedback, that DRBD & Zimbra are now working together since 3 months in a high production enviroment with thousands mails per day !

I haven't noticed any problems so far ! Takeover via Heartbeat & DRBD is working to 100% ;-) Regards, Harry

12-13-2006, 09:47 PM

#6 (permalink) Joined: Aug 2006 - Rep: 6 x 0 Posts: 8

zimber
Junior Member zimber's Zimbra Wiki Sandbox Page zimbra on drbd setup

Hi, I did a test setup on two servers with different hostname and ip address (but they both serve the same domain like example.com), the drbd and heartbeat work fine, but when I test the zimbra and shutdown the primary, the secondary becomes the primary also the partition mounted successfully, but zimbra can't start on secondary server. papaya mentioned do a same installation in two servers, but drbd and heartbeat both require to have different hostname and IPs, how to do the same installation in zimbra? Any helps will be appreciated! Thanks!

12-18-2006, 04:50 PM

#7 (permalink) Joined: Dec 2006 - Rep: 5 x 0 Posts: 1

dcand
Starter Member dcand's Zimbra Wiki Sandbox Page DRBD - not starting LDAP

DRBD and heartbeat are properly configured and working. The problem is Zimbra does not start during a failover on the remaining host. It reports that LDAP cannot be started and then stops starting the whole thing. Papaya74, can you give some more information on your setup and the installation/configuration process, please? Especially how you configured network settings (host names) would be of high interest. Many thanks for your work!

12-18-2006, 06:23 PM

#8 (permalink) Joined: Nov 2005 - Rep: 6 x 0 Posts: 36

papaya74
Active Member papaya74's Zimbra Wiki Sandbox Page some details...

Hi folks,

okay, i try to give some more information about my setup. 1. Zimbra is being used inhouse ONLY, which means, people are connecting by IP-adresses for IMAP and Web-GUI in our internal LAN. 2. We have 6 static IPs from our Internet-Provider 3. I setup a MX-Record from our Hosting-Provider --> Public IP of our Internet-Line --> Portforwarding --> Zimbra-Server 4. LAN-IP Setup Zimbra Virtual (Heartbeat) = 192.168.100.100 Zimbra-01 = 192.168.100.101 Zimbra-02 = 192.168.100.102 5. Zimbra-01:
C ode:

#nnechss ao/t/ot 17001ordmi.ooahs.oadmioahs 2...uoancmlclotlcloanlclot 12181011zmr1ordmi.o 9.6.0.0iba0uoancm 12181012zmr2 9.6.0.0iba0

6. Zimbra-02:
C ode:

#nnechss ao/t/ot 17001uoancmlclotlcloanoahs 2...ordmi.ooahs.oadmilclot 12181012iba0uoancm 9.6.0.0zmr2ordmi.o 12181011zmr1 9.6.0.0iba0

7. ADMIN-UI
C ode:

*Gnrl* *eea*: Sriehsaeuoancm evcotnm:ordmi.o LTidadesoahs MPbndrs:lclot *MA* *T*: WbmiTotaeoahs ealMAHsnm:lclot RlyMAfretraeieyst.urvdrcm eaToxenldlvr:mporpoie.o EalNokp:DSBE nbeDSlousIALD

That's all, i can mention here... BTW: I also had problems updating from 3.2x to 4.0 with LDAP & LMTP bindings, and it was a try & error game to get it work, but with the information above it's running right now

Best Regards, Harry

11-14-2007, 02:10 AM

#9 (permalink) Joined: Sep 2007 - Rep: 4 x 0 ZC S/ZD Version: ZC S 6.0.10GA NE on C entos 5 DRBD/HA Posts: 111

leog21
Special Member leog21's Zimbra Wiki Sandbox Page

papaya74, Thanks for your post, it really helped me setup our Zimbra with DRBD. I have a question regarding these settings, also did you do any special configs to bind Zimbra services to a particular ip? We are having some problems with Zimbra serving services on both the real and virtual (HA) ip. LMTP bind address: localhost Web mail MTA Hostname: localhost Enable DNS lookups: DISABLED Thanks, Leo

01-26-2008, 11:41 AM

#10 (permalink) Joined: Jul 2007 - Rep: 5 x 0 Location: New Delhi, India ZC S/ZD Version: zcs-5.0.1_GA_1902.RHEL4.20080109193657.tgz Posts: 13

tapan.thapa
Member tapan.thapa's Zimbra Wiki Sandbox Page

running drbd.conf

I also got the success in clustering of two zimbra server. If any one require any help do let me know.
Last edited by tapan.thapa; 02-13-2008 at 09:29 PM..

Page 1 of 5 1 2 3 Previous Thread | New posts or Today's Posts | Next Thread

Quick Reply
Message:

Please click one of the Quick Reply icons in the posts above to activate Quick Reply.

Options Quote message in reply?

Post Quick Reply

Go Advanced

LinkBacks (?)
LinkBack to this Thread: http://www.zimbra.com/forums/administrators/2845-solved-zimbra-drbd.html

Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)


Forum Jump Posting Rules Administrators Go

Similar Threads

Developed with

Home - Blog - Contact Us - Archiv e - Top

SEO by vBSEO 2011, C rawlability, Inc.

Anda mungkin juga menyukai