Setting up dedicated nodes for your Db2 Warehouse deployment
You can dedicate one or more worker nodes to your Db2® Warehouse database service. The nodes are then used exclusively by the database containers or pods.
About this task
Red Hat® OpenShift® uses the concepts of taint and toleration to dedicate a service such as Db2 Warehouse to particular nodes. Nodes are tainted and labeled:
- A taint prevents pods from being deployed on a tainted node.
- A label allows for a pod with a matching toleration to be treated as an exception.
Taint and toleration work together to provide node exclusivity to deploying Db2 Warehouse on particular nodes
Perform these steps for each worker node that you plan to dedicate to the database deployment. The steps use Red Hat OpenShift CLI commands. The node_name is the name of a worker node on which you plan to host Db2 Warehouse.
Procedure
What to do next
When you create a database deployment, you will provide the dedicated_specifier label that you used in the Value for node label field.