For Replication we follow the following steps:
1. Stop the master server's slapd daemon.
2. Reconfigure the master server's slapd.conf to enable replication to the new slave server.
3. Copy the database from the master server to the replica.
4. Configure the replica server's slapd.conf.
5. Start the replica server's slapd process
6. Start the master server's slapd process.
7. Start the master server's slurpd process.
1. MASTER SIDE:
replica uri=ldap://192.168.1.21:389
suffix="dc=mnit,dc=ac,dc=in"
binddn="uid=easypush,ou=people,dc=mnit,dc=ac,dc=in"
bindmethod=simple
credentials=******
updateref ldap://192.168.1.20:389
# ./slurpd –d 1
slurpd reads entries in the replication log file one at a time and propagates the changes using basic LDAP commands (e.g., add, modify, delete, modrdn, etc.). If a change cannot be made, slurpd writes the entry and reason for the failure to a reject log named
0 comments:
Post a Comment