Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

Oracle RAC 12C to 19C ASM Upgradation

Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
  • User AvatarKiran Dalvi
  • 28 Nov, 2023
  • 0 Comments
  • 2 Mins Read

Oracle RAC 12C to 19C ASM Upgradation

PREREQUISITE FOR UPGRADE:

STEP:1 Create 19C Directory on Both Node
1
2
3
4
5
mkdir -p /u02/app/grid/product/19C/dbhome
 
chown -R grid:oinstall /u02
 
chmod -R 775 /u02
STEP 2: Copy the 19c grid software to the first node of RAC and unzip it:
1
2
3
cd u02/app/grid/product/19C/dbhome
 
Unzip LINUX.X64_193000_grid_home.zip-------------------------on Node 1
Step 3. Run cluvfy utility to pre-check any errors On 1st node only run the pre-upgrade script from the new home and generate a fix script if generated. as grid user.
1
2
3
su - grid
cd  /u02/app/grid/product/19C/dbhome -- 19c grid home
./runcluvfy.sh stage -pre crsinst -upgrade -rolling -src_crshome /u02/app/grid/product/12C/dbhome -dest_crshome p /u02/app/grid/product/19C/dbhome -dest_version 19.3.0.0.0 -fixup –verbose
Note: Make sure the cluvfy is executed successfully. If any error occurs, take action before going to the GRID 12c upgrade.
Step 4. Using Dry-Run Upgrade Mode to Check System Upgrade Readiness
1
2
cd  /u02/app/grid/product/19C/dbhome
gridsetup.sh –dryRunForUpgrade

 

 

 

 

 

 

 

The dry run upgrade is successful. Let’s proceed with the actual upgrade.

Step 5: Actual Upgrade Grid Infrastructure 
— Run as grid owner (oracle)
1
2
3
unset ORACLE_BASE
unset ORACLE_HOME
unset ORACLE_SID
Run below script before actual upgradation from root user
1
2
3
Su root
 
root# /u02/app/grid/product/12C/dbhome/crs/install/rootcrs.sh –unlock –crshome /u02/app/grid/product/19C/dbhome

Now , go to grid home & call gridSetup.sh
1
2
cd  /u02/app/grid/product/19C/dbhome
./gridSetup.sh

 

 

 

 

 

 

We have successfully upgraded the grid to the 19c version.

Step 6: Post-check after upgrading the grid infrastructure
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$ crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [19.0.0.0.0]
$ crsctl query crs softwareversion
Oracle Clusterware version on node [dc-vt-testdb1] is [19.0.0.0.0]
$  crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [19.0.0.0.0]
$ crsctl query crs softwareversion
Oracle Clusterware version on node [node2] is [19.0.0.0.0]
 
$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
$ crsctl stat res -t -init
$ crsctl stat res -t
Upgrade the grid bash profile with a new grid home
1
2
3
4
# vi .bash_profile
export ORACLE_HOME=/u02/app/grid/product/19C/dbhome
execute bash_profile from the grid user
. .bash_profile

Grid upgradation is completed successfully!!!

For Database Upgradation on RAC Follow this blog:

 https://learnomate.org/database-upgradation-steps-for-rac-2/

Hope it Helps!