How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]

How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]

 

Modified 10-OCT-2010     Type HOWTO     Status MODERATED

 

In this Document
  Goal
  Solution
     Deconfigure and Reconfigure of Standalone Server (Oracle Restart):
     Deinstall of Grid Infrastructure Standalone Server:
     Deconfigure and Reconfigure of Grid Infrastructure Cluster:
     Deinstall of Grid Infrastructure Cluster:
  References

Platforms: 1-914CU;

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.1 to 11.2.0.1 - Release: 11.2 to 11.2
Generic UNIX
Generic Linux

Goal

This goal of this note is to provide steps to proceed from failed 11gR2 Grid Infrastructure installation.

Similar procedure for 10gR1, 10gR2 or 11gR1 available in note 239998.1 and note 399482.1

Solution

Deconfigure and Reconfigure of Standalone Server (Oracle Restart):

  To deconfigure:

    As root, execute "$GRID_HOME/crs/install/roothas.pl -delete -force -verbose"

    If it fails, please disable CRS, reboot the node and try the same command:

      As root, execute "$GRID_HOME/bin/crsctl disable has"
      As root, reboot the node; once the node comes backup, execute above deconfigure command again.

  To reconfigure:

    As root, execute "$GRID_HOME/root.sh"      

Deinstall of Grid Infrastructure Standalone Server:

As grid user, execute $GRID_HOME/deinstall/deinstall

 

Deconfigure and Reconfigure of Grid Infrastructure Cluster:

Identify cause of root.sh failure by reviewing logs in $GRID_HOME/cfgtoollogs/crsconfig and $GRID_HOME/log, once cause is identified, deconfigure and reconfigure with steps below - please keep in mind that you will need wait till each step finishes successfully before move to next one:

        Step 0: For 11.2.0.2 and above, root.sh is restartable. Once cause is identified and fixed, root.sh can be executed again on the failed node, if it succeeds, you can continue with the installation, otherwise proceed to next step (Step 1) of the note.

Step1 and 2 can be skipped on node(s) which haven't execute root.sh yet.

        Step 1: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force" on all nodes, except the last one.

        Step 2: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode" on last node. This command will zero out OCR and VD disk also.

Note: Step1 and 2 should remove checkpoint file. To verify:

              ls -l $ORACLE_BASE/Clusterware/ckptGridHA_<nodename>.xml

If it's still there, please remove it manually with "rm" command on all nodes

 

        Step 3: As root, run $GRID_HOME/root.sh on first node

        Step 4: As root, run $GRID_HOME/root.sh on all other node(s), except last one.

        Step 5: As root, run $GRID_HOME/root.sh on last node.

Deinstall of Grid Infrastructure Cluster:

Case 1: "root.sh" never ran on this cluster, then as grid user, execute $GRID_HOME/deinstall/deinstall

Case 2: "root.sh" already ran, then follow the step below - please keep in mind that you will need wait till each step finishes successfully before move to next one:

        Step 1: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force" on all node, except the last one. 

        Step 2: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode" on last node. This command will zero out OCR and VD disk also. 

        Step 3: As grid user, run $GRID_HOME/deinstall/deinstall

 

 

References

NOTE:1050908.1 - How to Troubleshoot Grid Infrastructure Startup Issues
NOTE:1054902.1 - How to Validate Network and Name Resolution Setup for the Clusterware and RAC
NOTE:1056322.1 - How to Troubleshoot 11gR2 Installation Issue
NOTE:239998.1 - How to Clean Up After a Failed 10g or 11.1 Oracle Clusterware Installation
NOTE:399482.1 - How to recreate OCR/Voting disk accidentally deleted

你可能感兴趣的:(oracle,server,command,user,each,disk)