Results 1 to 8 of 8

Thread: Migrate ZCS same version to different Hardware

  1. #1
    arvind_as is offline Junior Member
    Join Date
    Jan 2013
    Posts
    5
    Rep Power
    2

    Default Migrate ZCS same version to different Hardware

    Hi,

    I have been using ZCS for a long time (6 years) and it has been very stable. We are not using NE. Currently, our Primary ZCS is located in Amazon Cloud. We are planning to bring this server back to our offices.

    Primary Config:
    ZCS 8.0.4 - with domain mail.example.com (auto created with installation)
    /opt is a separate partition
    50GB of /opt/zimbra data
    Around ~200 email boxes
    Multiple Custom SMTP Sender Restriction Lists
    Multiple domains - example.com (primary email domain), example.example etc.

    Target Server:
    ZCS 8.0.4 vanilla installation
    /opt is a separate partition
    domain mail.example.com alone is auto-created during installation

    Suggested plan of Action:

    1. Stop ZCS Services on Primary Server.
    2. Compress /opt/zimbra to single .tar.gz file
    3. Copy the .tar.gz file to Target Server
    4. Stop ZCS Services in Target Server
    5. Remove /opt/zimbra folder completely in the Target Server
    6. Restore the contents of the .tar.gz file inside /opt on the Target Server
    7. Start services in Target server
    8. Modify A, MX records accordingly.

    Ensure:
    user id of zimbra in both servers must have the same id (command: "id -u zimbra" on both servers should return the same value)
    Enough time to copy 50GB of data through the Internet.

    Questions:
    Will the above steps work? Is restoring /opt/zimbra alone is enough? What others steps need to be ensured?

    Thanks.

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

    Default

    The migration forum is for users that are migrating their email to ZCS not moving ZCS from one server to another, I'll move this to the correct forum. Did you look at any of the solutions in the forums or wiki (including the ZeXtras migration tool) on how to move ZCS to a new server? FWIW you'll have some downtime if you're going to alter the DNS records after the move, have you considered adding another low priority DNS record pointing to the NEW server before the move to alleviate this problem?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    arvind_as is offline Junior Member
    Join Date
    Jan 2013
    Posts
    5
    Rep Power
    2

    Default

    Quote Originally Posted by phoenix View Post
    The migration forum is for users that are migrating their email to ZCS not moving ZCS from one server to another, I'll move this to the correct forum. Did you look at any of the solutions in the forums or wiki (including the ZeXtras migration tool) on how to move ZCS to a new server? FWIW you'll have some downtime if you're going to alter the DNS records after the move, have you considered adding another low priority DNS record pointing to the NEW server before the move to alleviate this problem?
    Thanks. I will look at ZeXtras.

    DNS records are not a problem. We can do it on Weekend night. We have done this before and also have a secondary email server to accept emails when primary is down. So this is not a problem at all. I just need to know if moving the entire /opt/zimbra to another zimbra server would work.

  4. #4
    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 arvind_as View Post
    Thanks. I will look at ZeXtras.

    DNS records are not a problem. We can do it on Weekend night. We have done this before and also have a secondary email server to accept emails when primary is down.
    OK, you didn't mention that.

    Quote Originally Posted by slammerjam View Post
    I just need to know if moving the entire /opt/zimbra to another zimbra server would work.
    Yes it should, take a look at any of the forum threads or wiki article on the topic.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    chauvetp is offline Elite Member
    Join Date
    Apr 2008
    Location
    New Paltz, NY
    Posts
    336
    Rep Power
    7

    Default

    I recommend also checking AJCody's wiki page on server moves. Its very detailed and should answer all questions.

    Ajcody-Notes-Server-Move - Zimbra :: Wiki
    ---
    Paul Chauvet
    State University of New York at New Paltz

  6. #6
    arvind_as is offline Junior Member
    Join Date
    Jan 2013
    Posts
    5
    Rep Power
    2

    Default

    Quote Originally Posted by phoenix View Post
    Yes it should, take a look at any of the forum threads or wiki article on the topic.
    Thanks. Thats what I wanted to know! I will try this weekend and let you know how it went.

  7. #7
    arvind_as is offline Junior Member
    Join Date
    Jan 2013
    Posts
    5
    Rep Power
    2

    Default

    Quote Originally Posted by chauvetp View Post
    I recommend also checking AJCody's wiki page on server moves. Its very detailed and should answer all questions.

    Ajcody-Notes-Server-Move - Zimbra :: Wiki
    Thank you. I am looking at this too.

    This command in that guide might come in handy. Although little worried about preserving symlinks if I went the tar.gz way.

    Code:
        nice -n -20 rsync -avzHS -e ssh --delete --progress /opt/zimbra/ root@NEWHOSTIP:/opt/zimbra

  8. #8
    ccelis5215 is offline Elite Member
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    476
    Rep Power
    4

    Default

    Hi arvind_as you must take a look at ZeXtras.

    ccelis

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. migrate 6.0.14_GA_2928.UBUNTU10_64 to the latest version.
    By nikolas22t in forum Administrators
    Replies: 1
    Last Post: 09-26-2013, 11:43 PM
  2. Migrate from OSS version 7 to Version 8 Appliance
    By pmccrackan in forum Administrators
    Replies: 10
    Last Post: 06-24-2013, 01:18 PM
  3. Migrate from OSS version 7 to Version 8 Appliance
    By pmccrackan in forum Migration
    Replies: 0
    Last Post: 08-12-2012, 07:50 AM
  4. New hardware/OS/version - shared storage
    By su_A_ve in forum Installation
    Replies: 0
    Last Post: 06-30-2011, 04:41 AM
  5. Replies: 3
    Last Post: 11-30-2009, 12:43 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
  •