Linux OPENLDAP Synchronization Configuration

Source: Internet
Author: User
Tags ldap openldap

OpenLDAP in the previous has been introduced to you, the LDAP service is now using a relatively many, Lightweight directory services, performance is good.

Now let's talk about LDAP replication, that is, when an LDAP server changes, the other one will change as well, which will prevent downtime when an outage occurs.

OpenLDAP Replication configuration:

1. Modify the LDAP Service configuration file for master host

650) this.width=650; "style=" Float:none; "title=" 1.png "src=" http://s3.51cto.com/wyfs02/M02/72/2D/ Wkiom1xedg-r2mypaailwariihg904.jpg "alt=" Wkiom1xedg-r2mypaailwariihg904.jpg "/>

2. Make sure the ServerID cannot be the same as the standby and enable the Syn file

650) this.width=650; "style=" Float:none; "title=" 2.png "src=" http://s3.51cto.com/wyfs02/M00/72/29/ Wkiol1xeecezgcwdaaf1j36ehr0837.jpg "alt=" Wkiol1xeecezgcwdaaf1j36ehr0837.jpg "/>

3. Modify the Syn file for the host

650) this.width=650; "style=" Float:none; "title=" 3.png "src=" http://s3.51cto.com/wyfs02/M00/72/29/ Wkiol1xeecejzvouaaa_tvvcg8k419.jpg "alt=" Wkiol1xeecejzvouaaa_tvvcg8k419.jpg "/>

4.rid ensure that the only, LDAP address is the standby address, the secret key according to their own actual situation to write, CN DC value according to the actual situation to write

650) this.width=650; "style=" Float:none; "title=" 4.png "src=" http://s3.51cto.com/wyfs02/M00/72/2D/ Wkiom1xedg-tebicaadz9c1tymu322.jpg "alt=" Wkiom1xedg-tebicaadz9c1tymu322.jpg "/>

5. Modify the LDAP configuration file in the slave host

650) this.width=650; "style=" Float:none; "title=" 5.png "src=" http://s3.51cto.com/wyfs02/M01/72/29/ Wkiol1xeecfwgniuaagxwe8oj-k078.jpg "alt=" Wkiol1xeecfwgniuaagxwe8oj-k078.jpg "/>

6. Modify the Syn file of the standby note the items

650) this.width=650; "style=" Float:none; "title=" 6.png "src=" http://s3.51cto.com/wyfs02/M01/72/2A/ Wkiol1xeeq7jwklyaadzqx_p1v4693.jpg "alt=" Wkiol1xeeq7jwklyaadzqx_p1v4693.jpg "/>

7. Restart the LDAP Service

650) this.width=650; "style=" Float:none; "title=" 7.png "src=" http://s3.51cto.com/wyfs02/M01/72/2D/ Wkiom1xedvahxukmaacxmwzhmi4851.jpg "alt=" Wkiom1xedvahxukmaacxmwzhmi4851.jpg "/>

8. Use the LDAP Connection tool to view the connection, if you find a redundant garbage node, delete directly

650) this.width=650; "style=" Float:none; "title=" 8.png "src=" http://s3.51cto.com/wyfs02/M02/72/2A/ Wkiol1xeeq6s9sxeaan5_hjm-lc651.jpg "alt=" Wkiol1xeeq6s9sxeaan5_hjm-lc651.jpg "/>

To this, the LDAP replication operation is configured to complete!

Linux OPENLDAP Synchronization Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.