Results 1 to 8 of 8

Thread: Best way to get from 7.1.1 32-bit to 8.0 64-bit?

  1. #1
    dunkirk is offline Active Member
    Join Date
    Nov 2006
    Posts
    31
    Rep Power
    8

    Default Best way to get from 7.1.1 32-bit to 8.0 64-bit?

    I want to upgrade from Zimbra 7.1.1 32-bit on Ubuntu 8.04 to Zimbra 8.0.0 64-bit (of course) running on Ubuntu 12.04. I was hoping to do this in one shot with the directions here:

    Network Edition: Moving from 32-bit to 64-bit Server - Zimbra :: Wiki

    However, the LDAP instructions fall apart, as the database has moved from bdb to mdb format. So I got to thinking about how this should work. It would seem that I need to do this upgrade in 2 steps, one for the move to 64-bits, and one for the upgrade to the latest version.

    I am really trying to avoid taking down our production system as much as possible. To that end, I'd like to bring 7.1.1 64-bit up on the new server, and follow the move instructions, and then do the upgrade. However, the latest Ubuntu supported by 7.1.1 is 10.04. Maybe running it on 12.04 is good enough for the hour it will take to get it going and then upgrade it; maybe not. Even if I were to upgrade the old server to 7.2.1, there's no 64-bit version for Ubuntu 12.04 to install on the new server anyway. There's no old 64-bit Zimbra version on Ubuntu 12.04 to match to an old 32-bit version supported on 8.04, or even 10.04.

    What's the best path forward for my situation?

  2. #2
    dunkirk is offline Active Member
    Join Date
    Nov 2006
    Posts
    31
    Rep Power
    8

    Default

    I've tried forging ahead with the process, but this is the problem:

    Code:
    zimbra@mail:~/data/ldap/mdb$ /opt/zimbra/openldap/sbin/slapadd -q -n 0 -F /opt/zimbra/data/ldap/config -cv -l /backup/ldap-config.bak
    added: "cn=config" (00000001)
    50942992 lt_dlopenext failed: (back_hdb.la) file not found
    slapadd: could not add entry dn="cn=module{0},cn=config" (line=41): 
    added: "cn=schema,cn=config" (00000001)
    added: "cn={0}core,cn=schema,cn=config" (00000001)
    added: "cn={1}cosine,cn=schema,cn=config" (00000001)
    added: "cn={2}inetorgperson,cn=schema,cn=config" (00000001)
    added: "cn={3}zimbra,cn=schema,cn=config" (00000001)
    added: "cn={4}amavisd,cn=schema,cn=config" (00000001)
    added: "olcDatabase={-1}frontend,cn=config" (00000001)
    added: "olcDatabase={0}config,cn=config" (00000001)
    Unrecognized database type (monitor)
    50942992 olcDatabase: value #0:  failed init (monitor)
    slapadd: could not add entry dn="olcDatabase={1}monitor,cn=config" (line=7497): 
    50942992 str2entry: invalid value for attributeType objectClass #1 (syntax 1.3.6.1.4.1.1466.115.121.1.38)
    slapadd: could not parse entry (line=7515)
    _#################### 100.00% eta   none elapsed            none fast!         
    Closing DB...
    I've tried changing various occurrances of "hdb" with "mdb" to no avail. Does anyone know how to do this conversion between database formats? I would have expected `slapcat' to be exactly the answer here.

  3. #3
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,196
    Rep Power
    9

    Default

    This is not a valid way to migrate. Please see the various migration wikis. You need to go from ZCS 7.1.1 on box A to ZCS 7.1.1 on box B. So you will need to go from 7.1.1 on ubuntu8 to 7.1.1 on ubuntu10. Then upgrade the ubuntu10 box to 8.0. Then migrate from ubuntu10 on 8.0 to ubuntu12 on 8.0. A 7.x LDAP configuration DB is not valid in 8.x.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  4. #4
    dunkirk is offline Active Member
    Join Date
    Nov 2006
    Posts
    31
    Rep Power
    8

    Default

    Holy mackerel. Any reference on this upgrade wiki page you were talking about? I haven't run across it in all my searching.

  5. #5
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,196
    Rep Power
    9

    Default

    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  6. #6
    dunkirk is offline Active Member
    Join Date
    Nov 2006
    Posts
    31
    Rep Power
    8

    Default

    Thanks. I really, really appreciate a Zimbra employee laying down.

    Is there any chance that it's possible to set up a Funambol SyncML server to copy everything from the old server to a new one? Like using imapsync, but getting the contacts and the calendar information as well?

  7. #7
    federico.bertola's Avatar
    federico.bertola is offline Special Member
    Join Date
    Jul 2006
    Location
    Verona, Italy
    Posts
    153
    Rep Power
    8

    Default

    If you are looking for another way to migrate your zimbra server that fits your needs, take a look to the zxmig tool.

    My 2 cents


    Sent from my iPhone using Tapatalk
    Federico Bertola
    CTO @ StudioStorti

  8. #8
    dunkirk is offline Active Member
    Join Date
    Nov 2006
    Posts
    31
    Rep Power
    8

    Default

    Woah. Cool. That looks like just the ticket. I'll try that out on Monday. Thanks!!!

Thread Information

Users Browsing this Thread

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

Posting Permissions

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