Steps to compare data between backend data source and P-Cache.

Product: FID

Version: Any Version

Question: How to periodically verify if the p-cache is up to date for all the objects. 

 

Answer: 

Step 1: Export backend data as an LDIF file.

Navigate to <RLI_HOME>\vds\bin (from command line as Admin) and run this command ----- vdsconfig.bat export-ldif -basedn "action=ignorecache,<naming_context of proxy>" -scope sub -ldif "<RLI_HOME>\vds\vds_server\ldif\export\export_usecache.ldif" -interactive

 

Step 2: Export cache data as an LDIF file.

Navigate to <RLI_HOME>\vds\bin (from command line as Admin) and run this command ----- vdsconfig.bat export-ldif -basedn "action=usecache,<naming_context of proxy>" -scope sub -ldif "<RLI_HOME>\vds\vds_server\ldif\export\export_usecache.ldif" -interactive

 

Step 3: Sort the exported LDIF files.

Navigate to <RLI_HOME>\vds\bin\advanced (from command line as Admin) and run this command ----- ldif-utils.bat -s "<path of the extracted ldif files in previous steps"

 

Step 4: Compare the sorted LDIF files

Navigate to <RLI_HOME>\vds\bin\advanced (from command line as Admin) and run this command ----- ldif-utils.bat -c "<path of the ignorecache sorted ldif" "<path of the usecache sorted file" -g true -w difference.ldif

 

These steps provide us the difference in objects between backend data source and cache.

 

Capture.PNG

 

 

 

 

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Articles in this section