Results 1 to 5 of 5

Thread: Migrate Zimbra OSE 5.x 32bit

  1. #1
    agd
    agd is offline Special Member
    Join Date
    Jul 2008
    Location
    Montevideo - Uruguay
    Posts
    106
    Rep Power
    7

    Default Migrate Zimbra OSE 5.x 32bit

    Hi! I'm planning to upgrade my server from Zimbra OSE 5 under CentOS 5.4 32 bit to Zimbra 7.0.2 under CentOS 6.3 64 bit.

    I found and "old" procedure:

    (1) On old server, as zimbra user, export LDAP data:
    /opt/zimbra/openldap/sbin/slapcat -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
    (2) On old server: shutdown Zimbra
    (3) On old server: create a .tar.gz file of /opt/zimbra
    (4) Transfer ldap.ldif and the /opt/zimbra tar file somewhere convenient (ie to another system on your network)
    (5) Shutdown old server system. All further steps apply to your new system only.
    (6) Bring up new system with same IP/hostname
    (7) Install Zimbra using the appropriate packages for your new OS. Follow the Zimbra installation guide as far as pre-reqs etc, and run install.sh as if you were doing a new install. What you answer to the questions isn't important, except you should install the exact same set of packages as on your old system (I think you may be able to "install.sh -s" to avoid some of the questions?)
    (8) Shut down Zimbra if the installation process started it up
    (9) Transfer those .tar.gz and ldap.ldif files onto your new system
    (10) In /opt/zimbra/openldap-data, delete everything except DB_CONFIG and the db and logs directories (delete the files inside those directories, just don't delete the directories themselves)
    (11) As zimbra user, import your ldap.ldif, ie:
    /opt/zimbra/openldap/sbin/slapadd -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
    (12) As root, move openldap-data to a safe place, ie:
    mv /opt/zimbra/openldap-data /tmp
    (13) As root, delete your entire Zimbra directory, ie:
    rm -rf /opt/zimbra
    (14) Extract your .tar.gz file as /opt/zimbra
    (15) As root, move that openldap-data we saved earlier back into place, ie:
    rm -rf /opt/zimbra/openldap-data/*
    cp -a /tmp/openldap-data/* /opt/zimbra
    (16) Fix up any permissions issues in your new /opt/zimbra dir, personally I just ran /opt/zimbra/libexec/zmfixperms
    (17) In your installer dir, edit util/utilfunc.sh, commenting out the section of code shown in this post:
    http://www.zimbra.com/forums/install...html#post81960

    (18) Re-run install.sh with -s option and ignore errors
    (19) recopy your /opt/zimbra/.saveconfig/config.save from your old server to your new server's /opt/zimbra/.saveconfig directory
    (20) ***Repeat step 11***: As zimbra user, import your ldap.ldif, ie:
    /opt/zimbra/openldap/sbin/slapadd -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
    (if this errors about ldap_log_level edit the slapd.conf and change @@ldap_log_level@@ to your 'zmlocalconfig |grep ldap_log_level', also you may need to stop ldap before doing this step if it is started.
    (21) re-run /opt/zimbra/libexec/zmfixperms as root
    (22) re-run install.sh without the -s option

    Should work ?

    Thanks.
    Regards.
    --
    AGD

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

    Default

    Quote Originally Posted by agd View Post
    Hi! I'm planning to upgrade my server from Zimbra OSE 5 under CentOS 5.4 32 bit to Zimbra 7.0.2 under CentOS 6.3 64 bit.

    I found and "old" procedure:
    Why don't you try the Zimbra Certified 32bit to 64bit procedure that's described in the wiki (and many times in the forums)?

    Quote Originally Posted by agd View Post
    Should work ?
    You could always try it and find out. You should always try a procedure such as this in a test environment before relying on it the first time you do the move.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    agd
    agd is offline Special Member
    Join Date
    Jul 2008
    Location
    Montevideo - Uruguay
    Posts
    106
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    Why don't you try the Zimbra Certified 32bit to 64bit procedure that's described in the wiki (and many times in the forums)?
    You mean this: Network Edition: Moving from 32-bit to 64-bit Server - Zimbra :: Wiki
    It should work under OSE ?

    Thanks
    --
    AGD

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

    Default

    Quote Originally Posted by agd View Post
    It should work under OSE ?
    Yes and it's been mentioned many times in the forums. You should obviously leave out any NE only steps, search the forums if you want confirmation.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    agd
    agd is offline Special Member
    Join Date
    Jul 2008
    Location
    Montevideo - Uruguay
    Posts
    106
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    Yes and it's been mentioned many times in the forums. You should obviously leave out any NE only steps, search the forums if you want confirmation.
    Thanks !!
    Regards.-
    --
    AGD

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Migrate 32bit to 64bit
    By voxuantupc in forum Administrators
    Replies: 3
    Last Post: 07-12-2011, 07:05 AM
  2. Migrate 32bit to 64bit
    By voxuantupc in forum Migration
    Replies: 0
    Last Post: 07-11-2011, 06:53 PM
  3. Migrate centos 5.5 32bit to ubuntu 10.04 lts 64bit ZCS 7.1.0
    By athrasher@dps.k12.il.us in forum Migration
    Replies: 5
    Last Post: 06-06-2011, 03:33 AM
  4. Replies: 8
    Last Post: 04-10-2011, 09:14 AM
  5. Replies: 10
    Last Post: 01-18-2010, 12:20 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
  •