Updating an IBM Db2 Warehouse MPP deployment on Linux
Use the following procedure to update a working Db2® Warehouse MPP deployment. The update process is usually
significantly faster than the initial deployment process. All of your data and settings will
automatically be preserved after the update.
Before you begin
- Clear your browser cache.
- Stop all applications that are connected to the Db2 Warehouse database.
- Close the web console.
- Ensure that your Linux® system meets the prerequisites described in Getting container images.
Procedure
Troubleshooting
If the update attempt fails with SQL code SQL5005C, carry out the troubleshooting procedure. To
check the deployment log for SQL code SQL5005C, issue the following
command:
dashDB bash -c 'cat $PRODUCT_LOGFILE | grep "SQL5005C"'
Troubleshooting procedure:
- Issue the following command to stop the container services for the failed
container:
docker exec -it Db2wh stop
- Issue the following command to stop the container on all
nodes:
docker stop Db2wh
- Issue the following command to remove the failed
container:
docker rm Db2wh
- Restart the update by issuing one of the following docker run commands
concurrently on all node hosts. Do not wait until the command finishes running on one node host
before issuing it on another.
- For POWER LE
hardware:
docker run -d -it --privileged=true --net=host --name=Db2wh -v /mnt/clusterfs:/mnt/bludata0 -v /mnt/clusterfs:/mnt/blumeta0 icr.io/obs/hdm/db2wh_ee:v11.5.6.0-db2wh-ppcle
- For z Systems hardware:
docker run -d -it --privileged=true --net=host --name=Db2wh -v /mnt/clusterfs:/mnt/bludata0 -v /mnt/clusterfs:/mnt/blumeta0 icr.io/obs/hdm/db2wh_ee:v11.5.6.0-db2wh-s390x
- For x86
hardware:
docker run -d -it --privileged=true --net=host --name=Db2wh -v /mnt/clusterfs:/mnt/bludata0 -v /mnt/clusterfs:/mnt/blumeta0 icr.io/obs/hdm/db2wh_ee:v11.5.6.0-db2wh-linux
- For POWER LE
hardware: