Cisco Cisco Agent Desktop 8.0 テクニカルリファレンス

ページ / 214
Cisco CAD Service Information 7.0(2)
174
31-Mar-06
10. Change directories to …Cisco\Desktop\bin (the drive and exact location of 
this directory depends on where the services were installed).
11. In the …Cisco\Desktop\bin directory, type the command:
slapadd -f slapd.conf -l backup.ldif -c
and press Enter.
12. Type exit and press Enter to close the DOS window. 
13. Restart the Cisco LDAP Monitor service.
Primary and Secondary Directory Services 
Databases are Out of Sync
The secondary Directory Services database can become out of sync with the primary 
Directory Services database. A possible reason for this to occur is that the secondary 
database was reinstalled.
Follow these steps to sync up the two databases:
1. On the PC hosting the primary database, stop the Cisco Desktop LDAP 
Monitor.
2. Remove all contents from the files repl.log and repl.log.lock from the 
…\Cisco\Desktop\ directory.
3. Delete all files in the …\Cisco\Desktop\run\logs\replica directory.
4. Open a command window on the primary database computer.
5. Change directories to …Cisco\Desktop\bin (the drive and exact location of 
this folder depends on where the service was installed).
6. In the …Cisco\Desktop\bin directory, type the command:
slapcat -f slapd.conf -l backup.ldif -c
and press Enter.
A file called backup.ldif is generated.
7. Copy the backup.ldif file to the computer on which the secondary LDAP 
service is installed, into the …Cisco\Desktop\bin folder. 
8. On the PC hosting the secondary database, stop the Cisco Desktop LDAP 
Monitor.
9. Rename the existing folder …Cisco\Desktop\database to 
…Cisco\Desktop\old_database. 
10. Create a new folder called …Cisco\Desktop\database.
11. Copy DB_CONFIG and all files with a *.dat extension from the old_database 
folder to the database folder.