DEV Community

Vahid Yousefzadeh
Vahid Yousefzadeh

Posted on

Oracle 19c — Grid Infrastructure Upgrade in Dry-Run Mode

Upgrading the Grid Infrastructure to a higher version may fail due to missing prerequisites. To address this, Oracle introduced a new feature in version 19c that allows the upgrade process to be executed in Dry-Run mode before the actual upgrade. This helps identify and resolve potential errors in advance.

Below is how this operation can be performed.

[grid@RAC1 ~]$ cd /grid19c/home/

[grid@RAC1 home]$ ./gridSetup.sh -dryRunForUpgrade

Launching Oracle Grid Infrastructure Setup Wizard…
Enter fullscreen mode Exit fullscreen mode

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

At the end, the rootupgrade.sh script is executed only on the local node and by the root user:

[root@RAC1 ~]# /grid19c/home/rootupgrade.sh

Performing root user operation.

The following environment variables are set as:

    ORACLE_OWNER= grid

    ORACLE_HOME=  /grid19c/home

Enter the full pathname of the local bin directory: [/usr/local/bin]:

The contents of “dbhome” have not changed. No need to overwrite.

The contents of “oraenv” have not changed. No need to overwrite.

The contents of “coraenv” have not changed. No need to overwrite.

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.

Relinking oracle with rac_on option

Performing Dry run of the Grid Infrastructure upgrade.

Using configuration parameter file: /grid19c/home/crs/install/crsconfig_params

The log of current session can be found at:

  /grid18c/base/crsdata/rac1/crsconfig/rootcrs_rac1_2020-09-08_02-20-47PM.log

2020/09/08 14:21:12 CLSRSC-464: Starting retrieval of the cluster configuration data

2020/09/08 14:21:23 CLSRSC-729: Checking whether CRS entities are ready for upgrade, cluster upgrade will not be attempted now. This operation may take a few minutes.

2020/09/08 14:23:19 CLSRSC-693: CRS entities validation completed successfully.
Enter fullscreen mode Exit fullscreen mode

Image description

Top comments (0)