IBM Support

Clearing the internal cache after installing a patch on Cloud Pak for Data 2.5.0

How To


Summary

After you install patch cpd-2.5.0.0-ccs-patch-3 or later on IBM Cloud Pak for Data 2.5.0, run the attached shell script to clear a cache that Watson Knowledge Catalog uses for the automated syncing of information assets to the default catalog.

You must clear the cache to prevent performance problems when syncing assets.

Environment

  • Run the clear_cloudant_revision_cache.sh script from a Linux or MacOS system.  The machine must have:
    • The curl command available
    • Network access to the system where Cloud Pak for Data is deployed.
  • Cloud Pak for Data must be running on your cluster. The script will fail if Cloud Pak for Data is down.
  • You must provide the username and password of a Cloud Pak for Data administrator to run the script.

Steps

Obtaining the script
  1. Copy the attached script, clear_cloudant_revision_cache.sh, to the Linux or MacOS system that can connect to your cluster.
Running the script
  1. Change to the directory where you placed the script.
  2. Make the script executable:
    chmod u+x clear_cloudant_revision_cache.sh
  3. Run the script:
    ./clear_cloudant_revision_cache.sh Cloud_Pak_for_Data_hostname admin_username admin_password
    Replace the following variables with the correct values for your environment:
    • Cloud_Pak_for_Data_hostname
    • admin_username
    • admin_password
When the script completes, you should see a similar message in the output:
Cloudant revision cache has been cleared successfully for the default catalog (ac4d7fc8-85ff-499e-ba09-405986667cd3).

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHGYS","label":"IBM Cloud Pak for Data"},"ARM Category":[{"code":"a8m0z000000Gp4cAAC","label":"Installation->Post-installation tasks"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2.5.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 June 2020

UID

ibm16211916