Types of Clusterware Patches -
1) CRS Patchset -- Should be done out of place -- OUI
2) CRS Bundle Patch -- Should be done in-place -- OPatch
3) CRS One Off Patch -- Should be done in-place -- OPatch
4) PSU
crsctl query crs softwareversion <hostname> --> To check software version of CRS
crsctl query crs activeversion --> To check the active version of CRS
Installing a Rolling Patchset with OUI -
--------------------------------------
1) Read the latest release notes for the patchset.
2) Shutdown all applications that depend on Oracle Clusterware
3) Stop the Oracle Clusterware node applications, relocating the Virtual IP (VIP) to another node.
$srvctl stop nodeapps -n host01 -r
4) Start OUI from the patchset
$ ./runInstaller
5) Shutdown the Oracle Clusterware and Oracle daemons as root user
$ crsctl stop crs
6) Run the root upgrade script as root user
$ ./u01/app/11.2/grid/install/root*.sh
7) Startup all dependent applications that were shut down in step 2.
8) Repeat all steps except 4 on each node
Installing a Rolling Patch with OPatch Java based Utility -
---------------------------------------------------------
To check whether a patch supports a rolling application (Run from the patch directory.)
$ opatch query -all | grep –i Rolling
1) Verify the Oracle Inventory is properly configured
$ opatch lsinventory -detail -oh /u01/app/11.2/grid
2) Stop CRS in first node to be patched as root user
$ crsctl stop crs
3) Unlock the protected files
[root]# cd <patch_location>
[root]# ./custom/scripts/prerootpatch.sh -crshome /u01/app/11.2.0/grid -crsuser grid
4) Save important Configuration settings
$ ./customer/scripts/prepatch.sh -crshome /u01/app/11.2/grid
5) Patch the CRS installation on the first node only
$ opatch apply -local -oh grid_home patch_location
6) Apply configuration changes to the patched files
$ ./custom/scripts/postpatch.sh -crshome Grid_home
7) Restore the lock to the Protected files as root user
$ ./custom/scripts/postrootpatch.sh -crshome Grid_home
8) Verify Patch installation
$ opatch lsinventory -detail -oh grid_home
9) Repeat steps 1-8 on each node, one at a time.
1) CRS Patchset -- Should be done out of place -- OUI
2) CRS Bundle Patch -- Should be done in-place -- OPatch
3) CRS One Off Patch -- Should be done in-place -- OPatch
4) PSU
crsctl query crs softwareversion <hostname> --> To check software version of CRS
crsctl query crs activeversion --> To check the active version of CRS
Installing a Rolling Patchset with OUI -
--------------------------------------
1) Read the latest release notes for the patchset.
2) Shutdown all applications that depend on Oracle Clusterware
3) Stop the Oracle Clusterware node applications, relocating the Virtual IP (VIP) to another node.
$srvctl stop nodeapps -n host01 -r
4) Start OUI from the patchset
$ ./runInstaller
5) Shutdown the Oracle Clusterware and Oracle daemons as root user
$ crsctl stop crs
6) Run the root upgrade script as root user
$ ./u01/app/11.2/grid/install/root*.sh
7) Startup all dependent applications that were shut down in step 2.
8) Repeat all steps except 4 on each node
Installing a Rolling Patch with OPatch Java based Utility -
---------------------------------------------------------
To check whether a patch supports a rolling application (Run from the patch directory.)
$ opatch query -all | grep –i Rolling
1) Verify the Oracle Inventory is properly configured
$ opatch lsinventory -detail -oh /u01/app/11.2/grid
2) Stop CRS in first node to be patched as root user
$ crsctl stop crs
3) Unlock the protected files
[root]# cd <patch_location>
[root]# ./custom/scripts/prerootpatch.sh -crshome /u01/app/11.2.0/grid -crsuser grid
4) Save important Configuration settings
$ ./customer/scripts/prepatch.sh -crshome /u01/app/11.2/grid
5) Patch the CRS installation on the first node only
$ opatch apply -local -oh grid_home patch_location
6) Apply configuration changes to the patched files
$ ./custom/scripts/postpatch.sh -crshome Grid_home
7) Restore the lock to the Protected files as root user
$ ./custom/scripts/postrootpatch.sh -crshome Grid_home
8) Verify Patch installation
$ opatch lsinventory -detail -oh grid_home
9) Repeat steps 1-8 on each node, one at a time.
No comments:
Post a Comment