Cisco Cisco Agent Desktop 9.0 Fehlerbehebungsanleitung

Seite von 142
Recovering the Directory Services Database
March 13, 2015
51
Follow these steps to sync up the two databases:
1. On the PC hosting the database, stop the LDAP Monitor service. If you are 
using flat files instead of SQL Server, stop the Recording and Statistics 
service. 
2. Open a command window on the primary database computer.
3. Change directories to …Cisco\Desktop\bin (the drive and exact location of 
this folder depends on where the service was installed).
4. Type the following command and press Enter. A file called backup.ldif is 
generated.
slapcat -f slapd.conf -l backup.ldif -c
5. Copy the backup.ldif file to the computer on which the secondary LDAP 
service is installed, into the …Cisco\Desktop\bin folder. 
6. On the PC hosting the secondary database, stop the LDAP Monitor service. If 
you are using flat files instead of SQL Server, stop the Recording and 
Statistics service.
7. Rename the existing folder …Cisco\Desktop\database to 
…Cisco\Desktop\old_database. 
8. Create a new folder called …Cisco\Desktop\database.
9. Copy DB_CONFIG and all files with a *.dat extension from the old_database 
folder to the database folder. If you are using flat files instead of SQL Server, 
copy all sub folders from the old_database folder to the new database folder.
10. Open a command window on the secondary database computer and change 
directories to …Cisco\Desktop\bin (the drive and exact location of this folder 
depends on where the service was installed).
11. Type the following command and press Enter.
slapadd -f slapd.conf -l backup.ldif -c
12. Type 
exit
 and press Enter to close the DOS window. 
13. Restart the LDAP Monitor service on the secondary computer. If you are using 
flat files instead of SQL Server, restart the Recording and Statistics service on 
the secondary computer.
14. Restart the LDAP Monitor service on the primary computer. If you are using 
flat files instead of SQL Server, restart the Recording and Statistics service on 
the primary computer.