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 09-25-2011, 08:24 AM
Special Member
 
Posts: 104
Default OS Migration

I am hoping this is a fairly straight forward question to answer but first.

I have searched the forums for OS migration issues and the only thing I can find is migration from zimbra 4.5 to 5.0 issues and/or EOL platfroms. There is a 32 bit to 64 bit migration wiki but that is not relevant in my case either.

With that said, I am thinking this will be fairly straight forward but I am just trying to avoid any gotcha's.

First, I am running 64 bit Centos 5.5 and zimbra 6.0.9. foss

I have planned to migrate to 64 bit Ubuntu 10.04LTS and zimbra 7 foss

So far I have created my Ubuntu 10.04LTS server as a mirror image of my CentOS 5 server. Split DNS in tact and host names exactly the same

i.e. mail.server1.com

The only thing different is the 64 bit os and ip addresses. I have been able to dig up that zimbra is not dependent on the ip address.

So I have stopped zimbra on the Centos system and copied over the /opt/zimbra directory.

this is where I am getting nervous about success.

on the Ubuntu 10.04 server:

- Should i just run ./install.sh against 7.1.1 and do the os mirgration and upgrade all in one step or

- Should i run ./install.sh against 6.0.10 then follow that up with ./install.sh against 7.1.1

?

Are there any ./install.sh parms that I need to consider as well?
__________________
Guest Ubuntu 10.04LTS x64 and Zimbra 7.1.3 w/ 7.1.3 patch
Host CentOS 6.2 x64 :: KVM :: LVM :: Hardware RAID
Reply With Quote
  #2 (permalink)  
Old 09-25-2011, 08:34 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

There are wiki and forum articles galore on moving your Zimbra installation to a new server and/or operating system: site:zimbra.com +move +"new server" - Yahoo! Search Results
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-26-2011, 02:12 PM
Advanced Member
 
Posts: 178
Default

I highly recommend (in addition to the search Bill linked to) Ajcody's notes for server moves at:

Ajcody-Notes-Server-Move - Zimbra :: Wiki

It mentioned a couple things I hadn't thought about which made things easy for us when I moved servers last year.

If possible after doing a final sync, you may want to make the new system have the IP address of the old system after that one is down.
__________________
---
Paul Chauvet
State University of New York at New Paltz
Reply With Quote
  #4 (permalink)  
Old 09-26-2011, 08:26 PM
Special Member
 
Posts: 104
Default

phoenix, thank you for the heads up.

I am glad I did not have to convert from x32 to x64 so this all went down quite smoothly from one VM to another with new IP's in the process.

I did the following process as root.

I shutdown Zimbra 6.0.9 on VM CentOS 5.5
After prepping VM Ubuntu 10.04LTS for the new Zimbra I took an LVM snapshot
I installed Zimbra 6.0.9 for VM Ubuntu 10.04 LTS using ./install -s (making sure I have the same Zimbra version architecture for Ubuntu 10.04LTS from the archives as Zimbra 6.0.9 VM CentOS 5.5
I then removed the /opt/zimbra directory
I then synced my Zimbra 6.0.9 VM CentOS 5.5 /opt/zimbra to VM Ubuntu 10.04LTS /opt/zimbra
I then ran zmfixperms
I then changed my uid/gid from 501 to 1001
I then ran the Zimbra 6.0.9 for VM Ubuntu 10.04 LTS using ./install

Install completed pre req check and then wanted to verify mysql [Y/N]. I replied Y and the install immediately failed. I thought that this was very likely because of the Zimbra 6.0.9 VM CentOS 5.5 /opt/zimbra build in my VM Ubuntu 10.04LTS.

I then re-ran the Zimbra 6.0.9 for VM Ubuntu 10.04 LTS using ./install. I replied N to the mysql check and the install went on to complete successfully.

After changing my port forwards and testing I was very satisfied so I shutdown Zimbra 6.0.9 on VM Ubuntu 10.04LTS and took another LVM snapshot.

I then Upgraded to Zimbra 6.0.13 without a hitch while replying Y to mysql check. I guess I could have skipped this upgrade but I did not.

I was so happy I did not take an LVM snapshot and upgraded to 7.1.1. By this time I was doing shots instead of taking snapshots.

So here we are today running a brand spanking new VM Ubuntu 10.04LTS x64 with Zimbra 7.1.1 with a lot less upgrade pain than I was preparing myself for.

Notes: I did contemplate for quite a while running a VM CentOS 6 for our new Zimbra 7. In the end it came down to true vendor OS builds vs binary comparability.

The End
__________________
Guest Ubuntu 10.04LTS x64 and Zimbra 7.1.3 w/ 7.1.3 patch
Host CentOS 6.2 x64 :: KVM :: LVM :: Hardware RAID
Reply With Quote
  #5 (permalink)  
Old 09-26-2011, 11:39 PM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

I'm glad everything went well for you.
__________________
Regards


Bill
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.