Use this procedure to downgrade to Oracle Grid Infrastructure 12c release 1 (12.1).
dbca -silent -deleteDatabase -sourceDB -MGMTDB
rootcrs.bat -downgrade
to downgrade Oracle Grid Infrastructure on all nodes, in any sequence.
For example:
C:\app\12.2.0\grid\crs\install\rootcrs.bat -downgrade
Run 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.
C:\app\12.2.0\grid\crs\install\rootcrs.bat -downgrade
rootcrs.bat -downgrade
command has run successfully, log in as the Oracle Grid Infrastructure installation owner.C:\app\12.2.0\grid
is the location of the new (upgraded) Grid home:
cd C:\app\12.2.0\grid\oui\bin setup.exe -nowait -waitforcompletion -ignoreSysPrereqs -updateNodeList -silent CRS=false ORACLE_HOME=C:\app\12.2.0\grid "CLUSTER_NODES=node1,node2,node3" LOCAL_NODE=local_node_running_the_command -doNotUpdateNodeList
Add the flag -cfs
if the Grid home is a shared home.
rootcrs.bat -downgrade
command has run successfully, log in as the Oracle Grid Infrastructure installation owner.ORACLE_HOME
is the location of the home directory from the earlier Oracle Clusterware installation.
cd C:\app\12.1.0\grid\oui\bin setup.exe -nowait -waitforcompletion -ignoreSysPrereqs -updateNodeList -silent CRS=true ORACLE_HOME=C:\app\12.1.0\grid "CLUSTER_NODES=node1,node2,node3" -doNotUpdateNodeList
crsctl start crs
121_Grid_home\bin\srvctl remove mgmtdb
12102_Grid_home\bin\dbca -silent -createDatabase -createAsContainerDatabase true -templateName MGMTSeed_Database.dbc -sid -MGMTDB -gdbName _mgmtdb -storageType ASM -diskGroupName ASM_DG_NAME -datafileJarLocation 12102_grid_home\assistants\dbca\templates -characterset AL32UTF8 -autoGeneratePasswords -skipUserTemplateCheck
12102_Grid_home\bin\dbca -silent -createPluggableDatabase -sourceDB -MGMTDB -pdbName cluster_name -createPDBFrom RMANBACKUP -PDBBackUpfile 12102_Grid_home\assistants\dbca\templates\mgmtseed_pdb.dfb -PDBMetadataFile 12102_Grid_home\assistants\dbca\templates\mgmtseed_pdb.xml -createAsClone true -internalSkipGIHomeCheck
12101_Grid_home\bin\dbca -silent -createDatabase -templateName MGMTSeen_Database.dbc -sid -MGMTDB -gdbName _mgmtdb -storageType ASM -diskGroupName ASM_DG_NAME -datafileJarLocation 12101_Grid_home\assistants\dbca\templates -characterset AL32UTF8 -autoGeneratePasswords
121_Grid_home
\bin\mgmtca
.