记录在AIX 5.3 平台下二个节点的ORACLE RAC,从10.2.0.1升级到10.2.0.4注意的事项:


转载时请务必以超链接形式标明文章 原始出处和作者信息及本版权声明
链接:http://www.dbasky.net/archives/2009/07/aix-53-oracle-rac1020110204.html
1:升级CRS:
A:安装完成CRS后,需要升级到10204,10204的升级文档指出

If you attempt to install this patch set in an Oracle home directory that does not contain an Oracle Database 10grelease 10.2.0.2 or higer installation, Oracle Universal Installer displays a warning dialog with the following error:

OUI-10091: There are no patches that need to be applied from the patch set Oracle Database 10gRelease 2 Patch Set 2 10.2.0.3

The Oracle Universal Installer does not allow the installation to proceed. ClickOK, then clickCancelto end the installation.

需要先升级到10202或者10203后才能升级到10204。

PATCH 6160398我认为可以不装,装CRS后升级到10203在直接升级到10204,然后应用PATCH 7715304,参见METALINK405820.1

否则在升级完成运行脚本时会报错

[root@db1:/oralce/crs/install] ./root102.sh

Error : Please change the CRS_ORACLE_USER id <oracle> to have the following OS capabilities :

 < CAP_PROPAGATE CAP_BYPASS_RAC_VMM CAP_NUMA_ATTACH >

by running </usr/bin/chuser> command then 'crsctl stop crs' and 'crsctl start crs'.

The CSS daemon, ocssd.bin, will not run in realtime without this change

B:升级CRS前,需要修改某些对象权限

[root@db1:/oralce/crs/install] chmod -R +wCRS_HOME/inventory/Templates/*

[root@db1:/oralce/crs/install]  /usr/sbin/slibclean

c:升级10203时,遇到如下问题

Relinking some shared libraries.

ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait

ld: 0711-224 WARNING: Duplicate symbol: aio_nwait

ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout

ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait

ld: 0711-224 WARNING: Duplicate symbol: aio_nwait

ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout

ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

ld: 0711-783 WARNING: TOC overflow. TOC size: 67184    Maximum size: 65536                Your computer code is 50986880

       Extra instructions are being generated for each reference to a TOC

       symbol if the symbol is in the TOC overflow area.

ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait

ld: 0711-224 WARNING: Duplicate symbol: aio_nwait

ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout

ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait

ld: 0711-224 WARNING: Duplicate symbol: aio_nwait

ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout

ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

ld: 0711-783 WARNING: TOC overflow. TOC size: 67184    Maximum size: 65536

       Extra instructions are being generated for each reference to a TOC

       symbol if the symbol is in the TOC overflow area.

WARNING: TOC overflow错误可以忽略。

WARNING: Duplicate symbol相关的问题还没查过,不过升级10204时没出问题,暂时忽略该问题

d:在CRS升级完后,可能会遇到VIP起不来

这个是由于没有设置网关,解决办法有二个:
1):设置网卡的网关。
2):[root@db1:/oralce/crs/install]  vi /oracle/crs/bin/racgvip
                                    
     把 FAIL_WHEN_DEFAULTGW_NO_FOUND=1 修改            为:FAIL_WHEN_DEFAULTGW_NO_FOUND=0

e:升级到10204时候,ORACLCE用户需要CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,和CAP_PROPAGATE这些操作系统能力来升级集群件

# /usr/sbin/lsuser -a capabilities oracle

# /usr/bin/chuser capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE oracle (升级说明中有错误,中间应该是",",而不是空格)

否则在升级完成运行脚本时会报错

[root@db1:/oralce/crs/install] ./root102.sh

Error : Please change the CRS_ORACLE_USER id <oracle> to have the following OS capabilities :

 < CAP_PROPAGATE CAP_BYPASS_RAC_VMM CAP_NUMA_ATTACH >

by running </usr/bin/chuser> command then 'crsctl stop crs' and 'crsctl start crs'.

The CSS daemon, ocssd.bin, will not run in realtime without this change

2:接下来升级oracle软件和实例(dbua)。
 

发表评论

个人介绍

Xu
Evangelist
Oracle DBA / Blogger
Life@Beijing
Work@恩世教育
详细介绍...

按月归档

Close