Adding privileges to deploy Db2 with the web console

Before you deploy Db2 on IBM Software Hub, you must grant additional privileges to enable the web console to validate your system specifications.

Privileges for resolving available CPU and memory in the cluster for Db2

To add these privileges, run the following command on the OpenShift® cluster:

oc adm policy add-cluster-role-to-user system:controller:persistent-volume-binder system:serviceaccount:${PROJECT_CPD_INST_OPERANDS}:zen-databases-sa

After you run the command, the console is able to validate your selections by checking the available number of nodes on the cluster, whether the nodes are properly labeled and tainted, and the amount of available CPU and memory.

Privileges for creating an NFS PVC for Db2

To add these privileges, run the following command on the OpenShift cluster:

oc adm policy add-cluster-role-to-user system:controller:persistent-volume-binder system:serviceaccount:${PROJECT_CPD_INST_OPERANDS}:zen-databases-sa

After you run the command, the console is able to validate your selections for NFS storage parameters.