Results 1 to 10 of 11

Thread: Moving to a new machine

Hybrid View

  1. #1
    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 02:41 PM.

  2. #2
    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
    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. http://www.zimbra.com/forums/showthread.php?t=2629

    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
    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 offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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
    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
    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? http://www.zimbra.com/forums/showthread.php?t=710


    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?

Similar Threads

  1. Replies: 2
    Last Post: 07-02-2007, 06:56 AM
  2. Fedora 5: Could not create the Java virtual machine
    By mi2enno in forum Installation
    Replies: 6
    Last Post: 06-01-2007, 04:16 AM
  3. Wrong time in Parallels Virtual machine
    By JoseQ in forum Users
    Replies: 4
    Last Post: 04-16-2007, 10: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
  •