`

CRS-0215: Could not start resource 'ora..vip' [ID 356535.1]

阅读更多

Oracle Server - Enterprise Edition - Version: 10.1.0.4 to 11.1.0.7
Information in this document applies to any platform.
Oracle Server Enterprise Edition - Version: 10.1.0.4 to 11.1.0.7

Symptoms

The command : crs_stat -t output shows VIP is offline and trying to start it gives error :
CRS-0215: Could not start resource 'ora.dbtest2.vip'.

Example: crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....st2.gsd application ONLINE ONLINE dbtest2
ora....st2.ons application ONLINE ONLINE dbtest2
ora....st2.vip application ONLINE OFFLINE

# ./srvctl start nodeapps -n dbtest2
dbtest2:ora.dbtest2.vip:Interface eri0 checked failed (host=dbtest2)
dbtest2:ora.dbtest2.vip:Failed to start VIP 10.11.11.198 (host=dbtest2)
dbtest2:ora.dbtest2.vip:Interface eri0 checked failed (host=dbtest2)
dbtest2:ora.dbtest2.vip:Failed to start VIP 10.11.11.198 (host=dbtest2)
CRS-1006: No more members to consider
CRS-0215: Could not start resource 'ora.dbtest2.vip'.
CRS-0210: Could not find resource ora.dbtest2.LISTENER_DBTEST2.lsnr.


To know what is the nodeapps configuration in particular for VIP,
issue the command: srvctl config nodeapps -n <nodename> -a -g -s -l
Example:
/u01/crs/bin/srvctl config nodeapps -n dbtest2 -a -g -s -l
VIP exists.: /dbtest2-vip/10.11.11.198/255.255.255.0/eri0
GSD exists.
ONS daemon exists.
Listener does not exist.


Further debug it by uncommenting the environment variable _USR_ORA_DEBUG=1 in the script $ORA_CRS_HOME/bin/racgvip
OR simply as root user, issue the command : crsctl debug log res "ora.dbtest2.vip:5"
You may turn off debugging with command : crsctl debug log res "ora.dbtest2.vip:0"
Start the VIP using srvctl start nodeapps again. This will create a log for VIP starting problem for 10.2 and above version
in directory $ORA_CRS_HOME/log/<nodename>/racg/*vip.log

 

Example: last lines of the *.vip.log shows -
2005-02-09 20:38:06.711: [    RACG][1] [5602][1][ora.dbtest2.vip]: 203800 [ 5604 ] Checking interface existance
203800 [ 5604 ] Calling getifbyip
203800 [ 5604 ] getifbyip:  started for 10.11.11.198
203800 [ 5604 ] getifbyip: returning IF eri0:1
203800 [ 5604 ] Completed getifbyip eri0:1
203801 [ 5604 ] Completed with in
2005-02-09 20:38:06.711: [    RACG][1] [5602][1][ora.dbtest2.vip]: itial interface test
203801 [ 5604 ] checkIf: start for if=eri0
203801 [ 5604 ] checkIf: -z defaultgw
203801 [ 5604 ] defaultgw:  started
203801 [ 5604 ] defaultgw:  completed with 10.11.11.1
203801 [ 5604 ] checkIf: -n defaultgw
203804 [ 5604 ] checkIf:
2005-02-09 20:38:06.711: [    RACG][1] [5602][1][ora.dbtest2.vip]: in while, before sleep
203805 [ 5604 ] checkIf: in while, before sleep
203806 [ 5604 ] checkIf: checked if=eri0 failed
Interface eri0 checked failed (host=dbtest2)
203806 [ 5604 ] checkIf: end for if=eri0
203806 [ 5604 ] Performing CRS_STAT testing
203806
2005-02-09 20:38:06.711: [    RACG][1] [5602][1][ora.dbtest2.vip]:  [ 5604 ] Completed CRS_STAT testing
203806 [ 5604 ] Completed second gateway test
203806 [ 5604 ] Interface tests

    Failed to start VIP 10.11.11.198 (host=dbtest2)                 

From above we see the VIP:10.11.11.198 is correct however oracle function checkIf
is
failing when trying to reach the default gateway IP:10.11.11.1

Changes

  • Either the default gateway has got changed to someother IP -or-
  • It is on a different network from the client (the network where the VIP is configured on) -or-
  • It is not being used anymore.

Cause

By default, the server's default gateway is used as a ping target during the Oracle RAC 10g VIP status check action.
Upon a ping failure, Oracle will decide that the current interface where the VIP is running has failed, and will initiate
an interface / internode VIP failover.

In above case, we used just one node for CRS installation, so the VIP coudn't failover to other nodes and thus reported additional error like :
CRS-1006: No more members to consider
CRS-0215: Could not start resource 'ora.dbtest2.vip'.

Solution

10.1.0.4 and above introduced a parameter FAIL_WHEN_DEFAULTGW_NOT_FOUND in the file
$ORA_CRS_HOME/bin/racvip to address this problem.

The following steps will fix the VIP starting problem for above mentioned scenario.

1- stop nodeapps
2- As root,
vi the script $ORA_CRS_HOME/bin/racgvip and change the value of
variable FAIL_WHEN_DEFAULTGW_NOT_FOUND=0 .
3- start nodeapps and you should see the resources ONLINE

You may proceed with netca and dbca to create a RAC database after this.


 

分享到:
评论

相关推荐

    rac crs error example

    ### CRS-2676: Start of 'ora.cssd' on 'rac2' succeeded - **ora.cssd**:这是Oracle Clusterware中的一个组件,负责处理集群节点之间的通信,以及故障检测和恢复等功能。 - **成功启动**:此消息表明在名为`rac2`...

    rasterio-1.2.10-cp38-cp38-win-amd64.whl.zip

    row = src.read(1, window=(0, 0, width, 1)) ``` rasterio还提供了强大的处理功能,如重采样、裁剪、拼接、计算统计数据等。例如,你可以使用它来裁剪一个栅格图像到特定的地理范围: ```python from rasterio....

    rac集群节点2宕机

    2015-09-12 06:51:03.598: [ CRSEVT][11304]32CAAMonitorHandler :: 0:Could not join /opt/oracle/product/10.2/crs/bin/racgwrap(check) category: 1234, operation: scls_process_join, loc: childcrash, OS ...

    GDAL-3.8.4-cp310-cp310-win_amd64.whl.zip

    同时,GDAL还提供了一些高级特性,如瓦片服务的生成、VRT(Virtual Raster Tiles)虚拟文件的支持以及GDAL_CRS对象用于处理坐标参考系统。 总之,这个压缩包提供的GDAL库是Python GIS开发中的关键组件,能够帮助...

    GEE Projection The CRS of a map projection could not be parsed

    GEE错误:Error: Projection: The CRS of a map projection could not be parsed. (Error code: 3) 我正在尝试在 Albers 等积投影 ( https://code.earthengine.google.com/ccab6721def78c24dc2a0e079866a6fe ) 中...

    secrules-parser:ModSecurity CRS规则解析器(项目已移至CRS-support:请参阅https:github.comCRS-supportsecrules_parsing)

    OWASP CRS规则解析器 不完整的解析器模型和示例应用程序,用于解析。 它使用python库进行解析。 如何使用它: 初始化子模块(获取CRS规则集): git submodule init git submodule update cd owasp-modsecurity-...

    昏迷CRS-R中文使用手册.pdf

    1. 灵敏度高:相比其他评定量表,CRS-R更能敏感地反映出患者微小的意识改善。 2. 结构化和标准化:CRS-R包含六个感觉领域,每个领域都有具体的评估项目和评分细则,使得评估结果具有高度的可比性和重复性。 3. 可以...

    fiona-1.9.5-cp310-cp310-win_amd64.whl.zip

    为了充分利用Fiona,开发者需要了解基本的地理空间概念,如坐标参考系统(CRS)、几何类型以及GIS文件格式。同时,熟悉Python编程语言和相关的数据分析库(如Pandas和NumPy)也是必要的。通过正确安装并结合其他...

    启动和停止CRS(oracle 11g R2)

    CRS-2673: Attempting to stop 'ora.crsd' on 'node1' ... ``` 这些消息详细记录了 CRS 停止过程中涉及的每个资源和服务的状态。当 CRS 成功停止时,所有相关的资源和服务都应被正确地停止。 #### 五、注意事项 -...

    mod_security_crs-2.2.9-1.el7.noarch.rpm.zip

    文件放服务器下载,请务必到电脑端资源预览或者资源详情查看然后下载

    Cartopy-0.21.1-cp38-cp38-win32.whl.zip

    标题 "Cartopy-0.21.1-cp38-cp38-win32.whl.zip" 提供的信息表明,这是一个包含 Cartopy 库特定版本的 Python 软件包,版本号为 0.21.1,适配于 Python 3.8 平台,并且是为 Windows 32 位系统编译的。Cartopy 是一个...

    部分RPM资源包

    expat-2.0.1-11.el6_2.x86_64.rpm,expat-devel-2.0.1-9.1.el6.x86_64.rpm,expat-devel-2.0.1-11.el6_2.x86_64.rpm,httpd-2.4.7.tar.gz,libxml2-2.9.0.tar.gz,modsecurity-2.8.0.tar.gz,modsecurity-crs_...

    Oracle RAC ASM磁盘组故障解决办法

    CRS-4530:Communications failure contacting Cluster Synchronization Services daemon CRS-4534: Cannot communicate with Event Manager 3. 解决步骤: 3.1 查看集群资源状态,发现资源未启动 3.2 检查 CRS...

    Oracle RAC集群之Oracle CRS的管理与维护.pdf

    [oracle@node-rac1 admin]$ crs_start ora.node-rac1.LISTENER_NODE-RAC1.lsnr ``` 3. 查看资源属性 `crs_stat -p &lt;resource_name&gt;` 命令用于查看资源的详细属性,包括其依赖关系和其他配置信息。这有助于理解资源...

    modsecurity-crs-docker:官方ModSecurity Docker + Core Rule Set(CRS)映像

    核心规则集(CRS)是一组与ModSecurity或兼容的Web应用程序防火墙一起使用的通用攻击检测规则。 ModSecurity是适用于Apache,IIS和Nginx的开源,跨平台Web应用程序防火墙(WAF)引擎。 建造 映像构建需要make ,或者...

    Oracle_for_redhat_as4.0_cluster_全过程

    - 设置Grid Infrastructure,包括ASM(Automatic Storage Management)和CRS(Cluster Ready Services),管理集群资源和服务的自动启动和故障转移。 2.5 **测试与优化** - 测试集群的故障切换和恢复能力,确保在...

    无法启动ASM实例1

    2. 使用`crsctl start resource ora.cssd`命令尝试启动CSS服务。如果失败,检查集群日志,找出错误原因。 3. 如果CSS服务启动成功,但问题依旧,可能是由于网络问题或CSS进程之间的通信问题。检查网络连接,确保所有...

    思科高端路由器资料CRS-1,运营商专用

    思科的CRS-1(Carrier Routing System 1)是一款专为电信运营商设计的高端路由器,它是思科在路由技术领域的旗舰产品,以其强大的性能、高可用性和可扩展性著称。这款路由器的设计目标是为了满足运营商对核心网络的...

    利用rman将oracle 11g的文件系统单实例数据库移植到双机rac asm环境的过程.docx

    ora.c01.vip application ONLINE ONLINE testrac01 ora.SM2.asm application ONLINE ONLINE testrac02 ora.02.lsnr application ONLINE ONLINE testrac02 ora.c02.gsd application ONLINE ONLINE testrac02 ora...

Global site tag (gtag.js) - Google Analytics