- Grid Infrastructure Installation and Upgrade Guide
- Upgrading Oracle Grid Infrastructure
- Downgrading Oracle Clusterware to an Earlier Release
- Downgrading Oracle Clusterware to 18c
- Downgrading Oracle Member Cluster to 18c
Downgrading Oracle Member Cluster to 18c
Use this procedure to downgrade Oracle Member Cluster to Oracle Grid Infrastructure 18c after a successful upgrade.
- As
griduser, use the command syntaxmgmtua downgradefrom 19c Grid home to downgrade Oracle Member Cluster whereoldOracleHomeis 18c Grid home andversionis the five digit release number:$ $ORACLE_HOME/bin/mgmtua downgrade -member -oldOracleHome /u01/app/18.0.0/grid -toVersion version - As
rootuser, use the command syntaxrootcrs.sh -downgradefrom 19c 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.
- As
rootuser, downgrade the last node after you downgrade all other nodes:# $ORACLE_HOME/crs/install/rootcrs.sh -downgrade - As
griduser, remove Oracle Grid Infrastructure 19c 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/19.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/19.0.0/grid "CLUSTER_NODES=node1,node2,node3" -doNotUpdateNodeListAdd the flag
-cfsif the Grid home is a shared home.
-
- As
rootuser, start the 18c Oracle Clusterware stack on all nodes.# crsctl start crsNote:
You must start Oracle Clusterware on last downgraded node first, and then on other nodes. - As
griduser, set Oracle Grid Infrastructure 18c 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=/u01/app/18.0.0/grid "CLUSTER_NODES=node1,node2,node3"
-
- As
griduser, downgrade CHA models from any node where the Grid Infrastructure stack is running from 18c Grid home and Management Database andochadare up:$ ./srvctl stop cha $ ./chactl import model -file /u01/app/18.0.0/grid/cha/model/os_gold.svm -name DEFAULT_CLUSTER $ ./chactl import model -file /u01/app/18.0.0/grid/cha/model/db_gold.svm -name DEFAULT_DB $ ./srvctl start chaIn the example above,
DEFAULT_CLUSTERandDEFAULT_DBare function names that you must pass as values.
Parent topic: Downgrading Oracle Clusterware to 18c