首页 > 数据库技术 > 详细

LINUX5+ASM+ORACLE11.2.0.3.0安装手册

时间:2014-08-08 16:16:16      阅读:767      评论:0      收藏:0      [点我收藏+]


一、安装需知:
1、数据库版本和grid版本号要一致
2、grid版本比oracle版本低,需要升级grid版本,否则dbca失败。
3、本实验采用oracle11.2.0.3.0
4、本实验最先采用grid[11.2.0.1.0],最后又升级到grid[11.2.0.3.0]
5、系统采用linux RED5,linux6就不要用了,6不支持asmlib内核。
第2、4、5点需要注意。

二、系统环境:
操作系统版本:
[root@red1 ~]# uname -r
2.6.18-53.el5xen
[root@red1 ~]# uname -a
Linux red1 2.6.18-53.el5xen #1 SMP Wed Oct 10 16:48:44 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
数据库版本:
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE    11.2.0.3.0      Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
查看grid版本---需要升级:
[grid@red1 bin]$ crsctl query has softwareversion
Oracle High Availability Services version on the local node is [11.2.0.1.0]
grid版本---升级后的:
[grid@red1 bin]$ crsctl query has softwareversion
Oracle High Availability Services version on the local node is [11.2.0.3.0]

grid升级到[11.2.0.3.0]
查看grid版本:
[grid@red1 bin]$ crsctl query has softwareversion
Oracle High Availability Services version on the local node is [11.2.0.1.0]

升级到11.2.0.3.0
下载地址:
http://blog.csdn.net/tanguooo19866/article/details/8568357
升级包:https://updates.oracle.com/Orion/Services/download/p10404530_112030_Linux-x86-64_3of7.zip?aru=14125322&patch_file=p10404530_112030_Linux-x86-64_3of7.zip
升级手段:建立新的安装目录,需要足够的磁盘空间安装grid软件。2g足够!

1解压:p10404530_112030_Linux-x86-64_3of7.zip
2、验证
建立grid新目录,并切换到升级包目录,执行:
./runcluvfy.sh stage -pre crsinst -upgrade -n red1 -rolling -src_crshome /opt/grid  -dest_crshome /opt/grid_11.2.0.3 -dest_version 11.2.0.3.0 -fixup -fixupdir /opt/grid_update_package
./runcluvfy.sh stage -pre crsinst -upgrade -n red1  -src_crshome /opt/grid  -dest_crshome /opt/grid_11.2.0.3 -dest_version 11.2.0.3.0 -fixup -fixupdir /opt/grid_update_package
[grid@red1 grid]$ ./runcluvfy.sh stage -pre crsinst -upgrade -n red1 -src_crshome $ORACLE_HOME -dest_crshome /opt/grid_11.2.0.3 -dest_version 11.2.0.3.0 -fixup -fixupdir /tmp -verbose

Performing pre-checks for cluster services setup

Checking node reachability...

Check: Node reachability from node "red1"
  Destination Node                      Reachable?             
  ------------------------------------  ------------------------
  red1                                  yes                    
Result: Node reachability check passed from node "red1"


Checking user equivalence...

Check: User equivalence for user "grid"
  Node Name                             Status                 
  ------------------------------------  ------------------------
  red1                                  failed                 
Result: PRVF-4007 : User equivalence check failed for user "grid"

ERROR:
User equivalence unavailable on all the specified nodes
Verification cannot proceed


Pre-check for cluster services setup was unsuccessful on all the nodes.
[grid@red1 grid]$

启动图形界面安装,选择update,点下一步就成。
最后执行1个root脚本,选择y覆盖目录,提示
CRS-4664: Node red1 successfully pinned.
Replacing Clusterware entries in inittab
Replacing Clusterware entries in inittab

red1     2014/08/04 11:55:21     /opt/grid_11.2.0.3/cdata/red1/backup_20140804_115521.olr

red1     2014/08/01 15:39:17     /opt/grid/cdata/red1/backup_20140801_153917.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server


安装完成后修改环境变量到新目录。

修改环境变量:
验证新版本:
[grid@red1 ~]$ crsctl query has softwareversion
Oracle High Availability Services version on the local node is [11.2.0.3.0]


LINUX5+ASM+ORACLE11.2.0.3.0安装手册,布布扣,bubuko.com

LINUX5+ASM+ORACLE11.2.0.3.0安装手册

原文:http://blog.csdn.net/chaxiao/article/details/38437979

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!