Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Moving to a new machine

  1. #1
    zzzzsg is offline Senior Member
    Join Date
    Nov 2005
    Posts
    73
    Rep Power
    9

    Default Moving to a new machine

    Hi All

    I have at test Zimbra server (3.1 on Fedora 4), but my users have started using it.

    Now I have a new machine, and I am installing Zimbra on it. The new machine will have a different host name as the old one.

    How can I transfer the mails, calendars, contacts, user accounts, etc. from the old Zimbra server to the new one?

    Use backup and restore? But the new machine host name is different from the old one.

    Thank you.

    gui
    Last edited by zzzzsg; 04-19-2006 at 01:41 PM.

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Will the mail domain be the same? If you have the Network Edition you can use backup and restore. For the OSS Edition you could try a full cold backup of /opt/zimbra and overlay that on the new server assuming they are the exact same Zimbra version. A third option would be to imapsync the mail over.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    zzzzsg is offline Senior Member
    Join Date
    Nov 2005
    Posts
    73
    Rep Power
    9

    Default

    Thanks Kevin.

    Yes, the mail domain is the same, but the servername isn't.
    Will this be a problem?

    I don't want to change the old server's name to be the same as the new server before doing the cold backup. This is because I have encountered problems after changing server name. Cannot receive mail and Csfe service error after changing server name

    Yes, I am already using imapsync to transfer mails from my sendmail/imap-uw server to the test server. The imapsync won't transfer the calendars, contacts, etc.


    I am running Zimbra3.1 on Fedora 4.

    After changing the server name, my zimbra isn't receiving mails anymore and
    when I log onto the admin console, I get this error:
    Message: Csfe service error
    Error code: service.FAILURE
    Method: ZmCsfeCommand.invoke
    Details:system failure: could not find zimbraLogHostname server: null

    This is how I changed the server name
    in /etc/hosts
    on command prompt : hostname fx030.abc.com <fictitious name)
    in /etc/sysconfig/network
    HOSTNAME="fx030.abc.com"

    su -u zimbra
    postconf -e myhostname=fx030.abc.com
    zmcontrol stop
    cd /opt/zimbra
    ./libexec/zmsetservername fx030.abc.com
    zmcontrol start
    postfix reload





    Quote Originally Posted by KevinH
    Will the mail domain be the same? If you have the Network Edition you can use backup and restore. For the OSS Edition you could try a full cold backup of /opt/zimbra and overlay that on the new server assuming they are the exact same Zimbra version. A third option would be to imapsync the mail over.

  4. #4
    PNE
    PNE is offline Loyal Member
    Join Date
    Mar 2006
    Location
    Czech Republic
    Posts
    81
    Rep Power
    9

    Default

    I am planning similar migration. This was discussed in the forums before (install on new server, move opt/zimbra from old one, then reinstall the new one). Kevin, you say it is possible to move OSS to another server with the same zimbra version. But is it possible if new server is different OS and thus different zimbra package? Is it possible to move this way from FC4 to CentOS?

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Quote Originally Posted by PNE
    I am planning similar migration. This was discussed in the forums before (install on new server, move opt/zimbra from old one, then reinstall the new one). Kevin, you say it is possible to move OSS to another server with the same zimbra version. But is it possible if new server is different OS and thus different zimbra package? Is it possible to move this way from FC4 to CentOS?
    Yes, it's possible to move to another server using this method but..... make sure the version and release level is the same one on the new server - obviously it will be a different o/s but that shouldn't matter.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    FunkyPenguin is offline Special Member
    Join Date
    Dec 2005
    Location
    Peterborough, UK
    Posts
    140
    Rep Power
    9

    Default

    I'm looking at moving from CentOS to SUSE, but I'm a bit aprehensive as currently the IM portion doesn't work, and there are 6 users with over 4000+ e-mails. If I did the fresh install>copy /opt/zimbra>run configuration option, would all previous settings be kept?

    It looks like because I've upgraded from M2 through each release something got missed and I can't get the IM side of things. I know it's only testing, but it helps demo the product to SMBs that I'm courting.

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Yes, as far as I know that should keep all of your settings as it's only an upgrade. Obviously keep a backup of everything.

    I don't know what's happened with the IM as I haven't used it, I'm sure one of the Zimbra guys can fill you in abouth that.

    Just for my own inetrest, why are you moving from CentOS?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    FunkyPenguin is offline Special Member
    Join Date
    Dec 2005
    Location
    Peterborough, UK
    Posts
    140
    Rep Power
    9

    Default

    I may have to look at imapsync or something similar in that case.

    I don't think anyone is 100% sure as to what is happening with the IM side of things - I managed to confuse KevinH about it on another thread

    I'm looking at moving off of CentOS purely from a consolidation point of view as the real estate is made up of SUSE machines other than the Zimbra box. As such I have grown to like/prefer (love may be too strong a word ) SUSE.

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

    Default

    I think the consesus is that imapsync is the solution for this type of exercise.

    I'm a new convert to Linux and I've settled n CentOS for the servers and SuSE for workstations. I'm extremely impressed by both of those products and the new 10.1 looks very slick.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    zzzzsg is offline Senior Member
    Join Date
    Nov 2005
    Posts
    73
    Rep Power
    9

    Default

    The problem is my new machine will not have the same host name as the old machine.

    Yes, I have thought of changing the hostname of the old machine to the new hostname before moving the /opt/zimbra out of it.

    But I've tried changing hostname using ./libexec/zmsetservername
    and it gave problems after that.

    So only one person here has done it successfully? Changing Your Hostname


    Quote Originally Posted by PNE
    I am planning similar migration. This was discussed in the forums before (install on new server, move opt/zimbra from old one, then reinstall the new one). Kevin, you say it is possible to move OSS to another server with the same zimbra version. But is it possible if new server is different OS and thus different zimbra package? Is it possible to move this way from FC4 to CentOS?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 07-02-2007, 05:56 AM
  2. Fedora 5: Could not create the Java virtual machine
    By mi2enno in forum Installation
    Replies: 6
    Last Post: 06-01-2007, 03:16 AM
  3. Wrong time in Parallels Virtual machine
    By JoseQ in forum Users
    Replies: 4
    Last Post: 04-16-2007, 09:49 AM
  4. ZIMBRA!!!!! Error zmcontrol status and others
    By orison in forum Installation
    Replies: 8
    Last Post: 02-03-2007, 07:52 PM
  5. Migrating from one Zimbra machine to another
    By mikeygstl in forum Administrators
    Replies: 2
    Last Post: 01-17-2006, 07:28 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
  •