【rac故障】root.sh報錯Unable to get VIP info for new node

lhrbest發表於2020-04-06


報錯:

[root@rac1 ~]# $GRID_HOME/root.sh 
Performing root user operation for Oracle 11g 
The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/11.2.0/grid_1
Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid_1/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding Clusterware entries to upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
ASM created and started successfully.
Disk Group DATA created successfully.
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 3a629092bc464f2abf03557fc35ba6e0.
Successful addition of voting disk 8918288531b84feabfee227fb2a18e50.
Successful addition of voting disk 33fbe865c6f64f69bf4ef15e6c288c00.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   3a629092bc464f2abf03557fc35ba6e0 (ORCL:DATA1) [DATA]
 2. ONLINE   8918288531b84feabfee227fb2a18e50 (ORCL:DATA2) [DATA]
 3. ONLINE   33fbe865c6f64f69bf4ef15e6c288c00 (ORCL:DATA3) [DATA]
Located 3 voting disk(s).
clscfg: EXISTING configuration version 5 detected.
clscfg: version 5 is 11g Release 2.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Unable to get VIP info for new node at /u01/app/11.2.0/grid_1/crs/install/crsconfig_lib.pm line 9008.
/u01/app/11.2.0/grid_1/perl/bin/perl -I/u01/app/11.2.0/grid_1/perl/lib -I/u01/app/11.2.0/grid_1/crs/install /u01/app/11.2.0/grid_1/crs/install/rootcrs.pl execution failed
You have mail in /var/spool/mail/root


解決:

2個節點都執行:

 mv $GRID_HOME/crs/install/crsconfig_addparams  $GRID_HOME/crs/install/crsconfig_addparams_bk


解決:

[root@rac1 ~]# mv $GRID_HOME/crs/install/crsconfig_addparams  $GRID_HOME/crs/install/crsconfig_addparams_bk
[root@rac1 ~]# 
[root@rac1 ~]# 
[root@rac1 ~]# 
[root@rac1 ~]# /u01/app/11.2.0/grid_1/perl/bin/perl -I/u01/app/11.2.0/grid_1/perl/lib -I/u01/app/11.2.0/grid_1/crs/install /u01/app/11.2.0/grid_1/crs/install/rootcrs.pl
Using configuration parameter file: /u01/app/11.2.0/grid_1/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
CRS-2672: Attempting to start 'ora.asm' on 'rac1'
CRS-2676: Start of 'ora.asm' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'rac1'
CRS-2676: Start of 'ora.DATA.dg' on 'rac1' succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
You have mail in /var/spool/mail/root
[root@rac1 ~]# 
[root@rac1 ~]# crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       rac1                                         
ora.asm
               ONLINE  ONLINE       rac1                     Started             
ora.gsd
               OFFLINE OFFLINE      rac1                                         
ora.net1.network
               ONLINE  ONLINE       rac1                                         
ora.ons
               ONLINE  ONLINE       rac1                                         
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       rac1                                         
ora.cvu
      1        ONLINE  ONLINE       rac1                                         
ora.oc4j
      1        ONLINE  ONLINE       rac1                                         
ora.rac1.vip
      1        ONLINE  ONLINE       rac1                                         
ora.scan1.vip
      1        ONLINE  ONLINE       rac1



root.sh Fails With "Unable to get VIP info for new node at" (Doc ID 1454413.1)

In this Document

Symptoms
Changes
Cause
Solution
References


APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

SYMPTOMS

Reconfiguring 11gR2 Grid Infrastructure cluster with  note 1377349.1, root script (root.sh) fails with the following:

  • Screen output
Creating OCR keys for user 'root', privgrp 'root'.. 
Operation successful.
Unable to get VIP info for new node at /ocw/b203/crs/install/crsconfig_lib.pm line 8867.
/ocw/b203/perl/bin/perl -I/ocw/b203/perl/lib -I/ocw/b203/crs/install /ocw/b203/crs/install/rootcrs.pl execution failed
  • <grid-home>/cfgtoollogs/crsconfig/rootcrs_<node>.log
..
2012-04-30 15:35:53: ### Printing the configuration values from files:
2012-04-30 15:35:53:    /ocw/b203/crs/install/crsconfig_params
2012-04-30 15:35:53:    /ocw/b203/crs/install/s_crsconfig_defs
2012-04-30 15:35:53:    /ocw/b203/crs/install/ crsconfig_addparams                ##>> Note: not adding node but  crsconfig_addparams is included
..
2012-04-30 15:40:25:  viplist = ''
2012-04-30 15:40:25:  hostVIP =
2012-04-30 15:40:25: ###### Begin DIE Stack Trace ######
2012-04-30 15:40:25:     Package         File                 Line Calling
2012-04-30 15:40:25:     --------------- -------------------- ---- ----------
2012-04-30 15:40:25:  1: main            rootcrs.pl            378 crsconfig_lib::dietrap
2012-04-30 15:40:25:  2: crsconfig_lib   crsconfig_lib.pm     8867 main::__ANON__
2012-04-30 15:40:25:  3: crsconfig_lib   crsconfig_lib.pm     9061 crsconfig_lib::configNewNode
2012-04-30 15:40:25:  4: crsconfig_lib   crsconfig_lib.pm     9026 crsconfig_lib::configNode
2012-04-30 15:40:25:  5: main            rootcrs.pl            881 crsconfig_lib::perform_configNode
2012-04-30 15:40:25: ####### End DIE Stack Trace #######

2012-04-30 15:40:25: 'ROOTCRS_NODECONFIG' checkpoint has failed
2012-04-30 15:40:25: Running as user grid: /ocw/b203/bin/cluutil -ckpt -oraclebase /home/grid/app/grid -writeckpt -name ROOTCRS_NODECONFIG -state FAIL
2012-04-30 15:40:25: s_run_as_user2: Running /bin/su grid -c ' /ocw/b203/bin/cluutil -ckpt -oraclebase /home/grid/app/grid -writeckpt -name ROOTCRS_NODECONFIG -state FAIL '
2012-04-30 15:40:26: Removing file /tmp/fileRiO0x4
2012-04-30 15:40:26: Successfully removed file: /tmp/fileRiO0x4
2012-04-30 15:40:26: /bin/su successfully executed

2012-04-30 15:40:26: Succeeded in writing the checkpoint:'ROOTCRS_NODECONFIG' with status:FAIL

 

CHANGES

One or more nodes were added at some point in the past.

CAUSE

bug 14020845

SOLUTION

The issue is fixed in 12c.

The workaround is to remove <grid-home>/crs/install/crsconfig_addparams from all nodes, and retry root.sh

REFERENCES

NOTE:1377349.1  - How to Deconfigure/Reconfigure(Rebuild OCR) or Deinstall Grid Infrastructure
NOTE:942166.1  - How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation












About Me

........................................................................................................................

● 本文作者:小麥苗,部分內容整理自網路,若有侵權請聯絡小麥苗刪除

● 本文在itpub、部落格園、CSDN和個人微 信公眾號( DB寶)上有同步更新

● 本文itpub地址: http://blog.itpub.net/26736162

● 本文部落格園地址: http://www.cnblogs.com/lhrbest

● 本文CSDN地址: https://blog.csdn.net/lihuarongaini

● 本文pdf版、個人簡介及小麥苗雲盤地址: http://blog.itpub.net/26736162/viewspace-1624453/

● 資料庫筆試面試題庫及解答: http://blog.itpub.net/26736162/viewspace-2134706/

● DBA寶典今日頭條號地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826

........................................................................................................................

● QQ群號: 230161599 、618766405

● 微 信群:可加我微 信,我拉大家進群,非誠勿擾

● 聯絡我請加QQ好友 646634621 ,註明新增緣由

● 於 2020-04-01 06:00 ~ 2020-04-30 24:00 在西安完成

● 最新修改時間:2020-04-01 06:00 ~ 2020-04-30 24:00

● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解

● 版權所有,歡迎分享本文,轉載請保留出處

........................................................................................................................

小麥苗的微店https://weidian.com/s/793741433?wfr=c&ifr=shopdetail

小麥苗出版的資料庫類叢書http://blog.itpub.net/26736162/viewspace-2142121/

小麥苗OCP、OCM、高可用網路班http://blog.itpub.net/26736162/viewspace-2148098/

小麥苗騰訊課堂主頁https://lhr.ke.qq.com/

........................................................................................................................

使用 微 信客戶端掃描下面的二維碼來關注小麥苗的微 信公眾號( DB寶)及QQ群(DBA寶典)、新增小麥苗微 信, 學習最實用的資料庫技術。

........................................................................................................................

歡迎與我聯絡

 

 



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2684647/,如需轉載,請註明出處,否則將追究法律責任。

相關文章