Results 1 to 10 of 10

Thread: Zimbra CE move to new hardware

  1. #1
    Join Date
    Dec 2006
    Posts
    13
    Rep Power
    8

    Default Zimbra CE move to new hardware

    Hi all,

    First time posting. I'm apologize if this has already been covered. I setup Zimbra Community Edition on RedHat WS 4 and would like to move it to new hardware running RedHat ES 4. What are my options for doing so? Should I backup my current Zimbra install using the backup scripts provided on the wiki? Or could I stop Zimbra and backup the opt/zimbra dir and restore it to the new hardware? Or could I go ahead and install Zimbra on my new hardware and run it along side my current Zimbra server and move my mailboxes over to it (is that even possible?)

    Thanks for any and all help!

    Mark

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    I don't know if the backup scripts will work, as I don't have much experence with it.

    I do know that you can rsync the /opr/zimbra dir to another location.

    Then install zimbra using the name config on the new server. Then copy over your "fake" install with your new files. Then do a reinstall as an "upgrade".

    That should work, however, you will likely face some sort of "hiccup". If there are any, just post it here.

    Good luck,
    john

  3. #3
    Join Date
    Aug 2006
    Location
    Madrid, Spain
    Posts
    124
    Rep Power
    9

    Default Moving zimbra

    Quote Originally Posted by mrupright View Post
    Hi all,

    First time posting. I'm apologize if this has already been covered. I setup Zimbra Community Edition on RedHat WS 4 and would like to move it to new hardware running RedHat ES 4.
    If you're going to replace your existing server with a new one, mantaining name, IP and others, I suggest these steps:

    1) Install your new server, with a new IP and same hostname.
    2) Install Zimbra CE
    3) Stop Zimbra CE in your new server.
    4) Stop Zimbra CE in your old server.
    5) Copy or move all zimbra files located at /opt/zimbra from the old server to the new one (via tar.gz, rsync, dar, or others).
    6) Shutdown your old server.
    7) Change your IP in the new server and put the same you had in your old one.
    8) Start zimbra.

    This should work without any problem.
    You should install zimbra CE in your new server before moving old server files to include RPMs in your Red Hat RPM database and check library dependency.

  4. #4
    Join Date
    Dec 2006
    Posts
    13
    Rep Power
    8

    Default

    wannabetenor,

    Thanks!



    inigoml,

    Thanks, I will give that a try.

    Mark

  5. #5
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    Hi

    I did a move recently from one rented server to another, different ISPs, different IP addresses. I made sure the hostname was the same on both boxes, but the IP addresses were completely different and the new server had no zimbra install. A simple tar of /opt/zimbra and then an 'upgrade' of the same version on the new server for good measure was all that was needed, zimbra is very tolerant of this it seems

  6. #6
    Join Date
    Dec 2006
    Posts
    13
    Rep Power
    8

    Default

    Hi all,

    Okay, here is what I did and it worked.

    1.) Stopped Zimbra services on my production home server (Red Hat WS 4).

    2.) Tar and zipped the /opt/zimbra folder.

    3.) Built my new Red Hat ES 4 server in VMware Workstation (I just want to test this move.)

    4.) Installed and configured Zimbra on ES 4 test server in VMware.

    5.) Copied zimbra.tar.gz from production server to test server.

    6.) rm -rf /opt/zimbra on test server.

    7.) Unzipped zimbra.tar.gz to /opt on test server.

    8.) Started Zimbra services and checked my email.

    Way too cool!! This worked without a hitch for me.

    Thanks for everyones help!

    Mark

    PS: Try that with Exchange!

  7. #7
    Join Date
    Aug 2006
    Location
    Madrid, Spain
    Posts
    124
    Rep Power
    9

    Default

    Quote Originally Posted by mrupright View Post
    Hi all,
    Okay, here is what I did and it worked.
    PS: Try that with Exchange!
    I wouldn't like to defend Microsoft... but... you can also do it. ;-)
    Exchange works with one file databases that can be moved and mounted without problem. But, of course, your AD could make strange things...

    Zimbra aproach is quite similar (in using an LDAP server for configuration).

  8. #8
    Join Date
    Dec 2006
    Posts
    13
    Rep Power
    8

    Default

    Hi inigoml,

    Did you mean dismount, move and remount exchange databases? Certainly, I have done that before ;-)

    I meant zipping up the exchange install directory and moving it to a different server and having it function correctly. I am unsure as to the success of such a venture. To many variables...but then again if someone has done such a thing with great success I would love to hear the tale.

    Mark

  9. #9
    Join Date
    Aug 2006
    Location
    Madrid, Spain
    Posts
    124
    Rep Power
    9

    Default

    Quote Originally Posted by mrupright View Post
    Hi inigoml,
    Did you mean dismount, move and remount exchange databases? Certainly, I have done that before ;-)
    More less. Backup active directory, reinstall exchange in the new server, move databases and mount, restore active directory, start services... and pray. ;-)
    And yes, I also prefer zimbra way.

  10. #10
    Join Date
    Dec 2006
    Posts
    13
    Rep Power
    8

    Default

    Hi inigoml

    More less. Backup active directory, reinstall exchange in the new server, move databases and mount, restore active directory, start services... and pray. ;-)
    Yes, I have been there many times with "setup /dissasterrecovery"

    I meant zipping up the c:\exchsrvr directory and moving it to another exchange server and replacing that servers c:\exchsrvr directory with the zipped one from the other server. Not to sure if that would work well.... and if it did indeed work...being MS...I don't think I would trust it.

    That's why I was so impressed with how easy that was to do with Zimbra.

    cheers!

    Mark

Similar Threads

  1. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 AM
  2. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 11:45 AM
  3. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  4. port 7071 not listening OS X install
    By leeimber in forum Installation
    Replies: 7
    Last Post: 03-21-2006, 09:47 AM
  5. Monitoring : Data not yet avalaible
    By s3nz3x in forum Installation
    Replies: 7
    Last Post: 11-30-2005, 06:18 PM

Posting Permissions

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