WEB开发网      婵傜晫鐝總钘夊瀻娴滎偓绱掓担鐘垫畱娑撯偓娴犺棄鍨庢禍顐fЦ閹存垳婊戦惃鍕娴犺棄濮╅崝娑崇幢鐠囧嘲鍨庢禍锟� ---閿曪拷
开发学院数据库DB2 在嵌入式数据库环境中自动化 DB2 9.7 数据库维护 阅读

在嵌入式数据库环境中自动化 DB2 9.7 数据库维护

 2010-08-25 00:00:00 来源:WEB开发网 閵嗭拷閸戝繐鐨€涙ぞ缍�婢х偛銇囩€涙ぞ缍�閵嗭拷  閸忚櫕鏁為弶銊︿航妞嬬偟娈戝顔煎触
核心提示: 在 DB2 Fix Packs by version for DB2 for Linux, UNIX and Windows 支持页面上定位想要下载的这个修复包,确保为 DB2 和操作系统的当前版本选择适当的修复包,在嵌入式数据库环境中自动化 DB2 9.7 数据库维护(10),下载这个修复包映

在 DB2 Fix Packs by version for DB2 for Linux, UNIX and Windows 支持页面上定位想要下载的这个修复包。确保为 DB2 和操作系统的当前版本选择适当的修复包。

下载这个修复包映像并将其复制到目标计算机。

在目标计算机上解压缩这个修复包映像。清单 17 显示了解压缩该映像的示例命令。

清单 17. 解压缩该映像的示例命令

gunzip imagefile.tar.gz 
tar -xvf imagefile.tar 

静默地应用此 DB2 修复包

按照如下步骤静默地应用此 DB2 修复包:

确保这个修复包已被复制到目标服务器。

以 DB2 实例所有者身份(比如,db2inst1)登录到目标计算机。

运行 /home/db2inst1/embed-bundle 目录下的 silent_fixpackinstall.sh 脚本,如清单 18 所示:

清单 18. 如何使用 silent_fixpackinstall.sh 脚本

Syntax: 
silent_fixpackinstall.sh --imagepath=<fixpack_imagepath> --path=<db2dir> 
 
--imagepath=<fixpack_imagepath> 
Specifies the full path to the fix pack image. 
This is the location where the fix pack image is uncompressed. 
This is also the parent directory of the fix pack’s "server" directory. 
 
--path=<db2dir> 
Specifies the path where the DB2 product is installed. 
This is same as the value specified for the DB2DIR environment variable. 
 
Example: 
silent_fixpackinstall.sh --imagepath=/opt/software --path=/opt/ibm/db2/V9.7 

上一页  5 6 7 8 9 10 

Tags:嵌入式 数据库 环境

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接