{"id":19814,"date":"2022-10-26T16:25:59","date_gmt":"2022-10-26T14:25:59","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=19814"},"modified":"2023-06-20T10:19:02","modified_gmt":"2023-06-20T08:19:02","slug":"patching-oda-ha-from-19-14-to-19-16","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/","title":{"rendered":"Patching ODA HA from 19.14 to 19.16"},"content":{"rendered":"\n<p><strong>By Mouhamadou Diaw<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Patching an ODA is always exciting. Preparing a patch of an ODA HA may seem more complicated that an single ODA. But it\u2019s the same processus. All patching operations should be run on one node.<\/p>\n\n\n\n<p>In this document I am describing the patch of a ODA HA from 19.14 to 19.16 with a customer. Great thanks to Pierre.<\/p>\n\n\n\n<p>The <a href=\"https:\/\/docs.oracle.com\/en\/engineered-systems\/oracle-database-appliance\/19.16\/cmtxn\/patching-oda.html#GUID-F28EE29B-5047-42C8-AEE5-D8281D48EA3A\" target=\"_blank\" rel=\"noopener\"> documentation <\/a>  is well done. Just read and followw the steps<\/p>\n\n\n\n<p>We downloaded following patches<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>Oracle Database Appliance Server Patch for the ODACLI\/DCS stack<\/strong> : p34376263_1916000_Linux-x86-64.zip\n<strong>Oracle Grid Infrastructure clone files <\/strong>: p30403673_1916000_Linux-x86-64.zip\n<strong>Oracle Database clone files<\/strong> : p30403662_1916000_Linux-x86-64.zip<\/code><\/pre>\n\n\n\n<p>Once unpacked we will have following files<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>oda-sm-19.16.0.0.0-220809-server.zip\nodacli-dcs-19.16.0.0.0-220717-GI-19.16.0.0.zip\nodacli-dcs-19.16.0.0.0-220717-DB-19.16.0.0.zip<\/code><\/pre>\n\n\n\n<p>These files will be used to update the repository. They should be copied in the ODA server.<\/p>\n\n\n\n<p>Note that all operations will be done only on a node. If some tasks need to be done on both nodes, we will specify<\/p>\n\n\n\n<p>On one node of the ODA, connect as root and&nbsp; update the repository with the patch for the ODACLI\/DCS stack<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@oda-deva]#  \/opt\/oracle\/dcs\/bin\/odacli update-repository -f \/opt\/Downloads\/oda-sm-19.16.0.0.0-220809-server.zip<\/code><\/pre>\n\n\n\n<p>Validate that the job was successful<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 11:43:04 root@oda-deva]# odacli describe-job -i \"7a58f486-6ab1-4b4f-b9a6-a38458535d2c\"\n\nJob details\n----------------------------------------------------------------\n                     ID:  7a58f486-6ab1-4b4f-b9a6-a38458535d2c\n            Description:  Repository Update\n                 Status:  Success\n                Created:  October 12, 2022 11:42:25 AM CEST\n                Message:  \/opt\/Downloads\/oda-sm-19.16.0.0.0-220809-server.zip\n\nTask Name                                Start Time                          End Time                            Status\n---------------------------------------- ----------------------------------- ----------------------------------- ----------\nCheck AvailableSpace                     October 12, 2022 11:42:32 AM CEST   October 12, 2022 11:42:32 AM CEST   Success\nSetting up ssh equivalance               October 12, 2022 11:42:32 AM CEST   October 12, 2022 11:42:32 AM CEST   Success\nCopy BundleFile                          October 12, 2022 11:42:33 AM CEST   October 12, 2022 11:42:43 AM CEST   Success\nValidating CopiedFile                    October 12, 2022 11:42:43 AM CEST   October 12, 2022 11:42:49 AM CEST   Success\nUnzip bundle                             October 12, 2022 11:42:49 AM CEST   October 12, 2022 11:43:12 AM CEST   Success\nUnzip bundle                             October 12, 2022 11:43:18 AM CEST   October 12, 2022 11:43:45 AM CEST   Success\nRemoving ssh keys                        October 12, 2022 11:43:45 AM CEST   October 12, 2022 11:43:46 AM CEST   Success\n<\/code><\/pre>\n\n\n\n<p>Then update the DCS admin with user root<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/opt\/oracle\/dcs\/bin\/odacli update-dcsadmin -v 19.16.0.0.0<\/code><\/pre>\n\n\n\n<p>Validate the status of the job<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 11:45:57 root@oda-deva]# odacli describe-job -i \"8d792424-e5c0-4ec5-8133-606a6d3632cb\"\n\nJob details\n----------------------------------------------------------------\n                     ID:  8d792424-e5c0-4ec5-8133-606a6d3632cb\n            Description:  DcsAdmin patching\n                 Status:  Success\n                Created:  October 12, 2022 11:45:57 AM CEST\n                Message:\n\nTask Name                                Start Time                          End Time                            Status\n---------------------------------------- ----------------------------------- ----------------------------------- ----------\nPatch location validation                October 12, 2022 11:45:57 AM CEST   October 12, 2022 11:45:57 AM CEST   Success\nPatch location validation                October 12, 2022 11:45:57 AM CEST   October 12, 2022 11:45:57 AM CEST   Success\ndcs-admin upgrade                        October 12, 2022 11:45:58 AM CEST   October 12, 2022 11:46:04 AM CEST   Success\ndcs-admin upgrade                        October 12, 2022 11:46:04 AM CEST   October 12, 2022 11:46:10 AM CEST   Success\n<\/code><\/pre>\n\n\n\n<p>After update the DCS components with root<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 11:46:49 root@oda-deva]# \/opt\/oracle\/dcs\/bin\/odacli update-dcscomponents -v 19.16.0.0.0\n{\n  \"jobId\" : \"2bc1aebd-50a7-41fe-b66e-b08ed0bc83d1\",\n  \"status\" : \"Success\",\n  \"message\" : \"Update-dcscomponents is successful on all the node(s):DCS-Agent shutdown is successful. MySQL upgrade is successful. Metadata migration is done before. Metadata schema update is done. dcsagent RPM upgrade is successful.  dcscli RPM upgrade is successful.  dcscontroller RPM upgrade is successful.  Successfully ran setupAgentAuth.sh zookeeper RPM upgrade is successful.  \",\n  \"reports\" : null,\n  \"createTimestamp\" : \"October 12, 2022 11:47:03 AM CEST\",\n  \"description\" : \"Update-dcscomponents job completed and is not part of Agent job list\",\n  \"updatedTime\" : \"October 12, 2022 11:50:34 AM CEST\"\n}\n<\/code><\/pre>\n\n\n\n<p>The next step is to update the DCS agent with the user root<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/opt\/oracle\/dcs\/bin\/odacli update-dcsagent -v 19.16.0.0.0<\/code><\/pre>\n\n\n\n<p>We still have to validate that the job was successfull<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 11:56:25 root@oda-deva]# odacli describe-job -i \"350ebfca-0ed9-48da-8ed7-ba37dba1df44\"\n\nJob details\n----------------------------------------------------------------\n                     ID:  350ebfca-0ed9-48da-8ed7-ba37dba1df44\n            Description:  DcsAgent patching\n                 Status:  Success\n                Created:  October 12, 2022 11:51:53 AM CEST\n                Message:\n\nTask Name                                Start Time                          End Time                            Status\n---------------------------------------- ----------------------------------- ----------------------------------- ----------\nStop DCS Admin                           October 12, 2022 11:51:59 AM CEST   October 12, 2022 11:51:59 AM CEST   Success\nStop DCS Admin                           October 12, 2022 11:51:59 AM CEST   October 12, 2022 11:51:59 AM CEST   Success\nGenerate mTLS certificates               October 12, 2022 11:51:59 AM CEST   October 12, 2022 11:52:00 AM CEST   Success\nGenerate mTLS certificates               October 12, 2022 11:51:59 AM CEST   October 12, 2022 11:52:01 AM CEST   Success\nExporting Public Keys                    October 12, 2022 11:52:01 AM CEST   October 12, 2022 11:52:02 AM CEST   Success\nExporting Public Keys                    October 12, 2022 11:52:01 AM CEST   October 12, 2022 11:52:02 AM CEST   Success\nCopy Public Key to Remote node           October 12, 2022 11:52:02 AM CEST   October 12, 2022 11:52:03 AM CEST   Success\nCopy Public Key to Remote node           October 12, 2022 11:52:03 AM CEST   October 12, 2022 11:52:04 AM CEST   Success\nCreating Trust Store                     October 12, 2022 11:52:04 AM CEST   October 12, 2022 11:52:06 AM CEST   Success\nCreating Trust Store                     October 12, 2022 11:52:04 AM CEST   October 12, 2022 11:52:06 AM CEST   Success\nUpdate config files                      October 12, 2022 11:52:06 AM CEST   October 12, 2022 11:52:06 AM CEST   Success\nUpdate config files                      October 12, 2022 11:52:06 AM CEST   October 12, 2022 11:52:06 AM CEST   Success\nRestart DCS Admin                        October 12, 2022 11:52:06 AM CEST   October 12, 2022 11:52:27 AM CEST   Success\nRestart DCS Admin                        October 12, 2022 11:52:06 AM CEST   October 12, 2022 11:52:27 AM CEST   Success\nDcs-agent upgrade  to version 19.16.0.0.0 October 12, 2022 11:52:27 AM CEST   October 12, 2022 11:54:27 AM CEST   Success\nDcs-agent upgrade  to version 19.16.0.0.0 October 12, 2022 11:54:27 AM CEST   October 12, 2022 11:56:27 AM CEST   Success\nUpdate System version                    October 12, 2022 11:56:28 AM CEST   October 12, 2022 11:56:28 AM CEST   Success\nUpdate System version                    October 12, 2022 11:56:28 AM CEST   October 12, 2022 11:56:28 AM CEST   Success\n<\/code><\/pre>\n\n\n\n<p>Now it\u2019s time to update the repository with the GI clone we downloaded<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/opt\/oracle\/dcs\/bin\/odacli update-repository -f \/opt\/Downloads\/odacli-dcs-19.16.0.0.0-220717-GI-19.16.0.0.zip<\/code><\/pre>\n\n\n\n<p>And to validate the status of the job<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 12:03:17 root@oda-deva]# odacli describe-job -i \"921447ac-be4c-470d-a683-bb4d5bc287ec\"\n\nJob details\n----------------------------------------------------------------\n                     ID:  921447ac-be4c-470d-a683-bb4d5bc287ec\n            Description:  Repository Update\n                 Status:  Success\n                Created:  October 12, 2022 12:00:37 PM CEST\n                Message:  \/opt\/Downloads\/odacli-dcs-19.16.0.0.0-220717-GI-19.16.0.0.zip\n\nTask Name                                Start Time                          End Time                            Status\n---------------------------------------- ----------------------------------- ----------------------------------- ----------\nCheck AvailableSpace                     October 12, 2022 12:00:50 PM CEST   October 12, 2022 12:00:50 PM CEST   Success\nSetting up ssh equivalance               October 12, 2022 12:00:50 PM CEST   October 12, 2022 12:00:53 PM CEST   Success\nCopy BundleFile                          October 12, 2022 12:00:53 PM CEST   October 12, 2022 12:01:16 PM CEST   Success\nValidating CopiedFile                    October 12, 2022 12:01:16 PM CEST   October 12, 2022 12:01:43 PM CEST   Success\nUnzip bundle                             October 12, 2022 12:01:49 PM CEST   October 12, 2022 12:02:37 PM CEST   Success\nUnzip bundle                             October 12, 2022 12:02:37 PM CEST   October 12, 2022 12:03:25 PM CEST   Success\nDelete PatchBundles                      October 12, 2022 12:03:25 PM CEST   October 12, 2022 12:03:26 PM CEST   Success\n<\/code><\/pre>\n\n\n\n<p>Update the repository with the DB clone<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/opt\/oracle\/dcs\/bin\/odacli update-repository -f \/opt\/Downloads\/odacli-dcs-19.16.0.0.0-220717-DB-19.16.0.0.zip<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 12:05:52 root@oda-deva]# odacli describe-job -i \"ad8eed4c-7c2e-4e76-b984-e0e19467d909\"\n\nJob details\n----------------------------------------------------------------\n                     ID:  ad8eed4c-7c2e-4e76-b984-e0e19467d909\n            Description:  Repository Update\n                 Status:  Success\n                Created:  October 12, 2022 12:04:03 PM CEST\n                Message:  \/opt\/Downloads\/odacli-dcs-19.16.0.0.0-220717-DB-19.16.0.0.zip\n\nTask Name                                Start Time                          End Time                            Status\n---------------------------------------- ----------------------------------- ----------------------------------- ----------\nCheck AvailableSpace                     October 12, 2022 12:04:14 PM CEST   October 12, 2022 12:04:14 PM CEST   Success\nSetting up ssh equivalance               October 12, 2022 12:04:14 PM CEST   October 12, 2022 12:04:15 PM CEST   Success\nCopy BundleFile                          October 12, 2022 12:04:15 PM CEST   October 12, 2022 12:04:31 PM CEST   Success\nValidating CopiedFile                    October 12, 2022 12:04:31 PM CEST   October 12, 2022 12:04:41 PM CEST   Success\nUnzip bundle                             October 12, 2022 12:04:41 PM CEST   October 12, 2022 12:05:19 PM CEST   Success\nUnzip bundle                             October 12, 2022 12:05:19 PM CEST   October 12, 2022 12:05:57 PM CEST   Success\nDelete PatchBundles                      October 12, 2022 12:05:57 PM CEST   October 12, 2022 12:05:58 PM CEST   Success\n<\/code><\/pre>\n\n\n\n<p>At this moment, we can check the status of the components<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># odacli describe-component\n\t&#091;2022-10-12 12:06:12 root@oda-deva]# odacli describe-component\n\tSystem Version\n\t---------------\n\t19.16.0.0.0\n\n\tSystem node Name\n\t---------------\n\toda-deva\n\n\tLocal System Version\n\t---------------\n\t19.16.0.0.0\n\n\tComponent                                Installed Version    Available Version\n\t---------------------------------------- -------------------- --------------------\n\tOAK\n\t\t\t\t\t\t\t\t\t\t\t  19.14.0.0.0           19.16.0.0.0\n\tGI\n\t\t\t\t\t\t\t\t\t\t\t  19.14.0.0.220118      19.16.0.0.220719\n\tDB&#091; OFCCMPRE,T24DEV01,C1IDPDEV,C1IDPPRE,\n\tC1DEVOPS ]                                19.14.0.0.220118      19.16.0.0.220719\n\tDCSCONTROLLER\n\t\t\t\t\t\t\t\t\t\t\t  19.16.0.0.0           up-to-date\n\tDCSCLI\n\t\t\t\t\t\t\t\t\t\t\t  19.16.0.0.0           up-to-date\n\tDCSAGENT\n\t\t\t\t\t\t\t\t\t\t\t  19.16.0.0.0           up-to-date\n\tDCSADMIN\n\t\t\t\t\t\t\t\t\t\t\t  19.16.0.0.0           up-to-date\n\tOS\n\t\t\t\t\t\t\t\t\t\t\t  7.9                   up-to-date\n\tILOM\n\t\t\t\t\t\t\t\t\t\t\t  5.0.1.21.a.r138015    5.1.0.20.r145377\n\tBIOS\n\t\t\t\t\t\t\t\t\t\t\t  41080800              41110100\n\tLOCAL CONTROLLER FIRMWARE {\n\t&#091;c3,c4]\n\t\t\t\t\t\t\t\t\t\t\t  20.08.01.18           214.2.271.9\n\t&#091;c5]\n\t\t\t\t\t\t\t\t\t\t\t  80000690              up-to-date\n\t}\n\tSHARED CONTROLLER FIRMWARE\n\t\t\t\t\t\t\t\t\t\t\t  16.00.08.00           up-to-date\n\tFIRMWAREEXPANDER\n\t\t\t\t\t\t\t\t\t\t\t  0310                  up-to-date\n\tLOCAL DISK FIRMWARE\n\t\t\t\t\t\t\t\t\t\t\t  N2010121              up-to-date\n\tSHARED DISK FIRMWARE {\n\t&#091;c0d0,c0d1]\n\t\t\t\t\t\t\t\t\t\t\t  N2010121              up-to-date\n\t&#091;c1d0,c1d1,c1d2,c1d3,c1d4,c1d5,c1d6,\n\tc1d7,c1d8,c1d9,c1d10,c1d11,c1d12,c1d13,\n\tc1d14,c1d15,c1d16,c1d17,c1d18,c1d19,\n\tc2d0,c2d1,c2d2,c2d3,c2d4,c2d5,c2d6,c2d7,\n\tc2d8,c2d9,c2d10,c2d11,c2d12,c2d13,c2d14,\n\tc2d15,c2d16,c2d17,c2d18,c2d19]            A170                  up-to-date\n\t&#091;c1d20,c1d21,c1d22,c1d23,c2d20,c2d21,\n\tc2d22,c2d23]                              A959                  A902\n\t}\n\tHMP\n\t\t\t\t\t\t\t\t\t\t\t  2.4.8.0.600           2.4.8.9.601\nSystem node Name\n\t---------------\n\toda-devb\n\n\tLocal System Version\n\t---------------\n\t19.16.0.0.0\n\n\tComponent                                Installed Version    Available Version\n\t---------------------------------------- -------------------- --------------------\n\tOAK\n\t\t\t\t\t\t\t\t\t\t\t  19.14.0.0.0           19.16.0.0.0\n\tGI\n\t\t\t\t\t\t\t\t\t\t\t  19.14.0.0.220118      19.16.0.0.220719\n\tDB&#091; OFCCMPRE,T24DEV01,C1IDPDEV,C1IDPPRE,\n\tC1DEVOPS ]                                19.14.0.0.220118      19.16.0.0.220719\n\tDCSCONTROLLER\n\t\t\t\t\t\t\t\t\t\t\t  19.16.0.0.0           up-to-date\n\tDCSCLI\n\t\t\t\t\t\t\t\t\t\t\t  19.16.0.0.0           up-to-date\n\tDCSAGENT\n\t\t\t\t\t\t\t\t\t\t\t  19.16.0.0.0           up-to-date\n\tDCSADMIN\n\t\t\t\t\t\t\t\t\t\t\t  19.16.0.0.0           up-to-date\n\tOS\n\t\t\t\t\t\t\t\t\t\t\t  7.9                   up-to-date\n\tILOM\n\t\t\t\t\t\t\t\t\t\t\t  5.0.1.21.a.r138015    5.1.0.20.r145377\n\tBIOS\n\t\t\t\t\t\t\t\t\t\t\t  41080800              41110100\n\tLOCAL CONTROLLER FIRMWARE {\n\t&#091;c3]\n\t\t\t\t\t\t\t\t\t\t\t  80000690              up-to-date\n\t&#091;c4,c5]\n\t\t\t\t\t\t\t\t\t\t\t  20.08.01.18           214.2.271.9\n\t}\n\tSHARED CONTROLLER FIRMWARE\n\t\t\t\t\t\t\t\t\t\t\t  16.00.08.00           up-to-date\n\tFIRMWAREEXPANDER\n\t\t\t\t\t\t\t\t\t\t\t  0310                  up-to-date\n\tLOCAL DISK FIRMWARE\n\t\t\t\t\t\t\t\t\t\t\t  N2010121              up-to-date\n\tSHARED DISK FIRMWARE {\n\t&#091;c0d0,c0d1]\n\t\t\t\t\t\t\t\t\t\t\t  N2010121              up-to-date\n\t&#091;c1d0,c1d1,c1d2,c1d3,c1d4,c1d5,c1d6,\n\tc1d7,c1d8,c1d9,c1d10,c1d11,c1d12,c1d13,\n\tc1d14,c1d15,c1d16,c1d17,c1d18,c1d19,\n\tc2d0,c2d1,c2d2,c2d3,c2d4,c2d5,c2d6,c2d7,\n\tc2d8,c2d9,c2d10,c2d11,c2d12,c2d13,c2d14,\n\tc2d15,c2d16,c2d17,c2d18,c2d19]            A170                  up-to-date\n\t&#091;c1d20,c1d21,c1d22,c1d23,c2d20,c2d21,\n\tc2d22,c2d23]                              A959                  A902\n\t}\n\tHMP\n\t\t\t\t\t\t\t\t\t\t\t  2.4.8.0.600           2.4.8.9.601\n<\/code><\/pre>\n\n\n\n<p>Before updating the server, we do generate the prepatchreport<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 12:07:39 root@oda-deva]# \/opt\/oracle\/dcs\/bin\/odacli create-prepatchreport -s -v 19.16.0.0.0\n\nJob details\n----------------------------------------------------------------\n                     ID:  a0087a74-994f-4097-b32c-6c024d9a05d7\n            Description:  Patch pre-checks for &#091;OS, ILOM, GI, ORACHKSERVER, SERVER]\n                 Status:  Created\n                Created:  October 12, 2022 12:08:14 PM CEST\n                Message:  Use 'odacli describe-prepatchreport -i a0087a74-994f-4097-b32c-6c024d9a05d7' to check details of results\n\nTask Name                                Start Time                          End Time                            Status\n---------------------------------------- ----------------------------------- ----------------------------------- ----------\n<\/code><\/pre>\n\n\n\n<p>This report should return any error.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 12:27:25 root@oda-deva]# odacli describe-prepatchreport -i a0087a74-994f-4097-b32c-6c024d9a05d7\n\nPatch pre-check report\n------------------------------------------------------------------------\n                 Job ID:  a0087a74-994f-4097-b32c-6c024d9a05d7\n            Description:  Patch pre-checks for &#091;OS, ILOM, GI, ORACHKSERVER, SERVER]\n                 Status:  FAILED\n                Created:  October 12, 2022 12:08:14 PM CEST\n                 Result:  One or more pre-checks failed for &#091;GI]\n\nNode Name\n---------------\noda-deva\n\nPre-Check                      Status   Comments\n------------------------------ -------- --------------------------------------\n__OS__\nValidate supported versions     Success   Validated minimum supported versions.\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs patch location available     Success   Patch location is available.\nVerify OS patch                 Success   Verified OS patch\nValidate command execution      Success   Validated command execution\n\n__ILOM__\nValidate ILOM server reachable  Success   Successfully connected with ILOM\n                                          server using public IP and USB\n                                          interconnect\nValidate supported versions     Success   Validated minimum supported versions.\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs patch location available     Success   Patch location is available.\nChecking Ilom patch Version     Success   Successfully verified the versions\nPatch location validation       Success   Successfully validated location\nValidate command execution      Success   Validated command execution\n\n__GI__\nValidate GI metadata            Success   Successfully validated GI metadata\nValidate supported GI versions  Success   Validated minimum supported versions.\nValidate available space        Success   Validated free space under \/u01\nIs clusterware running          Success   Clusterware is running\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs system provisioned           Success   Verified system is provisioned\nValidate ASM in online          Success   ASM is online\nValidate kernel log level       Success   Successfully validated the OS log\n                                          level\nValidate minimum agent version  Success   GI patching enabled in current\n                                          DCSAGENT version\nValidate Central Inventory      Success   oraInventory validation passed\nValidate patching locks         Failed    Internal error encountered: Lock on\n                                          Central Inventory detected. This may\n                                          result in a failure patching the GI.\nValidate clones location exist  Success   Validated clones location\nValidate DB start dependencies  Success   DBs START dependency check passed\nValidate DB stop dependencies   Success   DBs STOP dependency check passed\nEvaluate GI patching            Success   Successfully validated GI patching\nValidate command execution      Success   Validated command execution\n\n__ORACHK__\nRunning orachk                  Success   Successfully ran Orachk\nValidate command execution      Success   Validated command execution\n\n__SERVER__\nValidate local patching         Success   Successfully validated server local\n                                          patching\nValidate command execution      Success   Validated command execution\n\nNode Name\n---------------\noda-devb\n\nPre-Check                      Status   Comments\n------------------------------ -------- --------------------------------------\n__OS__\nValidate supported versions     Success   Validated minimum supported versions.\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs patch location available     Success   Patch location is available.\nVerify OS patch                 Success   Verified OS patch\nValidate command execution      Success   Validated command execution\n\n__ILOM__\nValidate ILOM server reachable  Success   Successfully connected with ILOM\n                                          server using public IP and USB\n                                          interconnect\nValidate supported versions     Success   Validated minimum supported versions.\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs patch location available     Success   Patch location is available.\nChecking Ilom patch Version     Success   Successfully verified the versions\nPatch location validation       Success   Successfully validated location\nValidate command execution      Success   Validated command execution\n\n__GI__\nValidate GI metadata            Success   Successfully validated GI metadata\nValidate supported GI versions  Success   Validated minimum supported versions.\nValidate available space        Success   Validated free space under \/u01\nIs clusterware running          Success   Clusterware is running\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs system provisioned           Success   Verified system is provisioned\nValidate ASM in online          Success   ASM is online\nValidate kernel log level       Success   Successfully validated the OS log\n                                          level\nValidate minimum agent version  Success   GI patching enabled in current\n                                          DCSAGENT version\nValidate Central Inventory      Success   oraInventory validation passed\nValidate patching locks         Failed    Internal error encountered: Lock on\n                                          Central Inventory detected. This may\n                                          result in a failure patching the GI.\nValidate clones location exist  Success   Validated clones location\nValidate DB start dependencies  Success   DBs START dependency check passed\nValidate DB stop dependencies   Success   DBs STOP dependency check passed\nEvaluate GI patching            Success   Successfully validated GI patching\nValidate command execution      Success   Validated command execution\n\n__ORACHK__\nRunning orachk                  Success   Successfully ran Orachk\nValidate command execution      Success   Validated command execution\n\n__SERVER__\nValidate local patching         Success   Successfully validated server local\n                                          patching\nValidate command execution      Success   Validated command execution\n<\/code><\/pre>\n\n\n\n<p>As we can see above we got errors about lock on Central Inventory. We just follow the steps from this Oracle documentation on both nodes<\/p>\n\n\n\n<p><em>ODA Upgrade PrepatchReport Fails Due To OraInventory Lock Internal Error (Doc ID 2659378.1)<\/em><em><\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 13:33:00 root@oda-deva]# cd \/u01\/app\/oraInventory\/\n&#091;2022-10-12 13:33:15 root@oda-deva]# ls -l\ntotal 24\ndrwxrwx--- 6 oracle oinstall 4096 Oct 12 12:15 backup\ndrwxrwx--- 2 oracle oinstall 4096 Oct 12 12:15 ContentsXML\ndrwxrwx--- 2 oracle oinstall 4096 Oct 12 12:15 locks\ndrwxrwx--- 7 oracle oinstall 4096 Oct 12 12:14 logs\n-rw-rw---- 1 oracle oinstall   56 Apr 20 16:16 oraInst.loc\n-rwxrwx--- 1 oracle oinstall 1617 Apr 20 16:16 orainstRoot.sh\n\n&#091;2022-10-12 13:33:18 root@oda-deva]# mv locks locks.221012\n<\/code><\/pre>\n\n\n\n<p>And we rerun the prepatch report<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 13:33:40 root@oda-deva]# \/opt\/oracle\/dcs\/bin\/odacli create-prepatchreport -s -v 19.16.0.0.0\n\n\nJob details\n----------------------------------------------------------------\n                     ID:  2d2a2042-31e0-4750-af90-605f6b3bbb20\n            Description:  Patch pre-checks for &#091;OS, ILOM, GI, ORACHKSERVER, SERVER]\n                 Status:  Created\n                Created:  October 12, 2022 1:35:34 PM CEST\n                Message:  Use 'odacli describe-prepatchreport -i 2d2a2042-31e0-4750-af90-605f6b3bbb20' to check details of results\n\nTask Name                                Start Time                          End Time                            Status\n---------------------------------------- ----------------------------------- ----------------------------------- ----------\n<\/code><\/pre>\n\n\n\n<p>And the prepatch report was successful<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 13:45:44 root@oda-deva]# odacli describe-prepatchreport -i 2d2a2042-31e0-4750-af90-605f6b3bbb20\n\nPatch pre-check report\n------------------------------------------------------------------------\n                 Job ID:  2d2a2042-31e0-4750-af90-605f6b3bbb20\n            Description:  Patch pre-checks for &#091;OS, ILOM, GI, ORACHKSERVER, SERVER]\n                 Status:  SUCCESS\n                Created:  October 12, 2022 1:35:34 PM CEST\n                 Result:  All pre-checks succeeded\n\nNode Name\n---------------\noda-deva\n\nPre-Check                      Status   Comments\n------------------------------ -------- --------------------------------------\n__OS__\nValidate supported versions     Success   Validated minimum supported versions.\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs patch location available     Success   Patch location is available.\nVerify OS patch                 Success   Verified OS patch\nValidate command execution      Success   Validated command execution\n\n__ILOM__\nValidate ILOM server reachable  Success   Successfully connected with ILOM\n                                          server using public IP and USB\n                                          interconnect\nValidate supported versions     Success   Validated minimum supported versions.\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs patch location available     Success   Patch location is available.\nChecking Ilom patch Version     Success   Successfully verified the versions\nPatch location validation       Success   Successfully validated location\nValidate command execution      Success   Validated command execution\n\n__GI__\nValidate GI metadata            Success   Successfully validated GI metadata\nValidate supported GI versions  Success   Validated minimum supported versions.\nValidate available space        Success   Validated free space under \/u01\nIs clusterware running          Success   Clusterware is running\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs system provisioned           Success   Verified system is provisioned\nValidate ASM in online          Success   ASM is online\nValidate kernel log level       Success   Successfully validated the OS log\n                                          level\nValidate minimum agent version  Success   GI patching enabled in current\n                                          DCSAGENT version\nValidate Central Inventory      Success   oraInventory validation passed\nValidate patching locks         Success   Validated patching locks\nValidate clones location exist  Success   Validated clones location\nValidate DB start dependencies  Success   DBs START dependency check passed\nValidate DB stop dependencies   Success   DBs STOP dependency check passed\nEvaluate GI patching            Success   Successfully validated GI patching\nValidate command execution      Success   Validated command execution\n\n__ORACHK__\nRunning orachk                  Success   Successfully ran Orachk\nValidate command execution      Success   Validated command execution\n\n__SERVER__\nValidate local patching         Success   Successfully validated server local\n                                          patching\nValidate command execution      Success   Validated command execution\n\nNode Name\n---------------\noda-devb\n\nPre-Check                      Status   Comments\n------------------------------ -------- --------------------------------------\n__OS__\nValidate supported versions     Success   Validated minimum supported versions.\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs patch location available     Success   Patch location is available.\nVerify OS patch                 Success   Verified OS patch\nValidate command execution      Success   Validated command execution\n\n__ILOM__\nValidate ILOM server reachable  Success   Successfully connected with ILOM\n                                          server using public IP and USB\n                                          interconnect\nValidate supported versions     Success   Validated minimum supported versions.\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs patch location available     Success   Patch location is available.\nChecking Ilom patch Version     Success   Successfully verified the versions\nPatch location validation       Success   Successfully validated location\nValidate command execution      Success   Validated command execution\n\n__GI__\nValidate GI metadata            Success   Successfully validated GI metadata\nValidate supported GI versions  Success   Validated minimum supported versions.\nValidate available space        Success   Validated free space under \/u01\nIs clusterware running          Success   Clusterware is running\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nIs system provisioned           Success   Verified system is provisioned\nValidate ASM in online          Success   ASM is online\nValidate kernel log level       Success   Successfully validated the OS log\n                                          level\nValidate minimum agent version  Success   GI patching enabled in current\n                                          DCSAGENT version\nValidate Central Inventory      Success   oraInventory validation passed\nValidate patching locks         Success   Validated patching locks\nValidate clones location exist  Success   Validated clones location\nValidate DB start dependencies  Success   DBs START dependency check passed\nValidate DB stop dependencies   Success   DBs STOP dependency check passed\nEvaluate GI patching            Success   Successfully validated GI patching\nValidate command execution      Success   Validated command execution\n\n__ORACHK__\nRunning orachk                  Success   Successfully ran Orachk\nValidate command execution      Success   Validated command execution\n\n__SERVER__\nValidate local patching         Success   Successfully validated server local\n                                          patching\nValidate command execution      Success   Validated command execution\n<\/code><\/pre>\n\n\n\n<p>As all checks are fine, we can now run the update server command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 13:46:19 root@oda-deva]# \/opt\/oracle\/dcs\/bin\/odacli update-server -v 19.16.0.0.0\n{\n  \"jobId\" : \"a03fce0a-413c-458f-a051-0537109c66f1\",\n  \"status\" : \"Created\",\n  \"message\" : \"Success of server update will trigger reboot of the node after 4-5 minutes. Please wait until the node reboots.\",\n  \"reports\" : &#091; ],\n  \"createTimestamp\" : \"October 12, 2022 13:47:11 PM CEST\",\n  \"resourceList\" : &#091; ],\n  \"description\" : \"Server Patching\",\n  \"updatedTime\" : \"October 12, 2022 13:47:11 PM CEST\",\n  \"jobType\" : null\n}\n<\/code><\/pre>\n\n\n\n<p>Few times after, the update server was successful<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 15:08:10 root@oda-deva]# odacli describe-job -i a03fce0a-413c-458f-a051-0537109c66f1\n\nJob details\n----------------------------------------------------------------\n                     ID:  a03fce0a-413c-458f-a051-0537109c66f1\n            Description:  Server Patching\n                 Status:  Success\n                Created:  October 12, 2022 1:47:11 PM CEST\n                Message:  Successfully patched GI with RHP\n\nTask Name                                Start Time                          End Time                            Status\n---------------------------------------- ----------------------------------- ----------------------------------- ----------\nValidating GI user metadata              October 12, 2022 1:47:37 PM CEST    October 12, 2022 1:47:37 PM CEST    Success\nValidating GI user metadata              October 12, 2022 1:47:37 PM CEST    October 12, 2022 1:47:37 PM CEST    Success\nValidate ILOM server reachable           October 12, 2022 1:47:37 PM CEST    October 12, 2022 1:47:37 PM CEST    Success\nValidate ILOM server reachable           October 12, 2022 1:47:37 PM CEST    October 12, 2022 1:47:37 PM CEST    Success\nValidate DCS Admin mTLS setup            October 12, 2022 1:47:37 PM CEST    October 12, 2022 1:47:37 PM CEST    Success\nValidate DCS Admin mTLS setup            October 12, 2022 1:47:37 PM CEST    October 12, 2022 1:47:37 PM CEST    Success\nConfigure export clones resource         October 12, 2022 1:47:40 PM CEST    October 12, 2022 1:47:40 PM CEST    Success\nCreating repositories using yum          October 12, 2022 1:47:43 PM CEST    October 12, 2022 1:47:46 PM CEST    Success\nUpdating YumPluginVersionLock rpm        October 12, 2022 1:47:46 PM CEST    October 12, 2022 1:47:46 PM CEST    Success\nApplying OS Patches                      October 12, 2022 1:47:46 PM CEST    October 12, 2022 1:59:44 PM CEST    Success\nCreating repositories using yum          October 12, 2022 1:59:45 PM CEST    October 12, 2022 1:59:46 PM CEST    Success\nApplying HMP Patches                     October 12, 2022 1:59:46 PM CEST    October 12, 2022 2:00:05 PM CEST    Success\nPatch location validation                October 12, 2022 2:00:06 PM CEST    October 12, 2022 2:00:06 PM CEST    Success\nPatch location validation                October 12, 2022 2:00:06 PM CEST    October 12, 2022 2:00:06 PM CEST    Success\nOda-hw-mgmt upgrade                      October 12, 2022 2:00:07 PM CEST    October 12, 2022 2:00:40 PM CEST    Success\nOda-hw-mgmt upgrade                      October 12, 2022 2:00:40 PM CEST    October 12, 2022 2:01:14 PM CEST    Success\nOSS Patching                             October 12, 2022 2:01:14 PM CEST    October 12, 2022 2:01:14 PM CEST    Success\nApplying Firmware Disk Patches           October 12, 2022 2:01:18 PM CEST    October 12, 2022 2:01:23 PM CEST    Success\nApplying Firmware Controller Patches     October 12, 2022 2:03:17 PM CEST    October 12, 2022 2:05:14 PM CEST    Success\nChecking Ilom patch Version              October 12, 2022 2:05:14 PM CEST    October 12, 2022 2:05:14 PM CEST    Success\nChecking Ilom patch Version              October 12, 2022 2:05:14 PM CEST    October 12, 2022 2:05:15 PM CEST    Success\nPatch location validation                October 12, 2022 2:05:15 PM CEST    October 12, 2022 2:05:15 PM CEST    Success\nPatch location validation                October 12, 2022 2:05:15 PM CEST    October 12, 2022 2:05:15 PM CEST    Success\nSave password in Wallet                  October 12, 2022 2:05:15 PM CEST    October 12, 2022 2:05:16 PM CEST    Success\nDisabling IPMI v2                        October 12, 2022 2:05:17 PM CEST    October 12, 2022 2:05:19 PM CEST    Success\nApply Ilom patch                         October 12, 2022 2:05:19 PM CEST    October 12, 2022 2:17:07 PM CEST    Success\nApply Ilom patch                         October 12, 2022 2:17:07 PM CEST    October 12, 2022 2:26:49 PM CEST    Success\nCopying Flash Bios to Temp location      October 12, 2022 2:26:49 PM CEST    October 12, 2022 2:26:49 PM CEST    Success\nCopying Flash Bios to Temp location      October 12, 2022 2:26:49 PM CEST    October 12, 2022 2:26:49 PM CEST    Success\nRemove AsrConfBackup File                October 12, 2022 2:26:49 PM CEST    October 12, 2022 2:26:49 PM CEST    Success\nStarting the clusterware                 October 12, 2022 2:28:52 PM CEST    October 12, 2022 2:30:39 PM CEST    Success\nRegistering image                        October 12, 2022 2:30:39 PM CEST    October 12, 2022 2:30:39 PM CEST    Success\nRegistering working copy                 October 12, 2022 2:30:39 PM CEST    October 12, 2022 2:30:39 PM CEST    Success\nRegistering image                        October 12, 2022 2:30:39 PM CEST    October 12, 2022 2:30:39 PM CEST    Success\nCreating GI home directories             October 12, 2022 2:30:39 PM CEST    October 12, 2022 2:30:39 PM CEST    Success\nExtract GI clone                         October 12, 2022 2:30:39 PM CEST    October 12, 2022 2:30:39 PM CEST    Success\nExtract GI clone                         October 12, 2022 2:30:39 PM CEST    October 12, 2022 2:30:39 PM CEST    Success\nProvisioning Software Only GI with RHP   October 12, 2022 2:30:39 PM CEST    October 12, 2022 2:30:39 PM CEST    Success\nPatch GI with RHP                        October 12, 2022 2:30:39 PM CEST    October 12, 2022 2:44:42 PM CEST    Success\nUpdating GIHome version                  October 12, 2022 2:44:43 PM CEST    October 12, 2022 2:44:46 PM CEST    Success\nUpdating GIHome version                  October 12, 2022 2:44:43 PM CEST    October 12, 2022 2:44:47 PM CEST    Success\nValidate GI availability                 October 12, 2022 2:44:50 PM CEST    October 12, 2022 2:44:51 PM CEST    Success\nPatch KVM CRS type                       October 12, 2022 2:44:51 PM CEST    October 12, 2022 2:44:51 PM CEST    Success\nPatch VM vDisks CRS dependencies         October 12, 2022 2:44:51 PM CEST    October 12, 2022 2:44:51 PM CEST    Success\nUpdate System version                    October 12, 2022 2:44:51 PM CEST    October 12, 2022 2:44:51 PM CEST    Success\nUpdate System version                    October 12, 2022 2:44:51 PM CEST    October 12, 2022 2:44:51 PM CEST    Success\nCleanup JRE Home                         October 12, 2022 2:44:52 PM CEST    October 12, 2022 2:44:52 PM CEST    Success\nAdd SYSNAME in Env                       October 12, 2022 2:44:52 PM CEST    October 12, 2022 2:44:52 PM CEST    Success\nStarting the clusterware                 October 12, 2022 2:44:52 PM CEST    October 12, 2022 2:44:52 PM CEST    Success\nSetting ACL for disk groups              October 12, 2022 2:44:52 PM CEST    October 12, 2022 2:45:00 PM CEST    Success\nUpdate previous workarounds              October 12, 2022 2:47:21 PM CEST    October 12, 2022 2:47:21 PM CEST    Success\nUpdate previous workarounds              October 12, 2022 2:47:21 PM CEST    October 12, 2022 2:47:21 PM CEST    Success\nPreRebootNode Actions                    October 12, 2022 2:47:21 PM CEST    October 12, 2022 2:48:16 PM CEST    Success\nPreRebootNode Actions                    October 12, 2022 2:48:16 PM CEST    October 12, 2022 2:49:07 PM CEST    Success\nReboot Ilom                              October 12, 2022 2:49:07 PM CEST    October 12, 2022 2:49:07 PM CEST    Success\nReboot Ilom                              October 12, 2022 2:49:07 PM CEST    October 12, 2022 2:49:07 PM CEST    Success\n<\/code><\/pre>\n\n\n\n<p>Now we have to patch the storage<\/p>\n\n\n\n<p>Let\u2019s run the prepatch report for the storage<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 15:08:54 root@oda-deva]# \/opt\/oracle\/dcs\/bin\/odacli create-prepatchreport -st -v 19.16.0.0.0\n\nJob details\n----------------------------------------------------------------\n                     ID:  24fbea1f-8a0c-49bc-b87c-412c64341f62\n            Description:  Patch pre-checks for &#091;STORAGE]\n                 Status:  Created\n                Created:  October 12, 2022 3:09:36 PM CEST\n                Message:  Use 'odacli describe-prepatchreport -i 24fbea1f-8a0c-49bc-b87c-412c64341f62' to check details of results\n\nTask Name                                Start Time                          End Time                            Status\n<\/code><\/pre>\n\n\n\n<p>Let\u2019s validate the status of the job<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 15:10:22 root@oda-deva]# odacli describe-prepatchreport -i 24fbea1f-8a0c-49bc-b87c-412c64341f62\n\nPatch pre-check report\n------------------------------------------------------------------------\n                 Job ID:  24fbea1f-8a0c-49bc-b87c-412c64341f62\n            Description:  Patch pre-checks for &#091;STORAGE]\n                 Status:  SUCCESS\n                Created:  October 12, 2022 3:09:36 PM CEST\n                 Result:  All pre-checks succeeded\n\nNode Name\n---------------\noda-deva\n\nPre-Check                      Status   Comments\n------------------------------ -------- --------------------------------------\n__STORAGE__\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nPatch location validation       Success   Verified patch location\nPatch tag validation            Success   Verified patch tag\nStorage patch tag validation    Success   Verified storage patch location\nVerify ASM disks status         Success   ASM disks are online\nValidate rolling patch          Success   Rolling mode patching allowed as\n                                          there is no expander and controller\n                                          upgrade.\nValidate command execution      Success   Validated command execution\n\nNode Name\n---------------\noda-devb\n\nPre-Check                      Status   Comments\n------------------------------ -------- --------------------------------------\n__STORAGE__\nValidate patching tag           Success   Validated patching tag: 19.16.0.0.0.\nPatch location validation       Success   Verified patch location\nPatch tag validation            Success   Verified patch tag\nStorage patch tag validation    Success   Verified storage patch location\nVerify ASM disks status         Success   ASM disks are online\nValidate rolling patch          Success   Rolling mode patching allowed as\n                                          there is no expander and controller\n                                          upgrade.\nValidate command execution      Success   Validated command execution\n<\/code><\/pre>\n\n\n\n<p>Then let\u2019s patch the storage<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 15:10:28 root@oda-deva]# \/opt\/oracle\/dcs\/bin\/odacli update-storage -v 19.16.0.0.0 --rolling\n{\n  \"jobId\" : \"413bb3b5-77b8-44ae-b1b1-ca3d6ea7fc9e\",\n  \"status\" : \"Created\",\n  \"message\" : \"Success of Storage Update may trigger reboot of node after 4-5 minutes. Please wait till node restart\",\n  \"reports\" : &#091; ],\n  \"createTimestamp\" : \"October 12, 2022 15:11:10 PM CEST\",\n  \"resourceList\" : &#091; ],\n  \"description\" : \"Storage Firmware Patching\",\n  \"updatedTime\" : \"October 12, 2022 15:11:10 PM CEST\",\n  \"jobType\" : null\n}\n<\/code><\/pre>\n\n\n\n<p>The operation went fine a few minutes after<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 15:11:20 root@oda-deva]# odacli describe-job -i \"413bb3b5-77b8-44ae-b1b1-ca3d6ea7fc9e\"\n\nJob details\n----------------------------------------------------------------\n                     ID:  413bb3b5-77b8-44ae-b1b1-ca3d6ea7fc9e\n            Description:  Storage Firmware Patching\n                 Status:  Success\n                Created:  October 12, 2022 3:11:10 PM CEST\n                Message:\n\nTask Name                                Start Time                          End Time                            Status\n---------------------------------------- ----------------------------------- ----------------------------------- ----------\nApplying Firmware Disk Patches           October 12, 2022 3:11:20 PM CEST    October 12, 2022 3:11:26 PM CEST    Success\n<\/code><\/pre>\n\n\n\n<p>After the server patch, if you decide to update the dbhomes you can do following steps<\/p>\n\n\n\n<p>First list your dbhomes<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 15:11:51 root@oda-deva]# odacli list-dbhomes\n\nID                                       Name                 DB Version                               Home Location                                 Status\n---------------------------------------- -------------------- ---------------------------------------- --------------------------------------------- ----------\na1bfe23e-2569-407b-8b87-7af9f9f586bf     OraDB19000_home1     19.14.0.0.220118                         \/u01\/app\/odaorahome\/oracle\/product\/19.0.0.0\/dbhome_1 CONFIGURED\n<\/code><\/pre>\n\n\n\n<p>Run the prepatch report for the dbhomes you want to update<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-12 15:16:51 root@oda-deva]# \/opt\/oracle\/dcs\/bin\/odacli create-prepatchreport --dbhome --dbhomeid a1bfe23e-2569-407b-8b87-7af9f9f586bf -v 19.16.0.0.0\n\nJob details\n----------------------------------------------------------------\n                     ID:  7bdce971-fc80-4781-8702-458f6f8d2783\n            Description:  Patch pre-checks for &#091;DB, ORACHKDB]: DbHome is OraDB19000_home1\n                 Status:  Created\n                Created:  October 12, 2022 3:16:56 PM CEST\n                Message:  Use 'odacli describe-prepatchreport -i 7bdce971-fc80-4781-8702-458f6f8d2783' to check details of results\n\nTask Name                                Start Time                          End Time                            Status\n---------------------------------------- ----------------------------------- ----------------------------------- ----------\n<\/code><\/pre>\n\n\n\n<p>Then validate that there is no error in the prepatch report.<\/p>\n\n\n\n<p>And update the dbhome<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/opt\/oracle\/dcs\/bin\/odacli update-dbhome --dbhomeid a1bfe23e-2569-407b-8b87-7af9f9f586bf -v 19.16.0.0.0<\/code><\/pre>\n\n\n\n<p>The job should return SUCCESS<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;2022-10-13 15:40:10 root@oda-devb]# odacli describe-job -i 9ff71b6a-cfb1-494a-9fc2-96e903c293e1\n\nJob details\n----------------------------------------------------------------\n                     ID:  9ff71b6a-cfb1-494a-9fc2-96e903c293e1\n            Description:  DB Home Patching: Home Id is a1bfe23e-2569-407b-8b87-7af9f9f586bf\n                 Status:  Success\n                Created:  October 13, 2022 6:00:35 AM CEST\n                Message:\n\nTask Name                                Start Time                          End Time                            Status\n---------------------------------------- ----------------------------------- ----------------------------------- ----------\nCreating wallet for DB Client            October 13, 2022 6:01:45 AM CEST    October 13, 2022 6:01:45 AM CEST    Success\nPatch databases by RHP                   October 13, 2022 6:01:45 AM CEST    October 13, 2022 6:19:09 AM CEST    Success\nUpdating database metadata               October 13, 2022 6:19:09 AM CEST    October 13, 2022 6:19:09 AM CEST    Success\nSet log_archive_dest for Database        October 13, 2022 6:19:09 AM CEST    October 13, 2022 6:19:13 AM CEST    Success\nPatch databases by RHP                   October 13, 2022 6:19:13 AM CEST    October 13, 2022 6:36:09 AM CEST    Success\nUpdating database metadata               October 13, 2022 6:36:09 AM CEST    October 13, 2022 6:36:09 AM CEST    Success\nSet log_archive_dest for Database        October 13, 2022 6:36:09 AM CEST    October 13, 2022 6:36:13 AM CEST    Success\nUpdate System version                    October 13, 2022 6:36:13 AM CEST    October 13, 2022 6:36:13 AM CEST    Success\nUpdate System version                    October 13, 2022 6:36:13 AM CEST    October 13, 2022 6:36:13 AM CEST    Success\nTDE parameter update                     October 13, 2022 6:36:45 AM CEST    October 13, 2022 6:36:45 AM CEST    Success\n<\/code><\/pre>\n\n\n\n<p><strong>Conclusion<\/strong><\/p>\n\n\n\n<p>As we can see patching an ODA HA is not different than patching an non-HA ODA. Just some recommendations<\/p>\n\n\n\n<p>-Read the official documentation<\/p>\n\n\n\n<p>-Backup your system before with odabr<\/p>\n\n\n\n<p>-Ensure that you have at least 15G of free space in \/ \/opt and \/u01 filesystems<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Mouhamadou Diaw Patching an ODA is always exciting. Preparing a patch of an ODA HA may seem more complicated that an single ODA. But it\u2019s the same processus. All patching operations should be run on one node. In this document I am describing the patch of a ODA HA from 19.14 to 19.16 with [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229,198,42,59],"tags":[79,2724,1662,2280],"type_dbi":[],"class_list":["post-19814","post","type-post","status-publish","format-standard","hentry","category-database-administration-monitoring","category-database-management","category-operating-systems","category-oracle","tag-oda","tag-oda-19-16","tag-odacli-update-server","tag-patching-oda"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Patching ODA HA from 19.14 to 19.16 - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Patching ODA HA from 19.14 to 19.16\" \/>\n<meta property=\"og:description\" content=\"By Mouhamadou Diaw Patching an ODA is always exciting. Preparing a patch of an ODA HA may seem more complicated that an single ODA. But it\u2019s the same processus. All patching operations should be run on one node. In this document I am describing the patch of a ODA HA from 19.14 to 19.16 with [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-26T14:25:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-20T08:19:02+00:00\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"21 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"Patching ODA HA from 19.14 to 19.16\",\"datePublished\":\"2022-10-26T14:25:59+00:00\",\"dateModified\":\"2023-06-20T08:19:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/\"},\"wordCount\":459,\"commentCount\":0,\"keywords\":[\"ODA\",\"ODA 19.16\",\"odacli update-server\",\"patching oda\"],\"articleSection\":[\"Database Administration &amp; Monitoring\",\"Database management\",\"Operating systems\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/\",\"name\":\"Patching ODA HA from 19.14 to 19.16 - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2022-10-26T14:25:59+00:00\",\"dateModified\":\"2023-06-20T08:19:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Patching ODA HA from 19.14 to 19.16\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"caption\":\"Oracle Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Patching ODA HA from 19.14 to 19.16 - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/","og_locale":"en_US","og_type":"article","og_title":"Patching ODA HA from 19.14 to 19.16","og_description":"By Mouhamadou Diaw Patching an ODA is always exciting. Preparing a patch of an ODA HA may seem more complicated that an single ODA. But it\u2019s the same processus. All patching operations should be run on one node. In this document I am describing the patch of a ODA HA from 19.14 to 19.16 with [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/","og_site_name":"dbi Blog","article_published_time":"2022-10-26T14:25:59+00:00","article_modified_time":"2023-06-20T08:19:02+00:00","author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"21 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"Patching ODA HA from 19.14 to 19.16","datePublished":"2022-10-26T14:25:59+00:00","dateModified":"2023-06-20T08:19:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/"},"wordCount":459,"commentCount":0,"keywords":["ODA","ODA 19.16","odacli update-server","patching oda"],"articleSection":["Database Administration &amp; Monitoring","Database management","Operating systems","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/","url":"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/","name":"Patching ODA HA from 19.14 to 19.16 - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2022-10-26T14:25:59+00:00","dateModified":"2023-06-20T08:19:02+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/patching-oda-ha-from-19-14-to-19-16\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Patching ODA HA from 19.14 to 19.16"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","caption":"Oracle Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/19814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=19814"}],"version-history":[{"count":12,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/19814\/revisions"}],"predecessor-version":[{"id":26145,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/19814\/revisions\/26145"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=19814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=19814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=19814"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=19814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}