Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: SAN failure - recovery advice

  1. #1
    Join Date
    Nov 2009
    Posts
    102
    Rep Power
    5

    Default SAN failure - recovery advice

    My SAN failed (of course I have no backups). I'm recovering the VMDKs and relaunching the VMs that I can. I'll be reinstalling the packages necessary to get out the data that I need. My setup was 7.1.1 x64 on CentOS 5. I'm moving to Ubuntu 10 LTS so that I have a supported OS. I had 2x LDAP, 2x Mailbox, 2x MTA and 1x Proxy. AFAIK, the Proxy and MTAs don't need to be restored as they don't store anything necessary. I do need to get 1 LDAP and the Mailboxes back, though.

    Per LDAP data import export - Zimbra :: Wiki I was looking to export the main and configuration databases and then import them into the new platform when I got it up. Since I had 7.1.1, I was going to re-install 7.1.1. I didn't want to change too many things at a time, given the data loss potential.

    I was looking to use this script http://www.zimbra.com/forums/adminis...mailboxes.html to get all of my mailboxes out.

    How well do the utilities handle bad data? Do they abort the export\import processes? Do they just move on? I'm hoping that between the two LDAP databases, enough parts either weren't harmed or overlap. With the Mailboxes, though, all I can do is hope for clean data. If some messages are missing... *shrugs* Not much I can do. I don't expect complete data recovery, I'm just hoping the tools will allow me to get out what data there is.

    Suggestions? Will the utilities work given the risk of bad data?
    Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.

  2. #2
    Join Date
    Nov 2009
    Posts
    102
    Rep Power
    5

    Default

    If I can get my VMDKs mounted in Windows, is there a way to copy the files out and into a new machine?

    Previously I had problems with the LDAP export utility. Some Java files were missing and I've had difficulty getting it back.
    Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.

  3. #3
    Join Date
    Nov 2009
    Posts
    102
    Rep Power
    5

    Default

    Is a Java package supposed to exist on the system before the Zimbra install, or does the install do it? java appears to be broken when trying to export the LDAP. I need to know which direction to go in to restore it.
    Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.

  4. #4
    Join Date
    Nov 2009
    Posts
    102
    Rep Power
    5

    Default

    Okay, I got Java back by running the install to "upgrade" my installation (same version).

    I can now run the zmslapcat command, but I get the following errors.

    Code:
    str2entry: entry -1 has no dn
    slapcat: bad configuration directory
    ideas?
    Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.

  5. #5
    Join Date
    Nov 2009
    Posts
    102
    Rep Power
    5

    Default

    I looked at http://www.zimbra.com/forums/adminis...tml#post225199 and ran that strace. What looks awkward is:

    Code:
    <= str2entry(olcOverlay={0}syncprov) -> 0x12c5c008
    open("/opt/zimbra/data/ldap/config/cn=config/olcDatabase={3}hdb/olcOverlay={0}syncprov", 0_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOENT (No such file or directory)
    open("/opt/zimbra/data/ldap/config/cn=config/olcDatabase={1}accesslog.ldif", O-RDONLY) = 7
    ldif_read_file: read entry file: "/opt/zimbra/data/ldap/config/cn=config/olcDatabase={3}hdb/olcOverlay={1}accesslod.ldif"
    =>str2entry: ""
    Ideas?
    Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.

  6. #6
    Join Date
    Nov 2009
    Posts
    102
    Rep Power
    5

    Default

    Am I going about this all wrong? Should I setup the same OS with the same Zimbra setup and just manually move files (before a total export), whether it is moving functional executables and libraries in or data\configs out?
    Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.

  7. #7
    Join Date
    Nov 2012
    Posts
    26
    Rep Power
    2

    Default

    mhammett
    before san failure.
    what kind back up did you use for your files ?
    do you push all your files (store) to amazon ?
    local ?
    tape ?

  8. #8
    Join Date
    Nov 2009
    Posts
    102
    Rep Power
    5

    Default

    I realize this response sounds like it has attitude, but that's not my intention.

    If I had a backup, I wouldn't be worrying about how to recover it. I'd imagine for all but the simplest of problems, a restore would be more quick than a recover.
    Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.

  9. #9
    Join Date
    Nov 2009
    Posts
    102
    Rep Power
    5

    Default

    Well, I think I did see one from 2011, but that's when I built the server, so I'm not even sure what it would contain.
    Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.

  10. #10
    Join Date
    Nov 2009
    Posts
    102
    Rep Power
    5

    Default

    According to this page: Behind the Curtain at TCG: Emergency Recovery of Zimbra's OpenLDAP

    Code:
    /opt/zimbra/bdb/bin/db_dump id2entry.bdb > foo.txt
    db_dump: open: id2entry.bdb: No such file or directory
    More missing files?

    Edit: This step later worked, so I suspect I was in the wrong directory. That said, the overall process failed with the same entry has no dn error.
    Last edited by mhammett; 03-17-2013 at 08:03 AM.
    Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.

Similar Threads

  1. ubuntu 8.04 zimbra 6.0.7 FAILURE need restore advice
    By cornbread in forum Administrators
    Replies: 2
    Last Post: 11-10-2011, 04:16 AM
  2. Replies: 0
    Last Post: 11-10-2011, 03:59 AM
  3. Recovery after disk failure
    By pingwin in forum Administrators
    Replies: 16
    Last Post: 01-14-2011, 02:24 AM
  4. Replies: 1
    Last Post: 08-18-2010, 11:22 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
  •