你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle 11g单实例GI and DB升级

[日期:2014-02-12] 来源:Linux社区  作者:frank0521 [字体:大 中 小]

1. 升级Grid Infrastructure

1.1 升级前准备

1.1.1 软件准备

 

这个当然不用多说:下载、上传到服务器、解压

 

1.1.2 新建GI的新HOME

mkdir -p /u01/app/11.2.0.4/grid

chown -R grid:oinstall /u01/app/11.2.0.4

chmod -R 775 /u01/app/11.2.0.4

 

1.2 进行升级

[root@Oracle-LAB app]# su - grid

[grid@Oracle-LAB ~]$ cd /software/grid/

[grid@Oracle-LAB grid]$ ./runInstaller

 

根据以上提示执行:

[root@Oracle-LAB /]#/u01/app/grid/product/11.2.0.4/grid/rootupgrade.sh

Performing root user operation for Oracle 11g

The following environment variables are setas:

ORACLE_OWNER= grid

ORACLE_HOME= /u01/app/grid/product/11.2.0.4/grid

 

Enter the full pathname of the local bindirectory: [/usr/local/bin]:

The contents of "dbhome" have notchanged. No need to overwrite.

The contents of "oraenv" have notchanged. No need to overwrite.

The contents of "coraenv" have notchanged. No need to overwrite.

 

Entries will be added to the /etc/oratab fileas needed by

Database Configuration Assistant when adatabase is created

Finished running generic part of root script.

Now product-specific root actions will beperformed.

Using configuration parameter file:/u01/app/grid/product/11.2.0.4/grid/crs/install/crsconfig_params

Creating trace directory

 

ASM Configuration upgraded successfully.

 

Creating OCR keys for user 'grid', privgrp'oinstall'..

Operation successful.

LOCAL ONLY MODE

Successfully accumulated necessary OCR keys.

Creating OCR keys for user 'root', privgrp'root'..

Operation successful.

CRS-4664: Node oracle-lab successfully pinned.

Replacing Clusterware entries in inittab

Replacing Clusterware entries in inittab

 

oracle-lab 2014/01/03 13:25:23 /u01/app/grid/product/11.2.0.4/grid/cdata/oracle-lab/backup_20140103_132523.olr

 

oracle-lab 2013/12/02 17:22:18 /u01/app/11.2.0/grid/cdata/oracle-lab/backup_20131202_172218.olr

Successfully configured Oracle GridInfrastructure for a Standalone Server

 

完成后在当前GRID帐号下运行:crsctl query has softwareversion查看当前版本信息。

[grid@Oracle-LAB grid]$ crsctl query has softwareversion

Oracle High Availability Services version onthe local node is [11.2.0.4.0]

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款