设为首页 加入收藏

TOP

Oracle 12.1.0.1 GI+DATABASE打PSU(一)
2015-11-21 01:28:52 来源: 作者: 【 】 浏览:0
Tags:Oracle 12.1.0.1 DATABASE PSU
12.1.0.1 打Patch Set Update 12.1.0.1.9 (Oct2015)
?
机器:两台OLE6.5的,并且安装好12.1.0.1的RAC
?
前期准备: 下载好p6880880_121010_Linux-x86-64(OPATCH工具包),p21551666_121010_Linux-x86-64(GI和DATABASE的PSU)
?
实施过程:
?
首先升级GI软件的OPATCH工具
su - grid
?
--我的p6880880_121010_Linux-x86-64放在/u01/app/opatch/目录下
cd /u01/app/opatch/
?
unzip p6880880_121010_Linux-x86-64
?
[grid@rac1 opatch]$ which crs_stat
/u01/app/grid/12.1.0.1/bin/crs_stat
?
?
--将原先的OPatch 工具进行备份
su -?
?
cd /u01/app/grid/12.1.0.1/
?
mv OPatch/ OPatch_bak
?
---将解压好的OPatch复制到/u01/app/grid/12.1.0.1/ 进行opatch升级
mv /u01/app/opatch/OPatch/ ? /u01/app/grid/12.1.0.1
?
su - grid
[grid@rac1 OPatch]$ ./opatch version
OPatch Version: 12.1.0.1.9
?
OPatch succeeded.
?
--database软件的opatch升级
su - oracle
?
cd /u01/app/opatch/
?
--同样的以ORACLE用户来解压OPatch工具
unzip p6880880_121010_Linux-x86-64
?
?
[oracle@rac1 opatch]$ which sqlplus
/u01/app/oracle/12.1.0/db_1/bin/sqlplus
?
mv /u01/app/oracle/12.1.0/db_1/OPatch /u01/app/oracle/12.1.0/db_1/OPatch_bak
?
mv /u01/app/opatch/OPatch/ /u01/app/oracle/12.1.0/db_1
?
cd /u01/app/oracle/12.1.0/db_1/OPatch
?
[oracle@rac1 OPatch]$ ./opatch version
OPatch Version: 12.1.0.1.9
?
OPatch succeeded.
?
以上升级OPatch工具均要在两个节点上进行
?
接下来升级GI
?
升级前可以先对GI软件进行备份
?
su -?
crsctl stop crs
然后把GI软件tar
?
其实就算补丁打失败了也可以rollback
?
cd /u01/app/grid/12.1.0.1/OPatch/ocm/bin/
?
[grid@rac1 bin]$ chmod u+x emocmrsp
?
[grid@rac1 bin]$ ./emocmrsp
OCM Installation Response Generator 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. ?All rights reserved.
?
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
?
Email address/User Name:?
?
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: ?y
The OCM configuration response file (ocm.rsp) was successfully created.
[grid@rac1 bin]$?
[grid@rac1 bin]$?
[grid@rac1 bin]$ ls -l
total 16
-rwxr-x--- 1 grid oinstall 9063 Nov 27 ?2009 emocmrsp
-rw-r--r-- 1 grid oinstall ?621 Oct 28 11:26 ocm.rsp
?
[oracle@rac1 OPatch]$ cd /u01/app/oracle/12.1.0/db_1/OPatch
[oracle@rac1 bin]$ ls -l
total 12
-rwxr-x--- 1 oracle oinstall 9063 Nov 27 ?2009 emocmrsp
[oracle@rac1 bin]$ chmod u+x emocmrsp
[oracle@rac1 bin]$ ls -l
total 12
-rwxr-x--- 1 oracle oinstall 9063 Nov 27 ?2009 emocmrsp
[oracle@rac1 bin]$ ./emocmrsp?
OCM Installation Response Generator 10.3.7.0.0 - Production
Copyright (c) 2005, 2012, Oracle and/or its affiliates. ?All rights reserved.
?
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:?
?
You have not provided an email address for notification of security issues.
Do you wish to remain un
首页 上一页 1 2 3 下一页 尾页 1/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇oracle字符函数 下一篇Oracle 10g 数据库手动创建步骤

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: