Deployment > Preparing the Database Environment > Appendixes > Backing Up and Restoring Monitor Administration Configuration Data > Replication
Replication
OpenLDAP provides replication services (see slurpd). You can use these services to maintain a cold-backup of all information on your primary server (the host machine) replicated to a secondary machine. You should consult with the Mercury Business Availability Center system administrator before using these services.
This section contains the following topics:
Establishing Replication
The following procedure assumes that Mercury Business Availability Center is running on a primary machine that also has an LDAP server installed on it, and that a secondary machine is running the secondary LDAP server.
To establish a replicated OpenLDAP service:
- Stop Mercury Business Availability Center.
- Zip the openldap directory (<Mercury Business Availability Center server root directory>\openldap).
- Transfer the openldap.zip file to the secondary machine and unzip it.
- Add a registry entry as needed.
For details on adding a registry entry (when running openldap as a service on a non-standard port), see Starting and Stopping OpenLDAP.
- Edit the slapd.conf file running on the primary LDAP server (located in the <Mercury Business Availability Center server root directory>\openldap directory) and add or uncomment the following lines:
Note: slaveHost is the name of the LDAP server running on the secondary machine.
- Edit the slapd.conf file running on the secondary LDAP server (located in the openldap directory) and add or uncomment the following line:
Note: mercuryAMhostname is the name of the Mercury Business Availability Center primary machine.
- Locate the file replica.log in the <Mercury Business Availability Center server root directory>\openldap directory on the primary machine. If one is not present, create the file.
- Start Mercury Business Availability Center.
- Start the LDAP server running on the secondary machine.
- Verify that replication is successful:
- Add a template container to the enterprise.
- Connect to the secondary machine with an LDAP browser on port 9389, using the credentials: e=SSEnterprise password: fl1pp3r.
- Verify that the template container you added is present in the LDAP server on the secondary machine. There should be an LDAP node on the LDAP server for the object you created.
Modifying the Nanny Supervisor Process for Replicated Environments
On Mercury Business Availability Center machines running both slapd and the slurpd replication service, you should modify the files which control the Nanny supervisor process.
To modify the files controlling the Nanny supervisor process:
| Copyright 2006 Mercury Interactive Corporation |