Hi, I downloaded the DB2 Helm chart from
github and db2_developer_c image from
docker store. Then I tried to install DB2 Helm chart for HADR setup. The installation seems successful. 2 DB2 pods are created and instance and database are created. But check the standby pod log, it shows error in hadr setting:
==================================================
(*) HADR setup phase for instance db2inst1 and database FTMDB...(*) Setting up as a STANDBY Server ...(!!!) There was an error while executing setup on STANDBY ... Please check /tmp/setup_hadr.log for more information.(!!!) There was a failure during HADR setup...==================================================
And trace into setup_hadr.log, it shows:
ERROR: The database backup file was not found under /hadr'However I check this path "/hadr", there is already a db backup file.
After reinstalling db2 helm charts several times, found that this problem happens in about 50% installations. Don't know what is the root cause that standby pod cannot find backup file.
The pod log and setup_hadr.log are attached.(logs.tar.gz)
Not sure if anyone also encounter this problem, thanks.
------------------------------
Boris Chang
------------------------------
#Db2