前言:这几天部署RAC算是费劲周折,本来一天搞定的事情,用了足足三天多的时间,前天搞到晚上发现业务IP和心跳IP机房那边都未做bond,而且多路径映射还存在问题,执行start_udev总是会断开机器连接,需要机房那边协助重启网络处理,后来也未分析出具体原因,由于系统上线在即,也许推系统重做比问题排查更来得快些,反正是个空机器,就这么搞了。今天中午的时候两台物理机交付使用,下午开始部署,又遇到了新的问题。
环境版本:OS版本:RHEL6.6 DB版本:11.2.0.4
问题描述:部署GRID软件的过程中,在最后第一个节点执行root.sh的时候报错,如下:
Adding Clusterware entries to upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'oss-tt-05'
CRS-2676: Start of 'ora.mdnsd' on 'oss-tt-05' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'oss-tt-05'
CRS-2676: Start of 'ora.gpnpd' on 'oss-tt-05' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'oss-tt-05'
CRS-2672: Attempting to start 'ora.gipcd' on 'oss-tt-05'
CRS-2676: Start of 'ora.cssdmonitor' on 'oss-tt-05' succeeded
CRS-2676: Start of 'ora.gipcd' on 'oss-tt-05' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'oss-tt-05'
CRS-2672: Attempting to start 'ora.diskmon' on 'oss-tt-05'
CRS-2676: Start of 'ora.diskmon' on 'oss-tt-05' succeeded
CRS-2676: Start of 'ora.cssd' on 'oss-tt-05' succeeded
Creation of ASM spfile in disk group failed. Following error occured: ORA-29783: GPnP attribute SET failed with error [CLSGPNP_NOT_FOUND]
Configuration of ASM ... failed
see asmca logs at /app/grid/cfgtoollogs/asmca for details
Did not succssfully configure and start ASM at /app/crs/crs/install/crsconfig_lib.pm line 6912.
/app/crs/perl/bin/perl -I/app/crs/perl/lib -I/app/crs/crs/install /app/crs/crs/install/rootcrs.pl execution failed
问题分析:查看生成的日志文件/app/grid/cfgtoollogs/asmca/asmca-170222PM070007.log
根据日志文件去分析,最终继续排查磁盘组映射设备权限问题,还是没有找到破绽,找了朋友去metalink上下载下ORA-29783对应报错和版本的DOC文件,从12C的DOC中发现了些许端倪。
猜想难倒是iptables和selinux没关闭,去系统上查看了下,果不其然,好打脸啊。然后关闭了两台机器上的防火墙,杀掉gpnpd进程,重新执行root.sh通过。
问题总结:基本的部署环境,准备工作一定要做到位,否则后期乱七八糟的报错绝对是一脸懵逼。