Wednesday, March 3, 2010

Opends replication

[root@dual1 bin]# ./dsreplication enable --host1 192.168.241.179 --port1 4444 --bindDN1 "cn=Directory Manager" --bindPassword1 mypassword --replicationPort1 8989 --host2 192.168.241.195 --port2 4444 --bindDN2 "cn=Directory Manager" --bindPassword2 tneu34 --replicationPort2 8990 --adminUID admin --adminPassword mypassword --baseDN "dc=mycompany,dc=com" -X -n





[root@dual1 bin]# ./dsreplication initialize --baseDN "dc=mycompany,dc=com" --adminUID admin --adminPassword mypassword --hostSource 192.168.241.179 --portSource 4444 --hostDestination 192.168.241.195 --portDestination 4444 -X –n

After executing dsreplication initialize all entries under the given base db {dc=mycompany,dc=com} will be replicated to secondary ldap server.for 1.2G records it takes a few minutes {~3-5 min}

Commands are needed to be executed only primary ldap server.

No comments:

Post a Comment