Results 1 to 9 of 9

Thread: Migrating Zimbra from Release 5.0.8 CentOS5 FOSS to Release 7.0.0 CentOS5_64 FOSS

  1. #1
    mt951742 is offline Banned
    Join Date
    Mar 2011
    Posts
    5
    Rep Power
    0

    Default Migrating Zimbra from Release 5.0.8 CentOS5 FOSS to Release 7.0.0 CentOS5_64 FOSS

    Hey fellas,

    I recently was asked to migrate our Zimbra mail server because there is concern that the server hardware is going to fail. I believe I will be migrating it with the same domain name. Anyways, I've been a Zimbra user where I work, but I haven't done anything like this before. I've seen threads for moving from release 5 -> 6 and 6 -> 7, but where I work they've already installed 7 on a virtual machine and the current mail server is running version 5. I signed up on these forums hoping somebody could help me out a bit.

    Does it make a difference migrating from a 32 bit version to a 64 bit version?
    What do I need to do?

    I figure if they just had the same release version I would just be able to shut down the mail server and mysql, back up the files and move them over (maybe edit some permissions). But I'd think moving up 2 releases would nix that idea. Any help would be GREATLY appreciated.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    Default

    If you're moving from 32bit to 64bit then follow these instructions: Network Edition: Moving from 32-bit to 64-bit Server - Zimbra :: Wiki - omit the NE steps for the Open Source version.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    mt951742 is offline Banned
    Join Date
    Mar 2011
    Posts
    5
    Rep Power
    0

    Default

    Quote Originally Posted by phoenix View Post
    If you're moving from 32bit to 64bit then follow these instructions: Network Edition: Moving from 32-bit to 64-bit Server - Zimbra :: Wiki - omit the NE steps for the Open Source version.
    Much appreciated, do you have any advice regarding potential problems I face moving from 5 to 7, or the general strategy/high level procedure I should follow?

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    Default

    Quote Originally Posted by mt951742 View Post
    Much appreciated, do you have any advice regarding potential problems I face moving from 5 to 7, or the general strategy/high level procedure I should follow?
    You should, obviously, take adequate backups before and after (I'd suggest) each step during this procedure but apart from that it should be OK. Make sure you read the Release Notes thoroughly (several times ) before the upgrade to make sure there's nothing in there that may cause you problems also read and understand the 32bit to 64bit document so you know what it's telling you to do. If you have any questions/problems then post again )or search the forums), good luck and let us know how you get on. You might want to wait for ZCS 7.0.1 which should be out in the not too distant future (I don't have any date for it) and that would save you having to do a further upgrade.

    There is one bug (it's more annoying than anything) that you may want to watch out for: Bug 55541 – zmconfigd not rewriting main.cf There's a fix in the bug report and this bug doesn't hit most people but you just need to make sure you have a backup of your main.cf file in case you need to restore it quickly.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    mt951742 is offline Banned
    Join Date
    Mar 2011
    Posts
    5
    Rep Power
    0

    Default

    Quote Originally Posted by phoenix View Post
    You should, obviously, take adequate backups before and after (I'd suggest) each step during this procedure but apart from that it should be OK. Make sure you read the Release Notes thoroughly (several times ) before the upgrade to make sure there's nothing in there that may cause you problems also read and understand the 32bit to 64bit document so you know what it's telling you to do. If you have any questions/problems then post again )or search the forums), good luck and let us know how you get on. You might want to wait for ZCS 7.0.1 which should be out in the not too distant future (I don't have any date for it) and that would save you having to do a further upgrade.

    There is one bug (it's more annoying than anything) that you may want to watch out for: Bug 55541 – zmconfigd not rewriting main.cf There's a fix in the bug report and this bug doesn't hit most people but you just need to make sure you have a backup of your main.cf file in case you need to restore it quickly.
    Thank you very much for your help. I'm only about 8 months into the IT biz, so you can probably understand why I'm asking more broad questions, I feel like it is a bit of a big responsibility to put on me. Just to verify, you would approve of the following:

    1. Backup the current mail server and DB.
    2. Move this backup on another machine (This is moreso my idea because we have machines that aren't currently used for anything).
    3. Upgrade from 32 bit version 5 to 32 bit version 7 on this other machine
    4. Transfer over to 64 bit version 7 on final destination machine.

    Again, I'd really like to thank you for your input. It is really incredible to me that there are people like you in the world who will help a stranger.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    Default

    Quote Originally Posted by mt951742 View Post
    1. Backup the current mail server and DB.
    2. Move this backup on another machine (This is moreso my idea because we have machines that aren't currently used for anything).
    You don't really need to do that, the backup I meant was just for Zimbra - you basically do an rsync of the /opt/zimbra directory structure. Have a look at some of the backup articles on the wiki: Backup and Restore Articles - Zimbra :: Wiki - this is merely a precaution and shouldn't be needed.

    Quote Originally Posted by mt951742 View Post
    3. Upgrade from 32 bit version 5 to 32 bit version 7 on this other machine
    You don't need to do this, it's an unnecessary step.

    Quote Originally Posted by mt951742 View Post
    4. Transfer over to 64 bit version 7 on final destination machine.
    That will be what you do on the new 64bit server. If you follow the steps in the article you will 'move' the current version installed on your old server to the same version on the new server and then do the upgrade. I can't say this often enough, run the steps exactly as you see them in the wiki article (without the NE steps), they do work and you should have no problems and do your backup before each upgrade including the one on the new server.

    Quote Originally Posted by mt951742 View Post
    Again, I'd really like to thank you for your input. It is really incredible to me that there are people like you in the world who will help a stranger.
    You're more than welcome.

    One point about the backup, obviously for the OSS edition you'll need to stop Zimbra to do the backup and you should make sure that you block incoming mail on port 25 at your firewall (assuming you have one) so you don't have any problems with missing mail. You can try this move as many times as you like, it's not an all or nothing scenario. As I mentioned earlier, read the wiki document and see how you get on with that - if there's any questions about what you need to do then please ask.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    mt951742 is offline Banned
    Join Date
    Mar 2011
    Posts
    5
    Rep Power
    0

    Default

    Quote Originally Posted by phoenix View Post
    You don't really need to do that, the backup I meant was just for Zimbra - you basically do an rsync of the /opt/zimbra directory structure. Have a look at some of the backup articles on the wiki: Backup and Restore Articles - Zimbra :: Wiki - this is merely a precaution and shouldn't be needed.

    You don't need to do this, it's an unnecessary step.

    That will be what you do on the new 64bit server. If you follow the steps in the article you will 'move' the current version installed on your old server to the same version on the new server and then do the upgrade. I can't say this often enough, run the steps exactly as you see them in the wiki article (without the NE steps), they do work and you should have no problems and do your backup before each upgrade including the one on the new server.

    You're more than welcome.

    One point about the backup, obviously for the OSS edition you'll need to stop Zimbra to do the backup and you should make sure that you block incoming mail on port 25 at your firewall (assuming you have one) so you don't have any problems with missing mail. You can try this move as many times as you like, it's not an all or nothing scenario. As I mentioned earlier, read the wiki document and see how you get on with that - if there's any questions about what you need to do then please ask.
    I really can't thank you enough! When it's done I'll be sure to let you know how it went. I'll be going over all the release notes and everything you mentioned today to make sure I get the proper procedure in place as much as possible prior to the migration.

  8. #8
    mt951742 is offline Banned
    Join Date
    Mar 2011
    Posts
    5
    Rep Power
    0

    Default

    I've got a couple (hopefully quick) questions that I need to make absolutely sure of:

    1. For the 32 bit to 64 bit server migration, I have the 32 bit 5.0.8 version on the 32 bit server. I will install the 64 bit 5.0.8 version on the 64 bit server. Then I will be moving files from the 32 bit 5.0.8 version on the 32 bit server to the 64 bit 5.0.8 version on the 64 bit server, correct? (I guess what I'm kind of getting at is that the 64 bit server won't be running the 32 bit version).

    2. This will bring over all the users, passwords, folders, briefcase, calendar, etc, correct?

    3. I apparently might have to change the domain name too. Is there anywhere you could direct me to adjust the migration for that?

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    Default

    Quote Originally Posted by mt951742 View Post
    I've got a couple (hopefully quick) questions that I need to make absolutely sure of:

    1. For the 32 bit to 64 bit server migration, I have the 32 bit 5.0.8 version on the 32 bit server. I will install the 64 bit 5.0.8 version on the 64 bit server. Then I will be moving files from the 32 bit 5.0.8 version on the 32 bit server to the 64 bit 5.0.8 version on the 64 bit server, correct? (I guess what I'm kind of getting at is that the 64 bit server won't be running the 32 bit version).

    2. This will bring over all the users, passwords, folders, briefcase, calendar, etc, correct?
    Yes, that's correct.

    Quote Originally Posted by mt951742 View Post
    3. I apparently might have to change the domain name too. Is there anywhere you could direct me to adjust the migration for that?
    You do that after the migration with zmprov renameDomain - check the format of the command in the article.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 9
    Last Post: 03-01-2008, 08:21 PM
  2. [SOLVED] Error Installing Zimbra on RHEL 5
    By harris7139 in forum Installation
    Replies: 10
    Last Post: 09-25-2007, 11:39 AM
  3. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  4. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 06:47 AM
  5. Replies: 16
    Last Post: 09-07-2006, 06:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •