Installing Db2 Warehouse on IBM Cloud Pak For Data by using cpd-cli
Complete this task to install IBM® Db2® Warehouse on IBM Cloud Pak® For Data as your database by using cpd-ci.
About this task
For more information about Db2 Warehouse on IBM Cloud Pak For Data, seeIBM Cloud Pak for Data Pre-installation tasks
Procedure
-
Download and install cpd-cli:
- Download cpd-cli.
- Extract and move folder to
/Users/username
.Note: Replace the username in the folder path with an appropriate username. - Add the folder to the path by using
export PATH=/Users/username/cpd-cli-darwin-SE-11.3.0-52:$PATH
. - Open cpd-cli and plugin files in the
lib/darwin
folder and right click each file to clickVerify
. - Enter
cpd-cli manage restart-container
. - Enter
restart docker
.
-
Log in to the Red Hat®
OpenShift® Container Platform cluster.
cpd-cli manage oc login --token=sha256~B2zPGaYcq8OjMmHfEdRTz0SfIForWpexhwUM --server=https://c106-e.us-south.containers.cloud.ibm.com:42171
-
Add entitlement key.
export IBM_ENTITLEMENT_KEY=ciOiJIUzI1NiJ9.eyJpcn0.P6EO8WX4JTFQPCT1imFzl2PtgHQImc2K cpd-cli manage add-icr-cred-to-global-pull-secret ${IBM_ENTITLEMENT_KEY}
-
Install operators.
cpd-cli manage apply-olm --release=4.5.3 --components=cpfs,cpd_platform,db2wh,dmc --cpd_operator_ns=cpd-operators
-
Set up an instance.
cpd-cli manage setup-instance-ns --cpd_instance_ns=ibm-cpd --cpd_operator_ns=cpd-operators
-
Create instances.
cpd-cli manage apply-cr --components=cpfs,cpd_platform,db2wh,dmc --release=4.5.3 --cpd_instance_ns=ibm-cpd --block_storage_class=ibmc-block-gold --file_storage_class=ibmc-file-gold-gid --license_acceptance=true
Component Operator API Instance cpfs IBM Cloud® Pak foundational services CommonService cpfs IBM NamespaceScope Operator Namespace Scope cpfs Operand Deployment Lifecycle Manager OperandBindInfo OperandConfig OperandRegistry OperandRequest cpd_platform Cloud Pak for Data Platform Operator Ibmcpd ibmcpd-cr ibmcpd-cr IBM Cert Manager Certificate Request Certificate Cert Manager Challenge ClusterIssuer Issuer Order ibmcpd-cr IBM Zen Service ZenService ZenExtension db2wh IBM Db2 BigSQL Db2uCluster Db2uHadr Db2uHelmMigration Db2whService Formation FormationLock dmc IBM Db2 Data Management Console Dmc4ocp Dmcaddon Dmc wml IBM WML Services WmlBase