This information shows you how to uninstall the cpdbr service.
- Who needs to complete this task?
- A cluster administrator must complete this task.
About this task
Before you can install a new version of the cpdbr service, you must
uninstall the current version.
Best practice: You can run the commands in
this task exactly as written if you set up environment variables. For instructions, see
Setting up
installation environment variables.
Ensure
that you source the environment variables before you run the commands in this task.
Procedure
- Log in to Red Hat®
OpenShift® Container Platform as a cluster
administrator.
${OC_LOGIN}
Remember:
OC_LOGIN is an alias for the oc login
command.
- In the IBM® Software Hub operators project,
uninstall the cpdbr service.
- If you are doing backup and restore with IBM Fusion, run the following command:
cpd-cli oadp uninstall \
--component=cpdbr-tenant \
--tenant-operator-namespace=${PROJECT_CPD_INST_OPERATORS} \
--log-level=debug \
--verbose
- If you are doing backup and restore with the OADP utility, NetApp Trident protect, or Portworx, run the following commands:
cpd-cli oadp uninstall \
--component=cpdbr-tenant \
--tenant-operator-namespace=${PROJECT_CPD_INST_OPERATORS} \
--namespace=${OADP_PROJECT} \
--log-level=debug \
--verbose