4.3.5.4 DOWNGRADE CLUSTER
Use this command downgrade a previously upgraded cluster.
Syntax
DOWNGRADE CLUSTER
WHERE
{ CLUSTERNAME=cluster_name [ STEPNAME=step_name ] |
CLUSTERNUMBER=cluster_number [ STEPNAME=step_name ] |
ID=cluster_id [ STEPNAME=step_name ] }
Arguments
The following arguments are available in the WHERE
clause:
-
CLUSTERNUMBER
: Specifies the cluster number in thees.xml
, starting at 1 -
CLUSTERNAME
: Specifies the name of the cluster -
ID
: Specifies thees.xml
ID of the cluster -
STEPNAME
: Optionally, specifies the individual downgrade step:RUN_ROOTSCRIPT
CONFIG_HOME
ADD_HOME
Usage Notes
-
To use the command, you must use the
es.xml
that contains the upgraded cluster. -
The command can only downgrade a cluster in a VM deployment. You cannot use this command to downgrade the cluster in a physical (bare-metal) deployment.
-
The command can only run if the
DELETE_OLDHOME
step has not been run on the upgraded cluster.
Example 4-8 Cluster Downgrade
The following example shows an OEDACLI session that uses the DOWNGRADE
CLUSTER
command along with typical output at each step.
oedacli> downgrade cluster where clusternumber=1
oedacli> save action
oedacli> merge actions
processMerge
processMergeActions
Merging Action : downgrade cluster where clusternumber=1
Merging DOWNGRADE CLUSTER
Action Validated and Merged OK
oedacli> deploy actions
Deploying Action ID : 4 downgrade cluster where clusternumber=1
Deploying DOWNGRADE CLUSTER
Downgrading Cluster
Validating Target cluster version 12.2.0.1
Validating Target Clusterware Home.. /u01/app/12.2.0.1/grid
Checking Cluster status...
Checking status of cluster...
Checking clustereware file system /u01/app/12.2.0.1/grid
Validating active cluster version.
Active cluster version found on cluster ovmClus8 is 18.0.0.0
Validating Inventory...
Clusterware Home /u01/app/12.2.0.1/grid validation completed successfully
Downgrading clusterware to 12.2.0.1
Running rootcrs.sh on node dbm01adm01vm08.example.com
Running rootcrs.sh on node dbm01adm02vm08.example.com
Deregistering Clustereware Home /u01/app/18.13.0.0/grid from oracle inventory
Registering Clusterware Home /u01/app/12.2.0.1/grid with oracle inventory
Starting Clusterware stack using software home /u01/app/12.2.0.1/grid
Removing /u01/app/18.13.0.0/grid from Oracle inventory...
Updating inventory on dbm01adm01vm08.example.com
Updating inventory on dbm01adm02vm08.example.com
Unmounting file systems.....
Unmounting file system /u01/app/18.13.0.0/grid on dbm01adm01vm08.example.com
Unmounting file system /u01/app/18.13.0.0/grid on dbm01adm02vm08.example.com
Updating /etc/fstab entries...
Active cluster version after downgraded 12.2.0.1.0
Clusterware successfully downgraded to 12.2.0.1.190115
Parent topic: CLUSTER