您的位置:首页 > 其它

11gRAC 安装问题汇总

2014-04-24 09:46 288 查看
最近在RHEL6操作系统上安装11gRAC遇到一些问题,在这里进行汇总一下。

环境

[root@rac2 u01]# uname -a
Linux rac2 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 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

问题1:使用runcluvfy.sh 脚本检测发现,需要安装pdksh和cvuqdisk系统包。其中pdksh需要从网上找一下64位的,cvuqdisk在GRID的安装包中可以找到。
[root@jh4gdb1 software]# rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm
warning: pdksh-5.2.14-37.el5_8.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
Preparing... ########################################### [100%]
1:pdksh ########################################### [100%]

[root@jh4gdb1 rpm]# rpm -ivh cvuqdisk-1.0.9-1.rpm
Preparing...                ########################################### [100%]
1:cvuqdisk               ########################################### [100%]


问题2:ins-30508invalid asm disks

系统安装了多路径管理软件,选择ASM磁盘时,直接使用聚合后路径有可能提示ins-30508invalid asm disks错误。检查发现是权限经常变化,可以使用udev来解决问题。

more 50-udev.rules
SUBSYSTEM=="block", KERNEL=="emcpowera", GROUP="asmadmin", OWNER="grid", MODE="0660"
SUBSYSTEM=="block", KERNEL=="emcpowerb", GROUP="asmadmin", OWNER="grid", MODE="0660"
SUBSYSTEM=="block", KERNEL=="emcpowerc", GROUP="asmadmin", OWNER="grid", MODE="0660"


问题3:在1节点执行root.sh脚本时,可能会遇到libcap.so.1无法找到错误



处理过程

[root@jh4gdb1 rpm]# rpm -q libcap
libcap-2.16-5.5.el6.x86_64
[root@jh4gdb1 lib64]# cd /lib64
[root@jh4gdb1 lib64]# ln -s libcap.so.2.16 libcap.so.1


问题4:多次执行root.sh脚本可能会遇到如下问题
CRS-2728: A resource type with the name 'ora.daemon.type' is already registered
CRS-4000: Command Add failed, or completed with errors.
CRS-2728: A resource type with the name 'ora.haip.type' is already registered
CRS-4000: Command Add failed, or completed with errors.


处理方法
For GI Standalone (Oracle Restart):
# <grid-home>/crs/install/roothas.pl -deconfig -force -verbose
# <grid-home>/root.sh

For GI Cluster:
# <grid-home>/crs/install/rootcrs.pl -deconfig -force -verbose
# <grid-home>/root.sh

执行过程

[root@jh4gdb1 install]# ./rootcrs.pl -deconfig -force -verbose
Using configuration parameter file: ./crsconfig_params
PRCR-1119 : Failed to look up CRS resources of ora.cluster_vip_net1.type type
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.gsd is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.ons is registered
Cannot communicate with crsd

CLSU-00100: Operating System function: failed failed with error data: 2
CLSU-00101: Operating System error message: No such file or directory
CLSU-00103: error location: scrsearch3
CLSU-00104: additional error information: id doesnt exist scls_scr_setval
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'jh4gdb1'
CRS-2679: Attempting to clean 'ora.cssdmonitor' on 'jh4gdb1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'jh4gdb1'
CRS-2679: Attempting to clean 'ora.crf' on 'jh4gdb1'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'jh4gdb1'
CRS-2681: Clean of 'ora.cssdmonitor' on 'jh4gdb1' succeeded
CRS-2681: Clean of 'ora.crf' on 'jh4gdb1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'jh4gdb1' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'jh4gdb1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'jh4gdb1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully deconfigured Oracle clusterware stack on this node


这次处理过程,脚本执行后,可以再次执行root.sh脚本
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息