oadp
install
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.6 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.
Install Cloud Pak for Data Openshift APIs for Data Protection (OADP) backup and restore components.
Syntax
cpd-cli oadp install \
--component=<cpd-cli-oadp-component> \
--cpdbr-hooks-image-prefix=<cpdbr-pod-image-prefix> \
--foundation-namespace=<cpd-foundational-services-namespace> \
--operators-namespace=<cpd-service-operators-namespace> \
[--api-pod-cpu-limit=<cpdbr-api-cpu-limit-value>] \
[--api-pod-cpu-request=<cpdbr-api-cpu-request-limit-value>] \
[--api-pod-mem-limit=<cpdbr-api-mem-limit-value>] \
[--api-pod-mem-request=<cpdbr-api-mem-request-limit-value>] \
[--cpd-namespace=<cpd-control-plane-namespace>] \
[--cpdbr-hooks-pod-cpu-limit=<cpdbr-pod-cpu-limit>] \
[--cpdbr-hooks-pod-cpu-request=<cpdbr-pod-cpu-request>] \
[--cpdbr-hooks-pod-mem-limit=<cpdbr-pod-mem-limit>] \
[--cpdbr-hooks-pod-mem-request=<cpdbr-pod-mem-request>] \
[--grant-image-puller-role=true|false] \
[--image-prefix=<image-registry-prefix>] \
[--log-level=info|debug|warn|error|panic] \
[--namespace=<namespace-name>] \
[--service-account=<service-account-name>] \
[--verbose]
Arguments
The install command has no
arguments.
Options
| Option | Description |
|---|---|
--api-pod-cpu-limit |
The CPU limit for the cpdbr-api pod. A value of 0 indicates unbounded.
|
--api-pod-cpu-request |
The CPU request setting for the cpdbr-api pod. A value of 0 indicates unbounded.
|
--api-pod-mem-limit |
The memory limit for the cpdbr-api pod. A value of 0 indicates unbounded.
|
--api-pod-mem-request |
The memory request setting for the cpdbr-api pod. A value of 0 indicates unbounded.
|
--component |
Specify the cpd-cli oadp component to install.
|
--cpd-namespace |
The Cloud Pak for Data control plane namespace in which the utility operates.
|
--cpdbr-hooks-image-prefix |
Specify the image prefix for the cpdbr service pod.
|
--cpdbr-hooks-pod-cpu-limit |
Specify the CPU limit for the cpdbr service pod. A value of 0 indicates unbounded.
|
--cpdbr-hooks-pod-cpu-request |
Specify the CPU request value for the cpdbr service pod. A value of 0 indicates unbounded.
|
--cpdbr-hooks-pod-mem-limit |
Specify the memory limit for the cpdbr service pod. A value of 0 indicates unbounded.
|
--cpdbr-hooks-pod-mem-request |
Specify the memory request value for the cpdbr service pod. A value of 0 indicates unbounded.
|
--foundation-namespace |
Specify the Cloud Pak for Data foundational services namespace.
|
--grant-image-puller-role |
Grants Cloud Pak for Data instance namespaces permission to pull images from the OADP/Velero namespace. This option is used for air-gapped installations.
|
|
|
Display command
help.
|
--image-prefix |
Specify the image registry
prefix.
|
--log-level |
The command log
level.
|
|
|
The namespace name in which the
utility should operate.
|
--operators-namespace |
Specify the Cloud Pak for Data Operators namespace.
|
--service-account |
Specify the service account.
|
--verbose |
Logs include more detailed
messages.
|
Examples
Use a script to create environment variables with the correct values for your environment. For more information, see Best practice: Setting up install variables.
After installing IBM Spectrum® Protect Plus install the following services to enable backup or restore for an entire Cloud Pak for Data deployment.
- Install the REST service.
-
cpd-cli oadp install \ --image-prefix=icr.io/cpopen/cpd \ --log-level=warn
- Install the cpdbr-hooks service for the Cloud Pak for Data control plane namespace.
-
cpd-cli oadp install \ --cpd-namespace=${PROJECT_CPD_INSTANCE} \ --component=cpdbr-hooks \ --cpdbr-hooks-image-prefix=icr.io/cpopen/cpd \ --log-level=warn - Install the cpdbr-ops-hooks service for the Cloud Pak for Data operators namespace.
-
cpd-cli oadp install \ --component=cpdbr-ops-hooks \ --cpdbr-hooks-image-prefix=icr.io/cpopen/cpd \ --foundation-namespace=ibm-common-services \ --operators-namespace=ibm-common-services \ --log-level=warn