Oracle Grid Infrastructure Upgrading Oracle Restart, 19c for Linux and Unix-Based Operating Systems 1 Preparing to Upgrade Oracle Restart Before you upgrade Oracle Restart, determine the best upgrade path, and run the procedures that are described here to prepare for the upgrade. Oracle recommends that you test the upgrade process and prepare a backup strategy. • Options and Restrictions for Oracle Restart Upgrades Review these upgrade options and restrictions when you upgrade to Oracle Grid Infrastructure for a standalone server (Oracle Restart) 19c. • Checks to Complete Before Upgrading Oracle Restart Complete these preupgrade checks to avoid issues during the Oracle Restart upgrade process. • Installing the Oracle Database Preinstallation RPM Using ULN Use this procedure to subscribe to Unbreakable Linux Network (ULN) Oracle Linux channels for your Oracle software. • Creating a Copy of the Preinstallation Configuration File for the grid User Create a copy of the preinstallation configuration file for the grid user to set hard and soft limits for the operating system parameters. • Shutting Down the Database If your Oracle Database uses Oracle Automatic Storage Management (Oracle ASM) for storage, then shut down the database before upgrading Oracle Restart. • Upgrading Operating System for an Oracle Restart Server Complete this procedure on your Oracle Restart server to upgrade the operating system. Options and Restrictions for Oracle Restart Upgrades Review these upgrade options and restrictions when you upgrade to Oracle Grid Infrastructure for a standalone server (Oracle Restart) 19c. Supported upgrade paths for Oracle Restart for this release are: • Oracle Restart upgrade from 11g Release 2 (11.2.0.4) to Oracle Restart 19c. • Oracle Restart upgrade from 12c Release 1 (12.1.0.2) to Oracle Restart 19c. • Oracle Restart upgrade from 12c Release 2 (12.2) to Oracle Restart 19c. • Oracle Restart upgrade from 18c to Oracle Restart 19c. Restrictions for Oracle Restart Upgrades • Oracle Restart upgrades are always out-of-place upgrades. You cannot perform an inplace upgrade of Oracle Restart to an existing Grid home. • The same user that owned the earlier release of the Oracle Restart software must perform the Oracle Restart 19c upgrade. • Do not delete directories in the Grid home. For example, do not delete the directory Grid_home/OPatch. If you delete the directory, then the Oracle Restart installation owner 1-1 cannot use the OPatch utility to patch the Grid home, and OPatch displays the error message "'checkdir' error: cannot create Grid_home/OPatch". • The software in the 19c Oracle Restart home is not fully functional until the upgrade is complete. Running srvctl, crsctl, and other commands from the new Grid home are not supported until the rootupgrade.sh script is run and the upgrade is complete. • To manage databases in an existing earlier release database home during the Oracle Restart upgrade, use the srvctl utility from the existing database home. Checks to Complete Before Upgrading Oracle Restart Complete these preupgrade checks to avoid issues during the Oracle Restart upgrade process. 1. Review the new features for the Oracle Restart release to which you want to upgrade. 2. Ensure that you have all of the information you need for the upgrade. For example: • An Oracle base location for Oracle Restart. • An Oracle Restart home location that is different from your existing Oracle Restart home. • Privileged user operating system groups. • root user access, to run scripts as the root user during the upgrade. 3. Unset the $ORACLE_HOME, $ORACLE_BASE, and $ORACLE_SID environment variables because these environment variables are used during the upgrade. For example, as the grid user, run the following commands: For bash shell: $ unset ORACLE_HOME $ unset ORACLE_BASE $ unset ORACLE_SID For C shell: $ unsetenv ORACLE_HOME $ unsetenv ORACLE_BASE $ unsetenv ORACLE_SID 4. Ensure that the installation owner user profile, such as .profile or .cshrc, does not set any of these environment variables. 5. Unset any environment variables, such as ORA_NLS10 and TNS_ADMIN, set for the installation owner user that is connected with the Oracle software homes. 6. Ensure that the $ORACLE_HOME/bin path is removed from your PATH environment variable. Related Topics • Oracle Database New Features Guide Chapter 1 Checks to Complete Before Upgrading Oracle Restart 1-2 Installing the Oracle Database Preinstallation RPM Using ULN Use this procedure to subscribe to Unbreakable Linux Network (ULN) Oracle Linux channels for your Oracle software. To obtain Unbreakable Linux Network (ULN) support, subscribe to Oracle Linux channels, and to add the Oracle Linux channel that distributes the Oracle Database Preinstallation RPM: 1. Download the Oracle Linux ISO from one of the following websites: • Oracle yum https://yum.oracle.com/oracle-linux-isos.html • Oracle Software Delivery Cloud website: https://edelivery.oracle.com/linux Note: Ensure that you use the latest available update release for Oracle Linux. 2. Register your server with Unbreakable Linux Network (ULN). By default, you are registered for the Oracle Linux Latest channel for your operating system and hardware. • Oracle Linux 7 https://docs.oracle.com/en/operating-systems/oracle-linux/uln-user/ • Oracle Linux 8 and Oracle Linux 9 https://docs.oracle.com/en/operating-systems/oracle-linux/software-management/ 3. Log in to Unbreakable Linux Network: https://linux.oracle.com 4. Start a terminal session and enter the following command as root, depending on your platform. For example: • Oracle Linux 7 # yum install oracle-database-preinstall-19c Note: Use the -y option if you want yum to skip the package confirmation prompt. • Oracle Linux 8 and Oracle Linux 9 # dnf install oracle-database-preinstall-19c You should see output indicating that you have subscribed to the Oracle Linux channel, and that packages are being installed. Chapter 1 Installing the Oracle Database Preinstallation RPM Using ULN 1-3 The Oracle Database Preinstallation RPM automatically creates a standard (not roleallocated) Oracle installation owner and groups, and sets up other kernel configuration settings as required for Oracle installations. 5. Check the RPM log file to review the system configuration changes. For example: /var/log/oracle-database-preinstall-19c/backup/timestamp/orakernel.log 6. Repeat steps 1 through 4 on all other servers in your cluster. If you have a premier support subscription, you can enable Ksplice to provide zero downtime patching. Refer to the Ksplice User's Guide for installation instructions: https://docs.oracle.com/en/operating-systems/oracle-linux/ksplice-user/ Creating a Copy of the Preinstallation Configuration File for the grid User Create a copy of the preinstallation configuration file for the grid user to set hard and soft limits for the operating system parameters. 1. As the root user, go to the /etc/security/limits.d directory. # cd /etc/security/limits.d 2. Create a copy of the preinstallation configuration file for the grid user by replacing the oracle user with the grid user. # cat oracle-database-preinstall-19c.conf | sed 's/oracle /grid /g' > oracle-grid-user-preinstall-19c.conf 3. Delete the preinstallation configuration files for the earlier release. # rm -r -f oracle-database-preinstall-18c.conf oracle-grid-userpreinstall- 18c.conf Shutting Down the Database If your Oracle Database uses Oracle Automatic Storage Management (Oracle ASM) for storage, then shut down the database before upgrading Oracle Restart. 1. Log in as the oracle user. 2. Shut down the Oracle Database instance. $ Grid_home/bin/srvctl stop database –d database_unique_name 3. Ensure that your Oracle Database instance is shut down. $ Grid_home/bin/srvctl status database –d database_unique_name Database is not running. Chapter 1 Creating a Copy of the Preinstallation Configuration File for the grid User 1-4 Upgrading Operating System for an Oracle Restart Server Complete this procedure on your Oracle Restart server to upgrade the operating system. 1. As the root user, disable the automatic startup of Oracle High Availability Services, when the server reboots. # cd Grid_home/bin # ./crsctl disable has 2. Shut down the Oracle Restart stack on the server. # ./crsctl stop has 3. Verify all services are stopped before the operating system upgrade. # ./crsctl check has 4. Upgrade the operating system to a version that is supported for your Oracle Restart release. Refer to your operating system documentation for more information about upgrading the operating system. 5. Reboot your Oracle Restart server after the operating system upgrade is complete. 6. As the root user, add the Oracle Database libraries and lock the Oracle Restart installation. # cd Grid_home/rdbms/install/ # ./rootadd_rdbms.sh # cd Grid_home/crs/install # roothas.sh -lock 7. As the root user, enable the automatic startup of Oracle High Availability Services, when the server reboots. # cd Grid_home/bin # ./crsctl enable has 8. Start the Oracle Restart stack on the server. # ./crsctl start has 9. Connect to an SQL*Plus session and open the Pluggable Database (PDB). SQL> CONNECT / AS SYSDBA SQL> ALTER PLUGGABLE DATABASE pdb_name OPEN; 10. As the grid user, list all registered resources on your Oracle Restart server. $ Grid_home/bin/crsctl stat res -t Chapter 1 Upgrading Operating System for an Oracle Restart Server 1-5 2 Upgrading and Patching Oracle Restart Learn how to upgrade Oracle Restart to a later release using the out-of-place upgrade mode and install the patches. • Steps to Upgrade Oracle Restart Complete this procedure to upgrade Oracle Grid Infrastructure for a standalone server (Oracle Restart) from an earlier release. • Verifying the Oracle Restart Software Version After Upgrade Check the software release version of Oracle Restart after the upgrade. • Downloading Release Update Patches Download and install Release Updates (RU) and Monthly Recommended Patches (MRPs) patches for your Oracle software after you complete installation. • Patching Oracle Restart After you have upgraded to Oracle Grid Infrastructure for a standalone server (Oracle Restart) 19c, you can install individual software patches by downloading them from My Oracle Support. • Patching and Switching Oracle Grid Infrastructure Homes Perform an out-of-place Oracle Restart patching by switching from the current Oracle Grid Infrastructure home to a patched Oracle Grid Infrastructure home. • Unlocking and Deinstalling the Previous Release Grid Home After upgrading from previous releases, if you want to deinstall the previous release Grid home, then you must first change the permission and ownership of the previous release Grid home. Steps to Upgrade Oracle Restart Complete this procedure to upgrade Oracle Grid Infrastructure for a standalone server (Oracle Restart) from an earlier release. Be prepared to run root scripts before you start the upgrade. 1. As the grid user, download the Oracle Grid Infrastructure image files and extract the files to the Grid home. For example: mkdir -p /u01/app/grid/product/19.0.0/grid chown grid:oinstall /u01/app/grid/product/19.0.0/grid cd /u01/app/grid/product/19.0.0/grid unzip -q download_location/grid_home.zip download_location/grid_home.zip is the path of the downloaded Oracle Grid Infrastructure image file. 2-1 Note: • You must extract the image software into the directory where you want your new Grid home to be located. 2. Start the Oracle Grid Infrastructure wizard: $ /u01/app/grid/product/19.0.0/grid/gridSetup.sh 3. Select the Upgrade Oracle Grid Infrastructure option to upgrade Oracle Grid Infrastructure for a standalone server. 4. Select the installation options as prompted. 5. You can run root scripts, either automatically or manually. Oracle recommends that you configure root script automation, so that the rootupgrade.sh script can run automatically during the upgrade. At any time during the upgrade, if you have a question about what you are being asked to do, or what input you are required to provide during the upgrade, then click the Help button on the installer window. Verifying the Oracle Restart Software Version After Upgrade Check the software release version of Oracle Restart after the upgrade. 1. Log in as the grid user. 2. Verify that Oracle Restart 19c is in use after the upgrade. $ Grid_home/bin/crsctl query has releaseversion Oracle High Availability Services version on the local node is [19.0.0.0.0] Downloading Release Update Patches Download and install Release Updates (RU) and Monthly Recommended Patches (MRPs) patches for your Oracle software after you complete installation. Oracle provides quarterly updates in the form of Release Updates (RU) and Monthly Recommended Patches (MRPs). Oracle no longer releases patch sets. For more information, see My Oracle Support Note 2285040.1. Check the My Oracle Support website for required updates for your installation. 1. Use a web browser to view the My Oracle Support website: https://support.oracle.com 2. Log in to My Oracle Support website. Note: If you are not a My Oracle Support registered user, then click Register for My Oracle Support and register. Chapter 2 Verifying the Oracle Restart Software Version After Upgrade 2-2 3. On the main My Oracle Support page, click Patches & Updates. 4. In the Patch Search region, select Product or Family (Advanced). 5. On the Product or Family (Advanced) display, provide information about the product, release, and platform for which you want to obtain patches, and click Search. The Patch Search pane opens, displaying the results of your search. 6. Select the patch number and click ReadMe. The README page is displayed. It contains information about the patch and how to apply the patches to your installation. 7. Uncompress the Oracle patch updates that you downloaded from My Oracle Support. Related Topics • My Oracle Support note 888.1 • Patch Delivery Methods for Oracle Database Patching Oracle Restart After you have upgraded to Oracle Grid Infrastructure for a standalone server (Oracle Restart) 19c, you can install individual software patches by downloading them from My Oracle Support. 1. Download the patches that you want to apply from My Oracle Support: https://support.oracle.com Select the Patches and Updates tab to locate the patch. Oracle recommends that you select Recommended Patch Advisor, and enter the product group, release, and platform for your software. Place the patches in a shared directory that is accessible to all users. 2. Review the README file for the patch that you want to apply, and complete all of the required steps before installing the patch. 3. As the root user, go to the /OPatch directory in the Grid home. # cd /u01/app/grid/product/19.0.0/grid/OPatch 4. Install the version of the OPatch utility that is recommended in the README file for the patch. 5. Follow the instructions in the README file for the patch to apply the patch. # opatchauto apply patch_directory_location/patch_ID 6. As the grid user, verify the release patch number for your Oracle Restart. $ Grid_home/bin/crsctl query has releasepatch The release patch number changes only for Release Update (RU) and Release Update Revision (RUR) patches. Chapter 2 Patching Oracle Restart 2-3 Patching and Switching Oracle Grid Infrastructure Homes Perform an out-of-place Oracle Restart patching by switching from the current Oracle Grid Infrastructure home to a patched Oracle Grid Infrastructure home. 1. Download the 19.3 Oracle Grid Infrastructure base release image files. https://www.oracle.com/database/technologies/oracle-database-softwaredownloads. html#19c 2. As the grid user, extract the downloaded image files into a new Oracle Grid Infrastructure home directory. $ mkdir -p /u01/app/oracle/product/19.17.0/grid $ chown grid:oinstall /u01/app/oracle/product/19.17.0/grid $ cd /u01/app/oracle/product/19.17.0/grid $ unzip -q download_location/grid.zip Here: • /u01/app/oracle/product/19.17.0/grid is the new Grid home. • /u01/app/oracle/product/19.16.0/grid is the old Grid home. 3. As the grid user, download and install the latest version of the OPatch utility in the new Grid home. https://updates.oracle.com/download/6880880.html $ mv /u01/app/oracle/product/19.17.0/grid/OPatch /u01/app/oracle/product/ 19.17.0/grid/bak_OPatch $ unzip latest_Opatch.zip -d /u01/app/oracle/product/19.17.0/grid/ 4. Download the Oracle Database RU version that you want to apply from My Oracle Support. In this example, Oracle Database 19.17 RU. For more information, see, Downloading Release Update Patches 5. Start the Oracle Grid Infrastructure installer to perform a software-only Oracle Restart installation. You can apply the optional -applyRU or -applyOneOff flags to apply Release Updates (RUs) during the installation. $ /u01/app/oracle/product/19.17.0/grid/gridSetup.sh [-applyRU patch_directory_location] [-applyOneOffs comma_separated_list_of_patch_directory_locations] 6. Follow the steps in the configuration wizard to complete the Oracle Grid Infrastructure installation. 7. As the root user, run the following command to prepare the new home for the out-of-place patching: # /u01/app/oracle/product/19.17.0/grid/crs/install/roothas.sh -prepatch - dstcrshome /u01/app/oracle/product/19.17.0/grid This command does not shut down any services. Chapter 2 Patching and Switching Oracle Grid Infrastructure Homes 2-4 8. Run the following command to switch to the new Oracle Grid Infrastructure home and perform the out of place patching: # /u01/app/oracle/product/19.17.0/grid/crs/install/roothas.sh -postpatch - dstcrshome /u01/app/oracle/product/19.17.0/grid This command shuts down the old Oracle Grid Infrastructure home and starts resources from the new Oracle Grid Infrastructure home. All Oracle Grid Infrastructure services start running from the new Grid home. 9. Update the Oracle central inventory (oraInventory). $ /u01/app/oracle/product/19.17.0/grid/oui/bin/runInstaller - updateNodeList ORACLE_HOME=/u01/app/oracle/product/19.17.0/grid CRS=TRUE $ /u01/app/oracle/product/19.16.0/grid/oui/bin/runInstaller - updateNodeList ORACLE_HOME=/u01/app/oracle/product/19.16.0/grid CRS=FALSE 10. To switch back to the old Grid home: a. As the root user, run the prepatch script. # Old_GI_Home/crs/install/roothas.sh -prepatch -dstcrshome Old_GI_Home b. As the grid user, run the postpatch script. # Old_GI_Home/crs/install/roothas.sh -postpatch -dstcrshome Old_GI_Home c. Update the Oracle central inventory (oraInventory). $ /u01/app/oracle/product/19.16.0/grid/oui/bin/runInstaller - updateNodeList ORACLE_HOME=/u01/app/oracle/product/19.16.0/grid CRS=TRUE $ /u01/app/oracle/product/19.17.0/grid/oui/bin/runInstaller - updateNodeList ORACLE_HOME=/u01/app/oracle/product/19.17.0/grid CRS=FALSE Unlocking and Deinstalling the Previous Release Grid Home After upgrading from previous releases, if you want to deinstall the previous release Grid home, then you must first change the permission and ownership of the previous release Grid home. 1. As the root user, unlock the previous release Grid home. # /u01/app/oracle/product/18.0.0/grid/crs/install/roothas.sh -unlock - dstcrshome previous_release_Grid_home 2. After you change the permissions and ownership of the previous release Grid home, log in as the Oracle Grid Infrastructure installation owner (grid, in the preceding example), and use the deinstall command from the previous release Grid home $ORACLE_HOME/ deinstall directory. Chapter 2 Unlocking and Deinstalling the Previous Release Grid Home 2-5 Caution: You must use the deinstall command from the same release to remove Oracle software. Do not run the deinstall command from a later release to remove Oracle software from an earlier release. For example, do not run the deinstall command from the 19.0.0.0.0 Grid home to remove Oracle software from an existing 18.0.0.0.0 Grid home. Chapter 2 Unlocking and Deinstalling the Previous Release Grid Home 2-6 3 Downgrading Oracle Restart You can restore Oracle Grid Infrastructure for a standalone server (Oracle Restart) to the previous release after a successful or a failed upgrade. • Options and Restrictions for Oracle Restart Downgrades Review these downgrade options and restrictions when you downgrade Oracle Restart to an earlier release after a successful or a failed upgrade. • Downgrading Oracle Restart Use this procedure to deconfigure and downgrade Oracle Restart, or to troubleshoot Oracle Restart installation errors. Options and Restrictions for Oracle Restart Downgrades Review these downgrade options and restrictions when you downgrade Oracle Restart to an earlier release after a successful or a failed upgrade. Downgrade options include the following earlier releases: • Oracle Restart downgrade to Oracle Restart 18c. • Oracle Restart downgrade to Oracle Restart 12c Release 2 (12.2). • Oracle Restart downgrade to Oracle Restart 12c Release 1 (12.1.0.2). • Oracle Restart downgrade to Oracle Restart 11g Release 2 (11.2.0.4). Restrictions for Oracle Restart Downgrades • You can downgrade Oracle Restart to an earlier release only if you did not make any configuration changes after the upgrade. • You can only downgrade to the Oracle Restart release you upgraded from. For example, if you upgraded from Oracle Restart 18c to Oracle Restart 19c, then you can only downgrade to Oracle Restart 18c. Downgrading Oracle Restart Use this procedure to deconfigure and downgrade Oracle Restart, or to troubleshoot Oracle Restart installation errors. Running roothas.sh with the command flags -deconfig -force enables you to deconfigure Oracle Restart without removing the installed binaries. This feature is useful if you encounter an error during an Oracle Grid Infrastructure for a standalone server installation. For example, when you run the root.sh command, and find a missing operating system package. By running roothas.sh -deconfig -force, you can deconfigure Oracle Restart, correct the cause of the error, and then run root.sh again. 3-1 1. As the oracle user, create a backup of the SPFILE to a PFILE. CREATE PFILE='/u01/app/oracle/product/19.0.0/dbhome_1/dbs/test_init.ora' FROM SPFILE='/u01/oracle/dbs/test_spfile.ora'; 2. List all the Oracle Databases on the server with their version, unique name of the database, and Oracle home information. $ srvctl config database -home 3. Downgrade Oracle Database. Refer to Oracle Database Upgrade Guide for more information about required pre-downgrade tasks, downgrade tasks, post-downgrade tasks, and compatibility information. Note: Downgrade Oracle Database only if the Oracle Database version is higher than the Oracle Restart version to which you are downgrading Oracle Restart. 4. As the oracle user, downgrade the Oracle Restart resources corresponding to the Oracle Database, only if you have downgraded your Oracle Database. $ srvctl downgrade database -d db_unique_name -oraclehome $ORACLE_HOME -t to_version 5. Inspect the Oracle Restart configuration of each database, service, and listener. $ srvctl config database -db db_unique_name $ srvctl config service -db db_unique_name $ srvctl config listener -listener listener_name Make a note of the configuration information and use this information when adding the components back to Oracle Restart. 6. Stop all databases and listeners that are running before you deconfigure or downgrade Oracle Restart. $ srvctl stop database -db db_unique_name $ srvctl stop listener [-listener listener_name] 7. As the root user, run roothas.sh with the -deconfig -force flags to deconfigure Oracle Restart. # /u01/app/oracle/product/19.0.0/grid/crs/install/roothas.sh -deconfig - force 8. As the grid user, update the Oracle central inventory (oraInventory). $ /u01/app/oracle/product/19.0.0/grid/oui/bin/runInstaller -updateNodeList -silent ORACLE_HOME=upgraded_Grid_home -local CRS=false Chapter 3 Downgrading Oracle Restart 3-2 9. As the root user, run roothas.sh with the -unlock flag to unlock the previous release Oracle Restart home. # /u01/app/oracle/product/18.0.0/grid/crs/install/roothas.sh -unlock - dstcrshome previous_release_Grid_home 10. As the grid user, reconfigure the previous release Oracle Restart home using the gridSetup.sh command. $ /u01/app/oracle/product/18.0.0/grid/gridSetup.sh 11. As the oracle user, add the components back to Oracle Restart with the same attributes that you noted down before deconfiguring Oracle Restart. a. Add Oracle Database to the Oracle Restart configuration. $ srvctl add database -db db_unique_name -oraclehome Oracle_home b. Add the listener to the Oracle Restart configuration. $ srvctl add listener -listener listener_name -oraclehome Oracle_home For the -oraclehome parameter, provide the Oracle home path from which the listener was running before the downgrade. c. Add each service to the database, using the srvctl add service command. $ srvctl add service -db db_unique_name -service service_name_list Related Topics • Oracle Database Upgrade Guide Chapter 3 Downgrading Oracle Restart 3-3
Search This Blog
Total Pageviews
Sunday, 28 December 2025
Oracle Grid Infrastructure Upgrading Oracle Restart, 19c for Linux and Unix-Based Operating Systems
Oracle grid upgrade from 19.3 to 21.3
mkdir -p /u01/app/21.0.0/grid
ls -ltr /u01/app/19.0.0/
pwd
ls -ltr /u01/app/21.0.0/grid
pwd
ls -ltr *.zip
unzip V1011504-01.zip -d /u01/app/21.0.0/grid/
pwd
ls -ltr /u01/app/21.0.0/grid/
pwd
cat /etc/oratab
ls -ltr /u01/app/21.0.0/grid/
cd /u01/app/21.0.0/grid/
[grid@oraasm grid]$ ./runcluvfy.sh stage -pre crsinst -upgrade -rolling -src_crshome /u01/app/19.0.0/grid -dest_crshome /u01/app/21.0.0/grid -dest_version 21.3.0.0.0 -fixup -verbose
[grid@oraasm grid]$ ./runcluvfy.sh stage -pre crsinst -upgrade -rolling -src_crshome /u01/app/19.0.0/grid -dest_crshome /u01/app/21.0.0/grid -dest_version 21.3.0.0.0 -fixup -verbose
This standalone version of CVU is "1634" days old. The latest release of standalone CVU can be obtained from the Oracle support site. Refer to MOS note 2731675.1 for more details.
Performing following verification checks ...
Physical Memory ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm 6.1113GB (6408208.0KB) 8GB (8388608.0KB) failed
Physical Memory ...FAILED (PRVF-7530)
Available Physical Memory ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm 5.0485GB (5293772.0KB) 50MB (51200.0KB) passed
Available Physical Memory ...PASSED
Swap Size ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm 5GB (5242876.0KB) 6.1113GB (6408208.0KB) failed
Swap Size ...FAILED (PRVF-7573)
Free Space: oraasm:/usr,oraasm:/var,oraasm:/etc,oraasm:/sbin,oraasm:/tmp ...
Path Node Name Mount point Available Required Status
---------------- ------------ ------------ ------------ ------------ ------------
/usr oraasm / 24.6545GB 25MB passed
/var oraasm / 24.6545GB 5MB passed
/etc oraasm / 24.6545GB 25MB passed
/sbin oraasm / 24.6545GB 10MB passed
/tmp oraasm / 24.6545GB 1GB passed
Free Space: oraasm:/usr,oraasm:/var,oraasm:/etc,oraasm:/sbin,oraasm:/tmp ...PASSED
User Existence: grid ...
Node Name Status Comment
------------ ------------------------ ------------------------
oraasm passed exists(54323)
Users With Same UID: 54323 ...PASSED
User Existence: grid ...PASSED
Group Existence: oinstall ...
Node Name Status Comment
------------ ------------------------ ------------------------
oraasm passed exists
Group Existence: oinstall ...PASSED
Group Membership: oinstall(Primary) ...
Node Name User Exists Group Exists User in Group Primary Status
---------------- ------------ ------------ ------------ ------------ ------------
oraasm yes yes yes yes passed
Group Membership: oinstall(Primary) ...PASSED
Run Level ...
Node Name run level Required Status
------------ ------------------------ ------------------------ ----------
oraasm 5 3,5 passed
Run Level ...PASSED
Upgrade suitability of source home "/u01/app/19.0.0/grid" to version "21.3.0.0.0". ...PASSED
Architecture ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm x86_64 x86_64 passed
Architecture ...PASSED
OS Kernel Version ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm 4.18.0-553.6.1.el8.x86_64 4.18.0 passed
OS Kernel Version ...PASSED
OS Kernel Parameter: semmsl ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 250 250 250 passed
OS Kernel Parameter: semmsl ...PASSED
OS Kernel Parameter: semmns ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 32000 32000 32000 passed
OS Kernel Parameter: semmns ...PASSED
OS Kernel Parameter: semopm ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 100 100 100 passed
OS Kernel Parameter: semopm ...PASSED
OS Kernel Parameter: semmni ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 128 128 128 passed
OS Kernel Parameter: semmni ...PASSED
OS Kernel Parameter: shmmax ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 4398046511104 4398046511104 3281002496 passed
OS Kernel Parameter: shmmax ...PASSED
OS Kernel Parameter: shmmni ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 4096 4096 4096 passed
OS Kernel Parameter: shmmni ...PASSED
OS Kernel Parameter: shmall ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 1073741824 1073741824 1073741824 passed
OS Kernel Parameter: shmall ...PASSED
OS Kernel Parameter: file-max ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 6815744 6815744 6815744 passed
OS Kernel Parameter: file-max ...PASSED
OS Kernel Parameter: ip_local_port_range ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm between 9000 & 65500 between 9000 & 65500 between 9000 & 65535 passed
OS Kernel Parameter: ip_local_port_range ...PASSED
OS Kernel Parameter: rmem_default ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 262144 262144 262144 passed
OS Kernel Parameter: rmem_default ...PASSED
OS Kernel Parameter: rmem_max ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 4194304 4194304 4194304 passed
OS Kernel Parameter: rmem_max ...PASSED
OS Kernel Parameter: wmem_default ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 262144 262144 262144 passed
OS Kernel Parameter: wmem_default ...PASSED
OS Kernel Parameter: wmem_max ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 1048576 1048576 1048576 passed
OS Kernel Parameter: wmem_max ...PASSED
OS Kernel Parameter: aio-max-nr ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 1048576 1048576 1048576 passed
OS Kernel Parameter: aio-max-nr ...PASSED
OS Kernel Parameter: panic_on_oops ...
Node Name Current Configured Required Status Comment
---------------- ------------ ------------ ------------ ------------ ------------
oraasm 1 1 1 passed
OS Kernel Parameter: panic_on_oops ...PASSED
Package: kmod-20-21 (x86_64) ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm kmod(x86_64)-25-20.el8 kmod(x86_64)-20-21 passed
Package: kmod-20-21 (x86_64) ...PASSED
Package: kmod-libs-20-21 (x86_64) ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm kmod-libs(x86_64)-25-20.el8 kmod-libs(x86_64)-20-21 passed
Package: kmod-libs-20-21 (x86_64) ...PASSED
Package: binutils-2.30-49.0.2 ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm binutils-2.30-123.el8 binutils-2.30-49.0.2 passed
Package: binutils-2.30-49.0.2 ...PASSED
Package: libgcc-8.2.1 (x86_64) ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm libgcc(x86_64)-8.5.0-22.el8 libgcc(x86_64)-8.2.1 passed
Package: libgcc-8.2.1 (x86_64) ...PASSED
Package: libstdc++-8.2.1 (x86_64) ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm libstdc++(x86_64)-8.5.0-22.el8 libstdc++(x86_64)-8.2.1 passed
Package: libstdc++-8.2.1 (x86_64) ...PASSED
Package: sysstat-10.1.5 ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm sysstat-11.7.3-12.el8 sysstat-10.1.5 passed
Package: sysstat-10.1.5 ...PASSED
Package: ksh ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm ksh ksh passed
Package: ksh ...PASSED
Package: make-4.2.1 ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm make-4.2.1-11.el8 make-4.2.1 passed
Package: make-4.2.1 ...PASSED
Package: glibc-2.28 (x86_64) ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm glibc(x86_64)-2.28-251.el8.2 glibc(x86_64)-2.28 passed
Package: glibc-2.28 (x86_64) ...PASSED
Package: glibc-devel-2.28 (x86_64) ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm glibc-devel(x86_64)-2.28-251.el8.2 glibc-devel(x86_64)-2.28 passed
Package: glibc-devel-2.28 (x86_64) ...PASSED
Package: libaio-0.3.110 (x86_64) ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm libaio(x86_64)-0.3.112-1.el8 libaio(x86_64)-0.3.110 passed
Package: libaio-0.3.110 (x86_64) ...PASSED
Package: nfs-utils-2.3.3-14 ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm nfs-utils-2.3.3-59.el8 nfs-utils-2.3.3-14 passed
Package: nfs-utils-2.3.3-14 ...PASSED
Package: smartmontools-6.6-3 ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm smartmontools-7.1-3.el8 smartmontools-6.6-3 passed
Package: smartmontools-6.6-3 ...PASSED
Package: net-tools-2.0-0.51 ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm net-tools-2.0-0.52.20160912git.el8 net-tools-2.0-0.51 passed
Package: net-tools-2.0-0.51 ...PASSED
Package: policycoreutils-2.9-3 ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm policycoreutils-2.9-26.el8 policycoreutils-2.9-3 passed
Package: policycoreutils-2.9-3 ...PASSED
Package: policycoreutils-python-utils-2.9-3 ...
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
oraasm policycoreutils-python-utils-2.9-26.el8 policycoreutils-python-utils-2.9-3 passed
Package: policycoreutils-python-utils-2.9-3 ...PASSED
Users With Same UID: 0 ...PASSED
Current Group ID ...PASSED
Root user consistency ...
Node Name Status
------------------------------------ ------------------------
oraasm passed
Root user consistency ...PASSED
selectivity of ASM discovery string ...PASSED
ASM spare parameters ...PASSED
Disk group ASM compatibility setting ...FAILED
ASM client compatibility check ...PASSED
Oracle Restart Integrity ...PASSED
CRS user Consistency for upgrade ...PASSED
Check incorrectly sized ASM Disks ...PASSED
Domain Sockets ...PASSED
Path existence, ownership, permissions and attributes ...
Path "/var" ...PASSED
Path "/var/tmp/.oracle" ...FAILED (PRVH-0111, PRVH-0112, PRVH-0113, PRVH-0100)
Path "/dev/shm" ...PASSED
Path existence, ownership, permissions and attributes ...FAILED (PRVH-0111, PRVH-0112, PRVH-0113, PRVH-0100)
Pre-check for cluster services setup was unsuccessful.
Checks did not pass for the following nodes:
oraasm
Checks did not pass for the following ASM disk groups:
ASM
Failures were encountered during execution of CVU verification request "stage -pre crsinst".
Physical Memory ...FAILED
oraasm: PRVF-7530 : Sufficient physical memory is not available on node
"oraasm" [Required physical memory = 8GB (8388608.0KB)]
Swap Size ...FAILED
oraasm: PRVF-7573 : Sufficient swap size is not available on node "oraasm"
[Required = 6.1113GB (6408208.0KB) ; Found = 5GB (5242876.0KB)]
Disk group ASM compatibility setting ...FAILED
ASM: ASM compatibility for ASM disk group "{1}" is set to "{2}", which is less
than the minimum supported value "{3}".
Path existence, ownership, permissions and attributes ...FAILED
Path "/var/tmp/.oracle" ...FAILED
oraasm: PRVH-0111 : Path "/var/tmp/.oracle" with permissions "rwxrwx---" does
not have read permissions for others on node "oraasm".
oraasm: PRVH-0112 : Path "/var/tmp/.oracle" with permissions "rwxrwx---" does
not have write permissions for others on node "oraasm".
oraasm: PRVH-0113 : Path "/var/tmp/.oracle" with permissions "rwxrwx---" does
not have execute permissions for others on node "oraasm".
oraasm: PRVH-0100 : Restricted deletion flag is not set for path
"/var/tmp/.oracle" on node "oraasm".
CVU operation performed: stage -pre crsinst
Date: 27-Dec-2025 17:29:45
CVU home: /u01/app/21.0.0/grid
Grid home: /u01/app/19.0.0/grid
User: grid
Operating system: Linux4.18.0-553.6.1.el8.x86_64
[grid@oraasm grid]$
[grid@oraasm grid]$
#
ssh -X grid@192.168.1.222
grid@192.168.1.222's password:
Activate the web console with: systemctl enable --now cockpit.socket
Last login: Sat Dec 27 17:16:37 2025
[root@oraasm grid]# ./gridSetup.sh &
[1] 3603
[root@oraasm grid]#
ERROR: You must not be logged in as root to run this tool.
^C
[1]+ Exit 1 ./gridSetup.sh
[root@oraasm grid]# pwd
/u01/app/21.0.0/grid
[root@oraasm grid]# /u01/app/21.0.0/grid/rootupgrade.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/21.0.0/grid
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]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
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: /u01/app/21.0.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/oraasm/crsconfig/roothas_2025-12-28_11-54-22AM.log
2025/12/28 11:54:23 CLSRSC-595: Executing upgrade step 1 of 12: 'UpgPrechecks'.
2025/12/28 11:54:25 CLSRSC-595: Executing upgrade step 2 of 12: 'GetOldConfig'.
2025/12/28 11:54:26 CLSRSC-595: Executing upgrade step 3 of 12: 'GenSiteGUIDs'.
2025/12/28 11:54:26 CLSRSC-595: Executing upgrade step 4 of 12: 'SetupOSD'.
Redirecting to /bin/systemctl restart rsyslog.service
2025/12/28 11:54:27 CLSRSC-595: Executing upgrade step 5 of 12: 'PreUpgrade'.
2025/12/28 11:54:53 CLSRSC-595: Executing upgrade step 6 of 12: 'UpgradeAFD'.
2025/12/28 11:54:53 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.
2025/12/28 11:54:56 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 oraasm successfully pinned.
2025/12/28 11:54:58 CLSRSC-595: Executing upgrade step 9 of 12: 'CreateOHASD'.
2025/12/28 11:54:59 CLSRSC-595: Executing upgrade step 10 of 12: 'ConfigOHASD'.
2025/12/28 11:54:59 CLSRSC-329: Replacing Clusterware entries in file 'oracle-ohasd.service'
2025/12/28 11:55:12 CLSRSC-595: Executing upgrade step 11 of 12: 'UpgradeSIHA'.
oraasm 2025/12/28 11:55:59 /u01/app/grid/crsdata/oraasm/olr/backup_20251228_115559.olr 0
oraasm 2025/12/27 14:22:22 /u01/app/grid/crsdata/oraasm/olr/backup_20251227_142222.olr 724960844
2025/12/28 11:55:59 CLSRSC-595: Executing upgrade step 12 of 12: 'InstallACFS'.
2025/12/28 11:56:50 CLSRSC-327: Successfully configured Oracle Restart for a standalone server
Subscribe to:
Comments (Atom)
Oracle DBA
anuj blog Archive
- ► 2011 (362)
