This article describes how to patch DB2. First, we need to stop all instances. $ db2list results include db2inst1 and db2inst2, the following is a detailed introduction to the actual operation steps of DB2 patching. We hope you will have a better understanding of it.
Stop all instances first
- $ Db2list results include db2inst1 and db2inst2
Stop both
- Install Fixpak
Upgrade an instance
- $DB2DIR/instance/db2iupdt
Upgrade a DAS instance
- $DB2DIR/instance/dasupdt
Restart an instance
- bind updated Packages
For each instance
- db2 connect to
- db2 BIND $DB2DIR/bnd/@db2ubind.lst GRANT PULIC
- db2 BIND $DB2DIR/bnd/@db2Cli.lst GRANT PULIC
Possible problems
Db2start Error
Solution: kill all processes related to this instance,
- IPClean
- Run db2iupdt
- Db2admin start Error
Solution: kill all processes related to the admin server,
- IPClean
- Run dasupdt
The above content is related to the introduction that the opponent taught you to patch DB2. I hope you will gain some benefits.