Install patches in DB2

Source: Internet
Author: User

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

 
 
  1. $ Db2list results include db2inst1 and db2inst2

Stop both

 
 
  1. Install Fixpak 

Upgrade an instance

 
 
  1. $DB2DIR/instance/db2iupdt 

Upgrade a DAS instance

 
 
  1. $DB2DIR/instance/dasupdt 

Restart an instance

 
 
  1. bind updated Packages 

For each instance

 
 
  1. db2 connect to  
  2. db2 BIND $DB2DIR/bnd/@db2ubind.lst GRANT PULIC  
  3. db2 BIND $DB2DIR/bnd/@db2Cli.lst GRANT PULIC  

Possible problems

Db2start Error

Solution: kill all processes related to this instance,

 
 
  1. IPClean
  2. Run db2iupdt
  3. Db2admin start Error

Solution: kill all processes related to the admin server,

 
 
  1. IPClean  
  2. 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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.