On Directory Server 2, start the Directory Server console.
# cd /var/opt/mps/serverroot/ # ./startconsole &
Log in to the Directory Server 2 console using the following information:
In the Directory Server console, under the Servers and Applications tab, expand the Server Administration domain list until you see the Server Group item.
Click to expand the Server Group.
You should see three items: an Administration Server, a Directory Server (am-config), and a Directory Server (ds-config).
Double-click the instance name Directory Server (am-config) to display the console for managing the instance am-config.
Click the Configuration tab and navigate to the Replication pane.
Click the “Enable replication” button to start the Replication Wizard.
Select Master Replica, and then click Next to continue.
Enter a Replica ID, and then click Next.
For this example, when enabling replication on DirectoryServer-2, assign the number 22.
If you have not already been prompted to select the change log file, you are prompted to select one now.
The default change log file is shown in the text field. If you do not wish to use the default, type in a filename for the change log, or click Browse to display a file selector. If the change log has already been enabled, the wizard will skip this step.
If you have not already been prompted to enter and confirm a password for the default replication manager, you are prompted now.
The replication manager is not used in the case of single-master replication, but you must still enter a password to proceed. For this example, enter replm4n4ger .
The Replication Wizard displays a status message while updating the replication configuration.
Click Close when replication is finished.