Cleaning up Content-Aware Storage (CAS) data
You can use CRs to clean the data source.
Clean up the datasource
- Clean up the datasource through CLI
- Ensure that the following commands complete without errors.
- Delete the datasource:
oc delete datasource <datasource-name>
Note: After you delete the datasource, the respective PV, PVC, and Kafka Topic also get deleted. - Delete the watch folder from Scale node:From Scale node, disable any watch that was created by the run:
- List Watches to find the ID for your fileset:
mmwatch all list
- Disable the Watch with the
watch-Id
mmwatch <filesystem name> disable --watch-id <watch id>
- List Watches to find the ID for your fileset:
- Delete the datasource:
- Clean up the datasource through user interface
- To clean up the datasource through UI, perform the following steps:
- Open the IBM Fusion UI.
- Go to .
- Select the data source that you want to delete.
- In the ellipsis overflow menu, click Remove.
Clean up the domain
To delete the Domain, run the following command:
oc delete Domain <domain-name>
Clean up the DocumentProcessor
To delete the Document Processor, run the following
command:
oc delete DocumentProcessor <document-processor-name>
Note: After you delete the DocumentProcessor, the respective deployment, PVC, and
Service also get deleted.