>Recover Slave OpenLdap Server

By | March 3, 2011

>

If slurpd based slave openldap server become inconsistent. Following steps can be followed for immediate recovery

  1. Put the master slapd server in read only mode
  2. Completely stop slapd on slave 
  3. Clear the content of data directory, (/var/lib/ldap)
  4. Copy fresh dump from master and paste it into slave server
  5. Use slapadd to rebuild the directory on slave.
  6. Start the slave slapd server in normal mode
  7. Switch master slapd server in previous (read/write) mode.
Share itShare on FacebookEmail this to someoneTweet about this on TwitterShare on Google+Share on LinkedInPrint this page

One thought on “>Recover Slave OpenLdap Server

  1. Pingback: KBTECHWORLD

Leave a Reply

Your email address will not be published. Required fields are marked *

Current month ye@r day *