In this Document
| Purpose |
| Scope |
| Details |
| A. Grid Infrastructure Cluster - Entire Cluster |
| Why is deconfigure needed? |
| Steps to deconfigure |
| B. Grid Infrastructure Cluster - One or Partial Nodes |
| Steps to deconfigure and reconfigure |
| C. Grid Infrastructure Standalone (Oracle Restart) |
| Why is deconfigure needed? |
| Steps to deconfigure |
| D. Grid Infrastructure Deinstall |
| References |
This note provides instruction to deconfigure/reconfigure or deinstall 11gR2 Grid Infrastructure.
This document is intended for Oracle Clusterware/RAC Database Administrators and Oracle Support engineers.
Deconfigure and reconfigure entire cluster will rebuild OCR and Voting Disk, user resources (database, instance, service, listener etc) will need to be added back to the cluster manually after reconfigure finishes.
Deconfigure is needed when:
Before deconfiguring, collect the following as grid user if possible to generate a list of user resources to be added back to the cluster after reconfigure finishes:
To deconfigure:
On all remote nodes, as root execute:# <$GRID_HOME>/crs/install/rootcrs.pl -deconfig -force -verbose
Once the above command finishes on all remote nodes, on local node, as root execute:# <$GRID_HOME>/crs/install/rootcrs.pl -deconfig -force -verbose -lastnode
To reconfigure, run $GRID_HOME/crs/config/config.sh, refer to note 1354258.1 for details
- If GI version is 11.2.0.3 AND fix for bug 13058611 and bug 13001955 has been applied, or GI version is 11.2.0.3.2 GI PSU (includes both fixes) or higher:
On all remote nodes, as root execute:# <$GRID_HOME>/crs/install/rootcrs.pl -deconfig -force -verbose
Once the above command finishes on all remote nodes, on local node, as root execute:# <$GRID_HOME>/crs/install/rootcrs.pl -deconfig -force -verbose -keepdg -lastnode
To reconfigure, run $GRID_HOME/crs/config/config.sh, refer to note 1354258.1 for details
- If fix for bug 13058611 and bug 13001955 has NOT been applied:
On all nodes, as root execute:# <$GRID_HOME>/crs/install/rootcrs.pl -deconfig -force -verbose
To reconfigure:
For 11.2.0.1 - deinstall and reinstall with OCR/Voting Disk on a new ASM diskgroup or supported cluster/network filesystem
For 11.2.0.2 and onward - run $GRID_HOME/crs/config/config.sh and place OCR/Voting Disk on a new ASM diskgroup or support cluster/network filesystem. Refer to note 1354258.1 for more details of config.sh/config.bat
[ID 1377349.1]
This procedure applies only when all the followings are true:
As root, on each problematic node, execute:# <$GRID_HOME>/crs/install/rootcrs.pl -deconfig -force
# <$GRID_HOME>/root.sh
Deconfigure is needed when:
Before deconfiguring, collect the following if possible:
To deconfigure:
As root execute:
# <$GRID_HOME>/crs/install/roothas.pl -deconfig -force -verbose
To reconfigure, refer to note 1354258.1
As grid user, execute:
For details, refer to the following documentation for your platform.:
Oracle Grid Infrastructure
Installation Guide
How to Modify or Deinstall Oracle Grid Infrastructure
If there's any error, deconfigure the failed GI with steps in Section A - C, and deinstall manually with note 1364419.1
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/15747463/viewspace-757166/ ,如需转载,请注明出处,否则将追究法律责任。