1) login in as root on directory server 1(ds1) 2) Optional) Run dsconf list-suffixes to verify that the user data instance is not already enabled for replication. # cd /var/opt/mps/serverroot/ds6/bin # ./dsconf list-suffixes -p 1489 -v Enter "cn=Directory Manager" password: dsmanager ... dc=company,dc=com 1 not-replicated N/A N/A 29 0 The "lists!""i#es" operation s!cceeded on "ds$.e#a%ple.co%:$&'9" The (ase s!""i# o" the !ser data instance is not replicated. 3)Run dsconf enable-repl to enable replication of the user data instance. # ./dsconf enable-repl - ds-1.example.com -p 1489 -d 11 master dc=company,dc=com Enter "cn=Directory Manager" password: dsmanager )se "dscon" createreplag%t" to create replication agree%ents on "dc=co%pany*dc=co%". The d option ta+es as inp!t a rando%ly chosen identi"ier to represent the Directory ,er-er $ !ser data instance. in this case* $$ %aster indicates that the !ser data instance is a %aster and not a replica. The (ase s!""i# is speci"ied as dc=co%pany*dc=co%. 4)Run dsconf list-suffixes again to verify that the instance is nowenabled for replication. # ./dsconf list-suffixes -p 1489 -v Enter "cn=Directory Manager" password: dsmanager ... dc=co%pany*dc=co% $ %aster/$$0 N/A N/A 29 0 The "lists!""i#es" operation s!cceeded on "ds$.e#a%ple.co%:$&'9" The (ase s!""i# o" the instance is %aster/$$0 indicating that the %aster was s!ccess"!lly ena(led. 5) Log out of the directory server !ds-1" host machine. To Enable replication on Directory Server 2 1) login in as root on directory server 1(ds-2) 2) Optional) Run dsconf list-suffixes to verify that the user data instance is not already enabled for replication. # cd /var/opt/mps/serverroot/ds6/bin # ./dsconf list-suffixes -p 1489 -v Enter "cn=Directory Manager" password: dsmanager ... dc=company,dc=com 1 not-replicated N/A N/A 29 0 The "lists!""i#es" operation s!cceeded on "ds2.e#a%ple.co%:$&'9" The (ase s!""i# o" the !ser data instance is not replicated. 3)Run dsconf enable-repl to enable replication of the user data instance. # ./dsconf enable-repl - ds-#.example.com -p 1489 -d ## master dc=company,dc=com Enter "cn=Directory Manager" password: dsmanager )se "dscon" createreplag%t" to create replication agree%ents on "dc=co%pany*dc=co%". The d option ta+es as inp!t a rando%ly chosen identi"ier to represent the Directory ,er-er $ !ser data instance. in this case* 22 %aster indicates that the !ser data instance is a %aster and not a replica. The (ase s!""i# is speci"ied as dc=co%pany*dc=co%. 4)Run dsconf list-suffixes again to verify that the instance is nowenabled for replication. # ./dsconf list-suffixes -p 1489 -v Enter "cn=Directory Manager" password: dsmanager ... dc=co%pany*dc=co% $ %aster/220 N/A N/A 29 0 The "lists!""i#es" operation s!cceeded on "ds-#.e#a%ple.co%:$&'9" The (ase s!""i# o" the instance is %aster/220 indicating that the %aster was s!ccess"!lly ena(led. 5) Log out of the directory server !ds-#" host machine
Kali Linux - An Ethical Hacker's Cookbook - Second Edition: Practical recipes that combine strategies, attacks, and tools for advanced penetration testing, 2nd Edition
Java Professional Interview Guide: Learn About Java Interview Questions and Practise Answering About Concurrency, JDBC, Exception Handling, Spring, and Hibernate