1. 升级Grid Infrastructure 1.1 升级前准备 1.1.1 软件准备 这个当然不用多说:下载、上传到服务器、解压 1.1.2 新建GI的新
首页 → 数据库技术
背景:
阅读新闻
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]
Oracle RAC升级时遇到[INS-06006]的解决方法
Oracle 11.2.0.3.0 RAC GI_DB升级到11.2.0.4.0
相关资讯 Oracle 11g升级 Oracle 11g单实例
图片资讯
本文评论 查看全部评论 (0)
评论声明
最新资讯
本周热门
Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
本站(LinuxIDC)所刊载文章不代表同意其说法或描述,,仅为提供更多信息,也不构成任何建议。
Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号