Extract the Zip file
/applications/oracle/g19.3.0/grid_home_26ai/runcluvfy.sh \
stage -pre crsinst -upgrade -rolling \
-src_crshome /applications/oracle/g19.3.0/grid_home \
-dest_crshome /applications/oracle/g19.3.0/grid_home_26ai \
-dest_version 23.26.1.0.0 \
-fixup -verbose
Command Breakdown
1. runcluvfy.sh
This is Oracle’s Cluster Verification Utility (CVU) script.
It is used for:
- Pre-check validation
- Post-check validation
- Cluster verification
- Upgrade readiness checks
2. stage -pre crsinst
Meaning:
Pre-check before CRS installation or upgrade
CRS stands for:
Cluster Ready Services
This option runs prerequisite checks before the Grid Infrastructure installation or upgrade process.
3. -upgrade
This indicates that:
- It is not a fresh installation
- An existing Oracle Grid Infrastructure environment is being upgraded
4. -rolling
This is a very important option.
Meaning:
Rolling upgrade validation
Oracle verifies whether:
- The upgrade can be performed one node at a time
- Cluster downtime can be avoided during the upgrade
Example
Upgrade Node1
Cluster continues running
Upgrade Node2
This allows high availability during the upgrade process.
5. -src_crshome
-src_crshome /applications/oracle/g19.3.0/grid_home
This specifies the current (old) Grid Infrastructure home.
It is the source Grid Home from which the upgrade will occur.
6. -dest_crshome
-dest_crshome /applications/oracle/g19.3.0/grid_home_26ai
This specifies the new Grid Infrastructure home.
This is the location where the new Oracle Grid Infrastructure software is installed.
7. -dest_version 23.26.1.0.0
This specifies the target upgrade version.
Oracle validates whether:
- The current Grid Infrastructure version can be upgraded to the target version
- The upgrade path is supported
8. -fixup
This is a very useful option.
Oracle attempts to automatically fix certain prerequisite issues.
Examples include:
- Kernel parameter settings
- Operating system configurations
- Missing package requirements
- Permission-related issues
9. -verbose
Enables detailed output.
Oracle displays the detailed status of every validation check.
Example Output
PASSED
FAILED
WARNING
This helps DBAs identify exactly which checks succeeded or failed.
rootupgrade.sh as root — do not close this window, proceed to Step 3.
No comments:
Post a Comment