Update Grid Infrastructure Using Fleet Maintenance #JoelKallmanDay
Step 3 - Patching in the Deep. (Grid Patching using Fleet Maintenance)
I’ve moved my blog from https://insanedba.blogspot.com to https://dincosman.com
Please update your bookmarks and follow/subscribe at the new address for all the latest updates and content. More up-to-date content of this post may be available there.
I will patch all my database servers grid infrastructure from 19.16 to 19.20. As there are more than 20 servers to patch, we will use fleet patching. First i have patched a 2 node cluster grid infrastructure by using out of place ( OOP ) patching methodology through gridSetup.sh in silent mode in Step 1 - Patch Me If You Can (Grid OOP Patching)
Now i will use patched grid homes to create a gold image for fleet patching of all grid homes.
Some useful references:
First create a location on Software Library in EMCC. We will use it as a destination for storing gold image.
*&span>Provisioning and Patching > Sofware Library
* Name : Gold Image Profiles
* Description : Gold Image Profiles for Database and Grid Infrastructure
* Name : 19c
* Description : Version 19c Images
We will create a response file, but at first we need the manual oop(out of place) patched grid home (target name) to refer in response file.
It is time to create grid gold image.
Now we will subscribe to this gold image for oracluster2. (This is the cluster we want to patch with fleet maintenance)(This step can also be done from GUI/BUI, EMCC 13.5 RU16).
We will deploy gold image to target cluster. (This step can also be done from GUI/BUI, EMCC 13.5).
We have skipped CVU (Cluster Verification Utility) checks, otherwise it is detecting the processes running from current old/grid homes. Also if you encounter an error like "Reason: Error retrieving input stream for file entry 'setup_stageArea_RACP.pl'". Just reimport sofware library metadata with the command: emcli reimport_swlib_metadata.
It is time to switch to new grid home in rolling manner. With the below command, cluster will be updated to gold image version and the Grid Infrastructure targets running from old Oracle grid home will be migrated to NEWLY Patched Oracle grid home node by node with no downtime.
Hope it helps.
Comments
Post a Comment