Db2 errore: le operazioni di scrittura sul database sono sospese
Sintomi
Quando si esegue il backup o il ripristino di un OpenPages ambiente, un Db2 pod potrebbe segnalare il seguente errore:
[db2inst1@c-db2oltp-1621935580993371-db2u-0 - Db2U db2inst1]$ db2 connect to OPX
SQL1552N The command failed because write operations for the database are suspended
or are being suspended.
Risoluzione del problema
Se questo Db2 errore compare dopo un backup online, esegui il seguente comando:
cpd-cli oadp backup posthooks \
--include-namespaces ${PROJECT_CPD_INST_OPERANDS} \
--hook-kind=checkpoint
Se questo Db2 errore compare dopo un backup offline, esegui il seguente comando:
cpd-cli oadp backup posthooks \
--include-namespaces ${PROJECT_CPD_INST_OPERANDS}
Se questo Db2 errore compare dopo un ripristino online, esegui il seguente comando:
cpd-cli oadp restore posthooks \
--include-namespaces ${PROJECT_CPD_INST_OPERANDS} \
--hook-kind=checkpoint
Se questo Db2 errore compare dopo un ripristino offline, esegui il seguente comando:
cpd-cli oadp restore posthooks \
--include-namespaces ${PROJECT_CPD_INST_OPERANDS}