Grid upgrade from 19c to 21c (Oracle Restart)

Hello Friends , 

In this post we will see the upgradation steps from 19c to 21c 

Current ORACLE_HOME=/oracle/app/grid/gr_home 
Target ORACLE_HOME=/oracle/app/grid/gr_21c 


Software :  V1011504-01.zip 

Unzip the software to location : 

unzip --q V1011504-01.zip -d /oracle/app/grid/gr_21c 

Down the database before starting the Grid upgrade, or else will receive error in first step

now move the location and run ./gridsetup.sh 

Step 1 :  Export the display variable (export DISPLAY=localhost:0.0) and from root user disable the access control using  xhost+

[root@dm21db01 oracle]# xhost +
access control disabled, clients can connect from any host


Then run the ./gridsetup.sh



Screen 2 :



Screen 3 : 



Screen 4 : 



Screen 5 : 



Screen 6 : 



Screen 7 : 



Screen 9 : 



Screen 10 :  Run the rootupgrade.sh script from root user 


[root@dm21db01 ~]# /oracle/app/grid/gr_21c/rootupgrade.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oracle/app/grid/gr_21c

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /oracle/app/grid/gr_21c/crs/install/crsconfig_params
The log of current session can be found at:
  /oracle/app/grid/crsdata/dm21db01/crsconfig/roothas_2021-08-28_01-04-52AM.log
2021/08/28 01:04:54 CLSRSC-595: Executing upgrade step 1 of 12: 'UpgPrechecks'.
2021/08/28 01:04:58 CLSRSC-595: Executing upgrade step 2 of 12: 'GetOldConfig'.
2021/08/28 01:05:00 CLSRSC-595: Executing upgrade step 3 of 12: 'GenSiteGUIDs'.
2021/08/28 01:05:00 CLSRSC-595: Executing upgrade step 4 of 12: 'SetupOSD'.
Redirecting to /bin/systemctl restart rsyslog.service
2021/08/28 01:05:00 CLSRSC-595: Executing upgrade step 5 of 12: 'PreUpgrade'.
2021/08/28 01:05:28 CLSRSC-595: Executing upgrade step 6 of 12: 'UpgradeAFD'.
2021/08/28 01:05:28 CLSRSC-595: Executing upgrade step 7 of 12: 'UpgradeOLR'.
clscfg: EXISTING configuration version 0 detected.
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
2021/08/28 01:05:32 CLSRSC-595: Executing upgrade step 8 of 12: 'UpgradeOCR'.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node dm21db01 successfully pinned.
2021/08/28 01:05:34 CLSRSC-595: Executing upgrade step 9 of 12: 'CreateOHASD'.
2021/08/28 01:05:35 CLSRSC-595: Executing upgrade step 10 of 12: 'ConfigOHASD'.
2021/08/28 01:05:35 CLSRSC-329: Replacing Clusterware entries in file 'oracle-ohasd.service'
2021/08/28 01:05:50 CLSRSC-595: Executing upgrade step 11 of 12: 'UpgradeSIHA'.

dm21db01     2021/08/28 01:06:38     /oracle/app/grid/crsdata/dm21db01/olr/backup_20210828_010638.olr     0

dm21db01     2021/08/28 00:05:08     /oracle/app/grid/crsdata/dm21db01/olr/backup_20210828_000508.olr     724960844
2021/08/28 01:06:38 CLSRSC-595: Executing upgrade step 12 of 12: 'InstallACFS'.
2021/08/28 01:07:29 CLSRSC-327: Successfully configured Oracle Restart for a standalone server

Screen 11 :

Screen 12 : ASM upgraded 


Upgrade completed for ASM ----

For Grid upgrade from 12cr2 to 19c follow below link


Hope This Help's , If there is any suggestion or any topic you needed to be posted , Please comment in comment box below.

Regards
Sultan Khan
Previous
Next Post »