The replication manager is the user that data suppliers use to bind to the data consumer when sending replication updates. (In MMR the data consumer refers to whichever master happens to be the consumer for a particular operation.) It is recommended to change the default password created during the process of enabling replication.
Log in to the ds1.sp-example.com host machine as a root user.
Create a temporary file that contains the new replication manager password.
This file will be read once, and the password stored for future use.
# cd /var/opt/mps/serverroot/ds6/bin # echo replmanager > pwd.txt |
Verify that the file was successfully created.
# cat pwd.txt replmanager |
Run dsconf set-server-prop to set the replication manager password using pwd.txt as input.
# ./dsconf set-server-prop -h ds1.sp-example.com -p 1489 def-repl-manager-pwd-file:pwd.txt Enter "cn=Directory Manager" password: dsmanager |
Remove the pwd.txt file.
Log out of the ds1.sp-example.com host machine.
Log in to the ds2.sp-example.com host machine as a root user.
Create a temporary file that contains the new replication manager password.
This file will be read once, and the password stored for future use.
# cd /var/opt/mps/serverroot/ds6/bin # echo replmanager > pwd.txt |
Verify that the file was successfully created.
# cat pwd.txt replmanager |
Run dsconf set-server-prop to set the replication manager password using pwd.txt as input.
# ./dsconf set-server-prop -h ds2.sp-example.com -p 1489 def-repl-manager-pwd-file:pwd.txt Enter "cn=Directory Manager" password: dsmanager |
Remove the pwd.txt file.
Log out of the ds2.sp-example.com host machine.