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

作者: Maclean Liu , post on March 28th, 2010 , English Version
【本站文章除注明转载外,均为本站原创编译】
转载请注明:文章转载自: Oracle Clinic – Maclean Liu的个人技术博客 [http://www.oracledatabase12g.com/]
本文标题: How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]
本文永久地址: http://www.oracledatabase12g.com/archives/how-to-proceed-from-failed-11gr2-grid-infrastructure-crs-installation-id-942166-1.html

Applies to:

Oracle Server – Enterprise Edition – Version: 11.2.0.1 to 11.2.0.2 – 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 -deconfig -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.

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:

A. Step1 and 2 can be skipped on node(s) where root.sh haven’t been execute.

B. 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

C. If GPNP profile is different between nodes/setup, clean it up on all nodes as grid user 

$ rm -rf $GRID_HOME/gpnp/*
$ mkdir -p $GRID_HOME/gpnp/profiles/peer
$GRID_HOME/gpnp/wallets/peer $GRID_HOME/gpnp/wallets/prdr $GRID_HOME/gpnp/wallets/pa $GRID_HOME/gpnp/wallets/root

The profile needs to be cleaned up:

C1. If root.sh is executed concurrently – one should not execute root.sh on any other nodes before it finishes on first node.

C2. If network info, location of OCR or Voting Disk etc changed after Grid is installed.

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” on any node.

 

Complete Configuration Assistant if OUI is Closed:

If  $GRID_HOME/cfgtoollogs/configToolAllCommands doesn’t exist, create a shell script with the following content:

cat $GRID_HOME/cfgtoollogs/configToolAllCommands
/ocw/grid/oui/bin/runConfig.sh ORACLE_HOME=/ocw/grid MODE=perform ACTION=configure RERUN=true $*

If any configuration assistants already finished successfully previously and you’d like to skip them, please be sure to set RERUN to false, for example:

/ocw/grid/oui/bin/runConfig.sh ORACLE_HOME=/ocw/grid MODE=perform ACTION=configure RERUN=false $*

As grid user, execute $GRID_HOME/cfgtoollogs/configToolAllCommands on first node.

© 2010 – 2011, www.oracledatabase12g.com. 版权所有.文章允许转载,但必须以链接方式注明源地址,否则追究法律责任.

相关文章 | Related posts:

  1. 11gR2 Grid Infrastructure Single Client Access Name (SCAN) Explained
  2. Diagnosability for CRS / EVM / RACG
  3. 11gR2 Clusterware and Grid Home – What You Need to Know
  4. Data Gathering for Troubleshooting CRS Issues
  5. oracleasm failed to createdisk on raw device
  6. Step-By-Step Installation of Oracle 9i RAC on IBM AIX
  7. Complete Checklist for Manual Upgrades to 11gR2
  8. FAQ – 11gR2 requires Solaris 10 update 6 or greater

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>