Home > RAC > Deinstall Old Clusterware after upgrading to newer version

Deinstall Old Clusterware after upgrading to newer version


To remove old home, as clusterware user execute the following on any node:

 ## Replace $OLD_HOME with the path of pre-upgrade clusterware home
export ORACLE_HOME=$OLD_HOME
 ## detach OLD_HOME
$OLD_HOME/oui/bin/runInstaller -detachHome -silent ORACLE_HOME=$OLD_HOME
 ## confirm $OLD_HOME is removed from central inventory:
$OLD_HOME/OPatch/opatch lsinventory -all
 ## remove files in OLD_HOME manually:
/bin/rm -rf $OLD_HOME
 unset ORACLE_HOME

If it fails for any reason, as clusterware user execute the following on all nodes:

export ORACLE_HOME=$OLD_HOME
$GRID_HOME/oui/bin/runInstaller -detachHome -noClusterEnabled 
    ORACLE_HOME=/u01/app/11.2.0/grid "INVENTORY_LOCATION=/u01/app/oraInventory" 
                LOCAL_NODE=<node on which command is to be run>.

$OLD_HOME/OPatch/opatch lsinventory -all
/bin/rm -rf $OLD_HOME
 unset ORACLE_HOME
Advertisements
Categories: RAC Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Oracle database internals by Riyaj

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

StartupForce

Where all the Action Is !!!!

Pavan DBA's Blog

The DBA Knowledge Store

ORACLE-BASE - Latest Articles

Where all the Action Is !!!!

%d bloggers like this: