记录一些之前Oracle Linux 6.3安装RAC 11.2.0.3没有碰到的问题及解决。
1.配置对等性出错:
使用sshusersetup.sh脚本配置对等性:
./sshusersetup.sh -user grid -hosts rac2 rac1 -advanced -verbose,配置成功。
问题:rac1上ssh rac2可以,但是在rac2上ssh rac1还是需要密码,并且报错Agent admitted failure to sign using the key.。
解决:在rac1使用ssd-add ~/.ssh/id_rsa把私钥添加进去就好了。
2.刚安装完成之后重启虚拟机,发生脑裂,并且发现私网不通。
问题:CRS报错CRS-4000,并且私网不通。
解决:私网网关配置错误,需要配置成公网一样的网关。(血泪教训啊,卸载GI重装几次,一直没注意)
3.安装报错INS-20802 update Inventory failed
问题:查看lsnrctl status报错:
Message 1053 not found; No message file for product=network, facility=TNSMessage 1020 not found; No message file for product=network, facility=TNSMessage 1021 not found; No message file for product=network, facility=TNSMessage 1022 not found; No message file for product=network, facility=TNSMessage 1023 not found; No message file for product=network, facility=TNSMessage 1026 not found; No message file for product=network, facility=TNSMessage 1034 not found; No message file for product=network, facility=TNSMessage 1024 not found; No message file for product=network, facility=TNSMessage 1025 not found; No message file for product=network, facility=TNSMessage 1040 not found; No message file for product=network, facility=TNSMessage 1033 not found; No message file for product=network, facility=TNSMessage 1028 not found; No message file for product=network, facility=TNSMessage 1415 not found; No message file for product=network, facility=TNS Message 1050 not found; No message file for product=network, facility=TNS
Message 1050 not found; No message file for product=network, facility=TNS
Message 1050 not found; No message file for product=network, facility=TNS
Message 1029 not found; No message file for product=network, facility=TNSMessage 1411 not found; No message file for product=network, facility=TNS
Message 1408 not found; No message file for product=network, facility=TNS
Message 1052 not found; No message file for product=network, facility=TNS
解决:配置正确的ORACLE_HOME。
4.Not All Endpoints Registered
问题:查看crsctl stat res -t,监听后面提示Not All Endpoints Registered
解决:使用srvctl命令重启监听:
srvctl stop listener -n <node name>
srvctl stop scan_listener -i 1(节点数字)
5.虚拟机休眠,然后启动之后网络设置会很卡,并且私网不通。
问题:service network restart报错Error: Connection activation failed: Device not managed by NetworkManager or unavailabl
解决:chkconfig NetworkManager off
service NetworkManager stop
chkconfig network on
service network start
7.安装DB软件报错:
An internal error occurred within cluster verification framework
Unable to obtain network interface list from Oracle
ClusterwarePRCT-1011: Failed to run “oifcfg”. Detailed error: null
由于配置了环境变量,建议去掉环境变量安装,安装过程中再配置环境变量。