Downgrading Oracle Standalone Cluster
Use this procedure to downgrade Oracle Standalone Cluster after a successful upgrade.
- As the
griduser, downgrade the GIMR using the command syntaxmgmtua downgrade gimrHomefrom 21c GIMR home directory after a successful upgrade:$ $ORACLE_HOME/bin/mgmtua downgrade gimrHomeNote:
Run this step only if the GIMR is configured locally and upgrade is failed after Oracle Grid Infrastructure is upgraded successfully. The GIMR home is not required after the downgrade is complete. - As the
rootuser, use the command syntaxrootcrs.sh -downgradefrom 21c Grid home to downgrade Oracle Grid Infrastructure on all nodes, in any sequence. For example:# $ORACLE_HOME/crs/install/rootcrs.sh -downgradeRun this command from a directory that has write permissions for the Oracle Grid Infrastructure installation user. You can run the downgrade script in parallel on all cluster nodes, but one.
- Downgrade the last node after you downgrade all other nodes:
# $ORACLE_HOME/crs/install/rootcrs.sh -downgrade - As the
griduser, remove Oracle Grid Infrastructure 21c Grid home as the active Oracle Clusterware home:-
On any of the cluster member nodes where the
rootupgrade.shscript has run successfully, log in as the Oracle Grid Infrastructure installation owner. -
Use the following command to start the installer, where
/u01/app/21.0.0/gridis the location of the new (upgraded) Grid home:$ cd $ORACLE_HOME/oui/bin $ ./runInstaller -nowait -waitforcompletion -ignoreSysPrereqs -updateNodeList -silent CRS=false ORACLE_HOME=/u01/app/21.0.0/grid "CLUSTER_NODES=node1,node2,node3" -doNotUpdateNodeListAdd the flag
-cfsif the Grid home is a shared home.
-
- Set previous release Grid home as the active Oracle Clusterware home:
-
On any of the cluster member nodes where the
rootupgradescript has run successfully, log in as the Oracle Grid Infrastructure installation owner. -
Use the following command to start the installer, where the path you provide for
ORACLE_HOMEis the location of the home directory from the earlier Oracle Clusterware installation.$ cd $ORACLE_HOME/oui/bin $ ./runInstaller -nowait -waitforcompletion -ignoreSysPrereqs -updateNodeList -silent CRS=true ORACLE_HOME=pre-upgrade-grid-home "CLUSTER_NODES=node1,node2,node3"
pre-upgrade-grid-home is the previous release Grid home.
-
- As the
rootuser, start the Oracle Clusterware stack on all nodes from previous release Grid home.# crsctl start crs - As the
griduser, run theGIMR_recreate.shscript from 21c Oracle Base directory to recreate the GIMR container:$ $ORACLE_BASE/admin/mgmtdb/GIMR_recreate.shNote:
Run this step only if the GIMR is configured locally in the cluster and upgrade is failed afterrootupgade.shis run successfully on all of the cluster nodes.
Parent topic: Downgrading Oracle Clusterware to an Earlier Release