Rerunning rootupgrade.sh after failures

Overview

  • Failure  running rootupgrade.sh during upgrade  from 11.2.0.3.11 to 11.2.0.4
  • rootupgrade.sh (and root.sh for that matter) are restartable since 11.2.0.2 at least
  • A great deal of logging is available in $GRID_HOME/cfgtoollogs/crsconfig/rootcrs_hostname.log
  • Logfiles locations:
    • Checkpoint file  : /u01/app/grid/Clusterware/ckptGridHA_grac31.xml
    • Log File         :  $GRID_HOME/cfgtoollogs/crsconfig/rootcrs_grac31.log
Simulate an upgrade problem (See Note 1577072.1 )
# 1.st run of ./rootupgrade.sh failed with :
Failed to perform J2EE (OC4J) Container Resource upgrade at /u01/app/11204_upg/grid/crs/install/crsconfig_lib.pm line 9323.
/u01/app/11204_upg/grid/perl/bin/perl -I/u01/app/11204_upg/grid/perl/lib -I/u01/app/11204_upg/grid/crs/install 
/u01/app/11204_upg/grid/crs/install/rootcrs.pl execution failed

After fixing the qosadmin account run rootupgrade.sh again ( from 11.2.0.4 GRID_HOME )

[root@grac31 grid]# ./rootupgrade.sh
..
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/11204_upg/grid/crs/install/crsconfig_params
Installing Trace File Analyzer
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.
CRS-1115: Oracle Clusterware has already been upgraded.
ASM upgrade has finished on last node.
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
--> According to  logfiles following  operations were executed :  
      - OC4J Container
        2014-09-23 08:38:32: J2EE (OC4J) Container Resource Disable ... passed
        2014-09-23 08:38:32: J2EE (OC4J) Container Resource stopped and disabled
      - ASM
        2014-09-23 08:38:32: /u01/app/11204_upg/grid/bin/crsctl set crs activeversion ... passed
        2014-09-23 08:39:32: Rolling upgrade is set to 1
        2014-09-23 08:39:32: End ASM rolling upgrade
        2014-09-23 08:39:32: Executing as grid: /u01/app/11204_upg/grid/bin/asmca -silent -upgradeLocalASM -lastNode /u01/app/11203/grid 

Rerun ./rootupgrade.sh a 3.rd time  

[root@grac31 grid]# ./rootupgrade.sh
..
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/11204_upg/grid/crs/install/crsconfig_params
Installing Trace File Analyzer
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.
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

Leave a Reply

Your email address will not be published. Required fields are marked *