Archive

Posts Tagged ‘deconfigure deinstall’

De-configure & Re-configure 11gR2 Grid Infrastucture

August 18, 2013 Leave a comment

Before deconfiguring, collect the following as grid user  to generate a list of user resources to be added back to the cluster after reconfigure finishes:

 $GRID_HOME/bin/crsctl stat res -t
 $GRID_HOME/bin/crsctl stat res -p
 $GRID_HOME/bin/crsctl query css votedisk
 $GRID_HOME/bin/ocrcheck
 $GRID_HOME/bin/oifcfg getif
 $GRID_HOME/bin/srvctl config nodeapps -a
 $GRID_HOME/bin/srvctl config scan
 $GRID_HOME/bin/srvctl config asm -a
 $GRID_HOME/bin/srvctl config listener -l <listener-name> -a
 $DB_HOME/bin/srvctl config database -d <dbname> -a
 $DB_HOME/bin/srvctl config service -d <dbname> -s <service-name> -v

To Deconfigure

If OCR and Voting Disks are NOT on ASM, or If OCR and Voting Disks are on ASM but there’s NO user data in OCR/Voting Disk ASM diskgroup:
On all nodes except master node, as root execute:

# <$GRID_HOME>/crs/install/rootcrs.pl -deconfig -force -verbose

Below is the output

deconfig_rac1
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

Below is the output

deconfig_rac2

If OCR or Voting Disks are on ASM and there is user data in OCR/Voting Disk ASM diskgroup:
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 nodes except master node, 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

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.

Categories: RAC Tags:
Peasland Database Blog

Where all the Action Is !!!!

Kevin Closson's Blog: Platforms, Databases and Storage

Platform, Database and Storage Topics

DBsGuru

Where all the Action Is !!!!

sqlmaria.com/

Oracle Database Product Manager with a passion for SQL, the Optimizer and performance.

Richard Foote's Oracle Blog

Focusing Specifically On Oracle Indexes, Database Administration and Some Great Music

https://dbakevlar.com/

Where all the Action Is !!!!

Pythian Technical Track

Where all the Action Is !!!!

Tales From A Lazy Fat DBA

Its all about Databases & their performance, troubleshooting & much more .... ¯\_(ツ)_/¯

Database Heartbeat

Oracle Database and Oracle Cloud Technologies

Databases Are Fun

dohdatabase.com

Upgrade your Database - NOW!

Mike Dietrich's Blog About Oracle Database Upgrades... Mostly

Oracle database internals by Riyaj

Discussions about Oracle performance tuning, RAC, Oracle internal & E-business suite.

Pavan DBA's Blog

The DBA Knowledge Store

ORACLE-BASE - Latest Articles

Where all the Action Is !!!!