Page 11 of 12 FirstFirst ... 9101112 LastLast
Results 101 to 110 of 115

Thread: ldap database went from 97meg to 86gig

  1. #101
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,276
    Rep Power
    10

    Default

    mdb.prev is a folder created as part of an upgrade process in case the upgrade fails. If the upgrade was successful, then yes, you can delete it.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  2. #102
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,276
    Rep Power
    10

    Default

    Sure. Lets say you flip a coin, and it comes up heads. And then you decide because of this, it will always come up heads. That's essentially what you are doing. I.e., just because "cp" worked for you this time is no guarantee it'll work for you next time. The only officially supported method for backing up BDB based databases with OpenLDAP (this is not Zimbra specific) is slapcat/slapadd.

    There are scenarios in which you can safely copy the BDB DB, which I've covered before.

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

  3. #103
    thesubmitter is offline Active Member
    Join Date
    Jun 2008
    Posts
    41
    Rep Power
    7

    Default

    Quote Originally Posted by quanah View Post
    Another note -- in ZCS 8.0.2 and later, when you resize the DB via localconfig, that is all you have to do. As soon as the modifictaion is made to slapd, the data.mdb file will automatically resize to whatever the new maxsize value is. No need to slapcat & slapadd to change the size of the file.
    This didn't seem accurate for me in 8.0.2 GA OS

  4. #104
    acesuares is offline Active Member
    Join Date
    Apr 2009
    Location
    Willemstad, Curacao
    Posts
    39
    Rep Power
    6

    Default

    Quote Originally Posted by quanah View Post
    Sure. Lets say you flip a coin, and it comes up heads. And then you decide because of this, it will always come up heads.
    --Quanah
    Well, this little change did have a big impact. cold backups that took 4 minutes now took 58 minutes and diskspace on the backup storage was running out fast. Let alone almost one hour downtime.

    I followed this convesation with amazement. End good all good but before that, there where some weird paths followed.

    It really does make me wonder if Zimbra is really the Open Source Solution that I feel confident with. At that time I choose between Zarafa, Scalix and ZImbra and Zimbra came out by far superior for end users. But then I discovered the cumbersome backup procedures, that have once more bitten me, and the total lack of per-domain administrator possibilities.

    For now I am definately stuck with Zimbra, and to be fair, this was the first hickup in over two years, and I do hope Zimbra will evolve as a real open source product. Because I also fear, that without a backing company, something as complex as Zimbra will easily fall apart by lack of a solid open source developer base.

    Thank you.

  5. #105
    acesuares is offline Active Member
    Join Date
    Apr 2009
    Location
    Willemstad, Curacao
    Posts
    39
    Rep Power
    6

    Default

    Quote Originally Posted by thesubmitter View Post
    This didn't seem accurate for me in 8.0.2 GA OS
    I stopped zimbra, changed the values with zmlocalconfig, and nothing happened. Then restarted zimbra and the data.mdb file was immediately resized.

    This works for me.

  6. #106
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,276
    Rep Power
    10

    Default

    Quote Originally Posted by acesuares View Post
    I stopped zimbra, changed the values with zmlocalconfig, and nothing happened. Then restarted zimbra and the data.mdb file was immediately resized.

    This works for me.
    Yes, if you stop zimbra, it won't automatically resize, because for automatic resize to happen, zmconfigd has to be running...

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

  7. #107
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,276
    Rep Power
    10

    Default

    Quote Originally Posted by acesuares View Post
    Well, this little change did have a big impact. cold backups that took 4 minutes now took 58 minutes and diskspace on the backup storage was running out fast. Let alone almost one hour downtime.

    I followed this convesation with amazement. End good all good but before that, there where some weird paths followed.

    It really does make me wonder if Zimbra is really the Open Source Solution that I feel confident with. At that time I choose between Zarafa, Scalix and ZImbra and Zimbra came out by far superior for end users. But then I discovered the cumbersome backup procedures, that have once more bitten me, and the total lack of per-domain administrator possibilities.

    For now I am definately stuck with Zimbra, and to be fair, this was the first hickup in over two years, and I do hope Zimbra will evolve as a real open source product. Because I also fear, that without a backing company, something as complex as Zimbra will easily fall apart by lack of a solid open source developer base.

    Thank you.
    I really don't get what this has to do with Zimbra, really. OpenLDAP is an open source project that has no relation to Zimbra. You implemented a backup solution that was never valid as far as OpenLDAP is concerned. When Zimbra leveraged new technology available from OpenLDAP, you got bit by the fact your backup procedure has been wrong for years. If you had implemented a proper valid backup procedure that was safe to use with OpenLDAP, which is what zimbra NE does, you never would never have run into this issue.

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

  8. #108
    Chicken76 is offline Intermediate Member
    Join Date
    Feb 2012
    Posts
    17
    Rep Power
    3

    Default

    As a conclusion to this unnecessarily long thread quanah, which method of backing up the LDAP databases would you recommend for ZCS 8.0.3 GA, slapcat or mdb_copy?
    Does any of them work if the LDAP server is stopped?

  9. #109
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,276
    Rep Power
    10

    Default

    Quote Originally Posted by Chicken76 View Post
    As a conclusion to this unnecessarily long thread quanah, which method of backing up the LDAP databases would you recommend for ZCS 8.0.3 GA, slapcat or mdb_copy?
    Does any of them work if the LDAP server is stopped?
    As noted in the wiki, you can use either method, and both methods work regardless of whether or not slapd is running or stopped.

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

  10. #110
    CISX is offline New Member
    Join Date
    Jun 2013
    Posts
    3
    Rep Power
    2

    Default

    Quote Originally Posted by quanah View Post
    It is provisioned at 80GB because MDB has a maxsize limit. To allow upgrading from an unknown size, I had to choose some number that I was sure would allow anyone to upgrade without issue. I know there is no one who uses zimbra with an 80GB database.
    Why was upgrading an unknown size?
    IT is an engineering discipline, it should not resolve around guess work!
    If you are upgrading from version 8.0.0 to 8.0.1, there is nothing unknown about the database size. It can be found out by many ways. To pick an arbitrary figure that covers all cases is simply poor engineering.
    Sadly we are getting use to the "Zimbra" way…

Page 11 of 12 FirstFirst ... 9101112 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Extending LDAP database
    By frost983 in forum Developers
    Replies: 3
    Last Post: 11-02-2010, 06:46 AM
  2. [SOLVED] Zmsetservername choking on ldap database
    By Emmanuel Kasper in forum Administrators
    Replies: 7
    Last Post: 10-21-2009, 09:50 AM
  3. How do I browse Zimbra LDAP database?
    By williamn in forum Administrators
    Replies: 4
    Last Post: 04-16-2008, 01:47 AM
  4. Replies: 0
    Last Post: 01-14-2008, 11:41 AM
  5. change ldap database
    By Grejao in forum Administrators
    Replies: 1
    Last Post: 12-07-2007, 08:39 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
  •