db2 fixpack
How to install fixpack on DB2
steps to install fixpack on DB2
Follow the steps below to upgrade your DB2 Databases installing the next fixpack:
1 - Download the appropriate fixpack
Use the link below to donwload your fixpack
http://www-01.ibm.com/support/docview.wss?rs=71&uid=swg270070532 - Stop all DB2 Process
Do the steps below to all instances
db2 force applications all db2 terminate db2stop db2licd -end # run at each physical partition . $HOME/das/dasprofile db2admin stop
3 - Disable the fault monitor processes:
Log on as root.
Locate where the db2fmcu command runs from by issuing the command:
ps -ef
For example, on AIX the db2fmcu command is run from DB2DIR/bin directory, where DB2DIR is the location where the DB2 copy is installed.
Switch to the directory indicated by the ps command.
- Disable the Fault Monitor Coordinator (FMC) by issuing the command:
db2fmcu -d
Note:
1. Since there is only one Fault Monitor Coordinator, this step affects all DB2 copies on the system.
2. After you apply the fix pack, the Fault Monitor Coordinator is reset so that the system's inittab file is again configured to include the FMC. If you do not want to use the FMC, you must reissue the above command after you have applied the fix pack.
- To stop the Fault Monitor Daemon, issue the command:
db2fm -i iname -D
4 - Clean up all DB2 interprocess
Ensure all DB2 interprocess communications are cleaned for the instance to be updated. As the instance owner, run the following command at each physical partition:
$HOME/sqllib/bin/ipclean
5 - Install the fix pack:
- Log on as root.
- Change to the directory that contains the fix pack image.
- Launch the installation by issuing the installFixPack command. For example,
./installFixPack -b DB2DIRwhere DB2DIR
is the location of the DB2 products that you want to update.
6 - Updating the instance
7 - Bind the bind file
- Start the instance
db2start
- Binding
db2 terminate
db2 CONNECT TO dbname
db2 BIND path\db2schema.bnd BLOCKING ALL GRANT PUBLIC SQLERROR CONTINUE
db2 BIND path\@db2ubind.lst BLOCKING ALL GRANT PUBLIC ACTION ADD
db2 BIND path\@db2cli.lst BLOCKING ALL GRANT PUBLIC ACTION ADD
db2 terminate
8 - Check the db2diag.log
If you don see any errors, you can start to use your database upgraded!!!
原文地址:https://www.cnblogs.com/yaoyangding/p/12715848.html
- JavaScript 教程
- JavaScript 编辑工具
- JavaScript 与HTML
- JavaScript 与Java
- JavaScript 数据结构
- JavaScript 基本数据类型
- JavaScript 特殊数据类型
- JavaScript 运算符
- JavaScript typeof 运算符
- JavaScript 表达式
- JavaScript 类型转换
- JavaScript 基本语法
- JavaScript 注释
- Javascript 基本处理流程
- Javascript 选择结构
- Javascript if 语句
- Javascript if 语句的嵌套
- Javascript switch 语句
- Javascript 循环结构
- Javascript 循环结构实例
- Javascript 跳转语句
- Javascript 控制语句总结
- Javascript 函数介绍
- Javascript 函数的定义
- Javascript 函数调用
- Javascript 几种特殊的函数
- JavaScript 内置函数简介
- Javascript eval() 函数
- Javascript isFinite() 函数
- Javascript isNaN() 函数
- parseInt() 与 parseFloat()
- escape() 与 unescape()
- Javascript 字符串介绍
- Javascript length属性
- javascript 字符串函数
- Javascript 日期对象简介
- Javascript 日期对象用途
- Date 对象属性和方法
- Javascript 数组是什么
- Javascript 创建数组
- Javascript 数组赋值与取值
- Javascript 数组属性和方法