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
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?
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
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.
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.
I'm glad everything went well for you. :)