User Guide
2 On the server machines, stop the Hyperion S9 OpenLDAP service or process.
3 On the master server (for example, machine1), create a directory (for example, C:\OpenLDAP\logs
in Windows or /apps/OpenLDAP/logs in UNIX) to store the replication log files.
4 On the master server, update the <
openLDAP_Home
>\slapd.conf file with the following directives.
● replica directive.
replica uri=ldap://<
slave_host_name
>:58089
binddn= “cn=Replicator,dc=css,dc=hyperion,dc=com”
bindmethod=simple credentials=security
Where
<slave_host_name>
is the name of the slave host machine (for example,
machine2). You can use the IP address of the slave host instead of the DNS name. You must
specify one replica directive for each slave.
Caution!
The second and third lines of the replica directive must be preceded by at least one white
space, to denote that the line is a continuation of the previous line.
● replogfile directive:
replogfile
<path_to_sldap.replog>
Examples:
❍ replogfile C:\\OpenLDAP\\logs\\sldap.replog (Windows)
❍ replogfile /apps/OpenLDAP/logs/sldap.replog (UNIX)
5 On the slave server (for example, machine2), update the
<HSS_home>
\openLDAP\slapd.conf file:
a. Add an updatedn entry.
The values and the
binddn entry (in the master slapd.conf file) must be the same.
Example:
updatedn=”cn=Replicator,dc=css,dc=hyperion,dc=com”
b. Add the following updateref entry that provides the URI to the Native Directory master.
updateref “ldap://
<master_host_name>
”
For example, updateref “ldap://machine1”.
You can use IP address instead of the DNS name; for example,
updateref “ldap://
192.168.167.166”
c. Update the rootdn value to be identical to the updatedn (replicator) value:
rootdn “cn=Replicator,dc=css,dc=hyperion,dc-com”
6 Copy Native Directory data from the master server to the slave server .
The default location of Native Directory data is <
openLDAP_Home
>/var/OpenLdap-data.
7 On the master server, update the CSS.xml file, which is located in the
<HSS_home>
\config.
Setting Up Native Directory for High Availability and Failover
95