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 11-22-2010, 02:26 AM
Loyal Member
 
Posts: 86
Default [SOLVED] Recommended upgrade procedure on HA (DRBD & Heartbeat)

I have 2 Zimbra servers running in a remote datacentre, 1 (primary) on a physical server and 1 on a Virtual (Xen) server that replicates via DRBD and have HA with Heartbeat.

They are on 6.0.5_GA_2213.RHEL5_64_20100203001950 CentOS5_64 FOSS edition and I'd like to upgrade them to latest version.

It's easy to just upgrade the main server, but then if a failover happens, I think that the outdated secondary server will have problems?

I need some advice on upgrade procedures as this is a mission critical servers(s) and I cannot afford long downtimes... nor something that broke because of the upgrade.

Thanks in advance

Ekkas

PS: Can I just run a 'dummy' install on a temp /opt folder on the secondary using './install.sh -s' ? Then delete the dummy /opt?
Reply With Quote
  #2 (permalink)  
Old 11-24-2010, 12:10 AM
Trained Alumni
 
Posts: 336
Default

i found a blog post about that somewhere...

but in the end it's as you say.
iirc the post said you should upgrade the main zimbra, then failover to the backup and install -s there.
but I guess the dummy install will do the same, as all binaries should be in the shared disk
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #3 (permalink)  
Old 08-15-2011, 01:15 AM
Special Member
 
Posts: 139
Default

Quote:
Originally Posted by ekkas View Post
I have 2 Zimbra servers running in a remote datacentre, 1 (primary) on a physical server and 1 on a Virtual (Xen) server that replicates via DRBD and have HA with Heartbeat.

They are on 6.0.5_GA_2213.RHEL5_64_20100203001950 CentOS5_64 FOSS edition and I'd like to upgrade them to latest version.

It's easy to just upgrade the main server, but then if a failover happens, I think that the outdated secondary server will have problems?

I need some advice on upgrade procedures as this is a mission critical servers(s) and I cannot afford long downtimes... nor something that broke because of the upgrade.

Thanks in advance

Ekkas

PS: Can I just run a 'dummy' install on a temp /opt folder on the secondary using './install.sh -s' ? Then delete the dummy /opt?
So which Option You selected for the Upgrade ? & how was the experience..?
Reply With Quote
  #4 (permalink)  
Old 08-15-2011, 01:54 AM
Loyal Member
 
Posts: 86
Default

I updated primary server, then shut it down (after sync complete) to make secondary the primary, then ran install again to upgrade secondary, then start up primary again, wait for sync to complete, make it primary.
No problems.
__________________
Release 7.1.2_GA_3268.RHEL5_64_20110804132448 CentOS5_64 FOSS edition.
Reply With Quote
  #5 (permalink)  
Old 08-16-2011, 12:29 PM
Special Member
 
Posts: 139
Default

Quote:
Originally Posted by ekkas View Post
I updated primary server, then shut it down (after sync complete) to make secondary the primary, then ran install again to upgrade secondary, then start up primary again, wait for sync to complete, make it primary.
No problems.
Ok.

1.What was the option while running install script on secondary server?
Was it install -s ?
2. Was zimbra service up while install on secondary ?
Reply With Quote
  #6 (permalink)  
Old 08-17-2011, 01:45 AM
Loyal Member
 
Posts: 86
Default

I did full install on both.
1) Disable zimbra on startup for secondary. (Zimbra not running unless it becomes primary, but tempiorarily disable it)
2) Upgrade primary.
3) Wait for DRBD sync to complete
4) Stop Zimbra on primary
5) Make secondary the new primary (zimbra still stopped)
6) While (old)Zimbra(packages) is NOT running on (old) secondary, install update.
7) Start up zimbra on either side(or both sides in turn) and test.
8) All should be ok.

I think most important is just to NOT start old binaries on updated Zimbra install. So when you do update, make sure other side Zimbra cannot start untill it is also updated.
__________________
Release 7.1.2_GA_3268.RHEL5_64_20110804132448 CentOS5_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.