Porting IBM Db2 Warehouse (Linux)
Moving your Db2 Warehouse deployment, whether single node (SMP) or multinode (MPP), is a simple process that requires you to copy your data to the target system and then issue a few docker commands.
Before you begin
Ensure that your Linux® system meets the prerequisites described in Getting container images.
About this task
You can move your deployment to another system or cluster. You can also move your deployment as part of expanding and upgrading your cluster. In addition, you can use the procedure in this topic as a disaster recovery method if your original cluster is down but your data is still intact.
Be aware of the following requirements and restrictions:
- You cannot port from one platform to another, such as from x86 to POWER® LE or vice versa.
- You cannot port an SMP deployment to an MPP cluster.
- The Db2 Warehouse image on the target system cannot be an earlier version. However, you can port to a system with a newer version of Db2 Warehouse.
- The target system or cluster cannot have any content in the /mnt/clusterfs directory. To delete any content, use the docker rm -rf /mnt/clusterfs or podman rm -rf /mnt/clusterfs command.
- The target system or cluster cannot have any existing Db2 Warehouse containers. To delete any containers, use the docker rm Db2wh or podman rm Db2wh command.
- You can port your deployment to a target system or cluster with more or fewer resources than the original deployment had (that is, scale up or down) if it meets the minimum hardware requirements for a Db2 Warehouse deployment.
- An MPP target cluster does not need to have the same topology as an MPP source cluster, but the target cluster must have one head node and at least two data nodes. The maximum number of nodes is either 24 (one head node and 23 data nodes) or 60 (one head node and 59 data nodes). The maximum depends on the number of data partitions that were allocated when you deployed Db2 Warehouse. For more information, see Scaling your IBM Db2 Warehouse deployment.
To do this task, you require root authority.
To pull a Db2 Warehouse container image, see Getting container images.