Results 1 to 4 of 4

Thread: Simplify the docs for promoting an LDAP replicant to master?

  1. #1
    justdave is offline Trained Alumni
    Join Date
    Nov 2008
    Location
    Grand Rapids, MI
    Posts
    123
    Rep Power
    6

    Default Simplify the docs for promoting an LDAP replicant to master?

    So... I'm looking at LDAP - Zimbra :: Wiki , which says: "After the master server is up, enable replication on the master with the command /opt/zimbra/libexec/zmldapenablereplica"

    And then I'm looking at Promoting Replica to LDAP Master - Zimbra :: Wiki which gives you a long list of different steps, many of which have multiple substeps of stuff to do to the slave to promote it.

    Taking a quick glance through that zmldapenablereplica script, it looks like it's doing almost the same thing as a large chunk of those steps.

    If that script is really a match for those instructions it would *greatly* reduce the complexity of a slave promotion.

    From a little bit of walking through the steps that script is taking, it looks like steps d through f are all done by that script, and that it depends on step g being done first before running it.

    Can anyone give an additional set of eyes to verify that? If this is correct, it looks like you could eliminate steps b through f from those instructions, and insert "run /opt/zimbra/libexec/zmldapenablereplica" between steps g and h.

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

    Default

    No, you can't use zmldapenablereplica to do what you are asking, because it'll know the server isn't a master yet.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  3. #3
    justdave is offline Trained Alumni
    Join Date
    Nov 2008
    Location
    Grand Rapids, MI
    Posts
    123
    Rep Power
    6

    Default

    But that's why I suggested that step g still needs to be done first. Isn't that the part that tells it that it's a master?

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

    Default

    Feel free to try it at your own risk.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Failed to bind to LDAP server
    By tezarin in forum Administrators
    Replies: 4
    Last Post: 01-23-2012, 09:26 AM
  2. [SOLVED] Convert slave ldap to master ldap
    By kikef in forum Error Reports
    Replies: 2
    Last Post: 06-02-2011, 11:24 PM
  3. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 AM
  4. Reverting changes on LDAP master
    By zen in forum Administrators
    Replies: 0
    Last Post: 11-12-2007, 08:08 AM
  5. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 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
  •