meta données pour cette page
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| oracle:oda:patch_oda_from_19.20_to_19.21 [15/04/2025 09:12] – créée mdl | oracle:oda:patch_oda_from_19.20_to_19.21 [15/04/2025 09:45] (Version actuelle) – mdl | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | The patch 19.20 to 19.21 will use the Data Preserving method | + | ====== Patch ODA from 19.20 to 19.21 ====== |
| + | <color # | ||
| + | \\ | ||
| + | For the patch 19.20 to 19.21, there is OS upgrade from OL7 to OL8, the OS FS is wiped | ||
| + | This procedure | ||
| The main steps will be | The main steps will be | ||
| + | *** Step 1: Detaching Nodes for Upgrade Using Data Preserving Reprovisioning** | ||
| + | - Download the Oracle Database Appliance Server Patch (patch 35938481) | ||
| + | - Unzip the software | ||
| + | - Update the repository with the server software | ||
| + | - Update DCS admin | ||
| + | - Update the DCS components | ||
| + | - Update the DCS agent | ||
| + | - Create the pre-upgrade report to run upgrade pre-checks | ||
| + | - Detach the system for an operating system upgrade | ||
| + | - Save the files generated by the system deconfiguration and store them outside of the Oracle Database Appliance system | ||
| - | 1- Detach resources and software from the source version of the appliance | + | * **Step |
| - | 2- Reimage nodes using the Oracle Database Appliance ISO image | + | |
| - | 3- Restore nodes using the Data Preserving Reprovisioning method | + | - Plumb the network as described in the topic Plumbing the Network |
| + | - configure-firstnet.rsp ( in the zip file saved) | ||
| - | 4-Update | + | * **Step 3: Reprovisioning Nodes Using Data Preserving Reprovisioning Method** |
| + | | ||
| + | - Create the pre-patch report | ||
| + | - Apply the server update | ||
| + | - Run Prepatch report for the storage | ||
| + | - Update the storage components | ||
| + | - Update the storage components patch 30403673 | ||
| + | - Restore Oracle Grid Infrastructure | ||
| + | - Restore the database | ||
| + | \\ | ||
| + | === Step 1: Detaching Nodes for Upgrade Using Data Preserving Reprovisioning | ||
| - | + | * 1.1 Download the Oracle Database Appliance Server Patch for the ODACLI/DCS stack (patch 35938481) | |
| - | Step 1: Detaching Nodes for Upgrade Using Data Preserving Reprovisioning | + | |
| - | 1- Download the Oracle Database Appliance Server Patch (patch 35938481) | + | <code BASH> |
| - | 2- Unzip the software | + | |
| - | 3- Update the repository with the server software | + | |
| - | 4- Update DCS admin | + | |
| - | 5- Update the DCS components | + | |
| - | 6- Update the DCS agent | + | |
| - | 7- Create the pre-upgrade report to run upgrade pre-checks | + | |
| - | 8- Detach the system for an operating system upgrade | + | |
| - | 9- Save the files generated by the system deconfiguration and store them outside of the Oracle Database Appliance system | + | |
| - | + | ||
| - | Step 2: Reimaging Nodes for Upgrading Using Data Preserving Reprovisioning | + | |
| - | 1- Download the Oracle Database Appliance release 19.21 bare metal ISO image and reimage the appliance | + | |
| - | --Patch 30403643 | + | |
| - | + | ||
| - | 2- Plumb the network as described in the topic Plumbing the Network | + | |
| - | configure-firstnet.rsp ( in the zip file saved) | + | |
| - | + | ||
| - | Step 3: Reprovisioning Nodes Using Data Preserving Reprovisioning Method | + | |
| - | 1- Update the repository with the Oracle Database Appliance release 19.21.0.0.0 Server Patch (patch 35938481) | + | |
| - | 2- Create the pre-patch report | + | |
| - | 3- Apply the server update | + | |
| - | 4- Run Prepatch report for the storage | + | |
| - | 5- Update the storage components | + | |
| - | 6- Update the storage components patch 30403673 | + | |
| - | 7- Restore Oracle Grid Infrastructure | + | |
| - | 8- Restore the database | + | |
| - | + | ||
| - | Below the detailled steps for the patching | + | |
| - | + | ||
| - | Step 1: Detaching Nodes for Upgrade Using Data Preserving Reprovisioning | + | |
| - | 1.1 Download the Oracle Database Appliance Server Patch for the ODACLI/DCS stack (patch 35938481) | + | |
| - | 1-2 Unzip the patch | + | |
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| Archive: | Archive: | ||
| Ligne 48: | Ligne 42: | ||
| inflating: README.txt | inflating: README.txt | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| - | + | </ | |
| - | 1.3 Update the repository with the server software file | + | |
| + | <code BASH> | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| { | { | ||
| Ligne 63: | Ligne 58: | ||
| } | } | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| - | + | </ | |
| - | Validate the job status | + | |
| - | + | <code BASH> | |
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| Ligne 82: | Ligne 76: | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| - | + | </ | |
| - | 1.4 Update DCS admin | + | |
| + | <code BASH> | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| { | { | ||
| Ligne 97: | Ligne 92: | ||
| } | } | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| + | </ | ||
| - | + | * Validate the job | |
| - | Validate the job | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| Ligne 119: | Ligne 112: | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| + | </ | ||
| - | 1.5 Update the DCS components | + | * 1.5 Update the DCS components |
| - | + | <code BASH> | |
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| { | { | ||
| Ligne 134: | Ligne 127: | ||
| } | } | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| - | + | </ | |
| - | 1.6 Update the DCS agent | + | |
| - | + | <code BASH> | |
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| { | { | ||
| Ligne 151: | Ligne 143: | ||
| } | } | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| + | </ | ||
| - | + | * Validate the job | |
| - | Validate the job | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| Ligne 174: | Ligne 164: | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| - | + | </ | |
| - | 1.7 Run upgrade pre-checks | + | |
| + | <code BASH> | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| Ligne 190: | Ligne 181: | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| + | </ | ||
| - | + | * Check the report, any error should be corrected | |
| - | Check the report, any error should be corrected | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| Ligne 333: | Ligne 322: | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| - | + | </ | |
| - | 1.8 detach the system for an operating system upgrade | + | |
| + | <code BASH> | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| ******************************************************************************** | ******************************************************************************** | ||
| Ligne 361: | Ligne 351: | ||
| } | } | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| + | </ | ||
| - | + | * Validate the job | |
| - | Validate the job | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| Ligne 425: | Ligne 413: | ||
| [root@moros patch_1921]# | [root@moros patch_1921]# | ||
| + | </ | ||
| - | 1.9 Save the files generated by the system deconfiguration and store them outside of the Oracle Database Appliance | + | * 1.9 Save the files generated by the system deconfiguration and store them outside of the Oracle Database Appliance |
| + | <code BASH> | ||
| [root@phanes out_oda_moros_patch]# | [root@phanes out_oda_moros_patch]# | ||
| files serverarchive_moros.zip | files serverarchive_moros.zip | ||
| [root@phanes out_oda_moros_patch]# | [root@phanes out_oda_moros_patch]# | ||
| + | </ | ||
| + | === Step 2: Reimaging Nodes for Upgrading Using Data Preserving Reprovisioning === | ||
| - | Step 2: Reimaging Nodes for Upgrading Using Data Preserving Reprovisioning | + | * 2.1 Reimage |
| - | 2.1 Reimage | + | |
| Do the reimage according the documentation | Do the reimage according the documentation | ||
| + | [[https:// | ||
| - | https:// | + | * 2.2 Configure network |
| - | + | ||
| - | 2.2 Configure network | + | |
| If you have noted your configuration network you will have to provided them. Otherwise in the archive file generated in Step 1.8, the configure-firstnet.rsp file will have all required information. Note that you should not change the network settings. | If you have noted your configuration network you will have to provided them. Otherwise in the archive file generated in Step 1.8, the configure-firstnet.rsp file will have all required information. Note that you should not change the network settings. | ||
| + | <code BASH> | ||
| localhost login: root | localhost login: root | ||
| Password: | Password: | ||
| Ligne 457: | Ligne 446: | ||
| WARNING: Cannot ping the default gateway, please check the network information manually | WARNING: Cannot ping the default gateway, please check the network information manually | ||
| [root@oak ~]# | [root@oak ~]# | ||
| + | </ | ||
| - | + | * We can check the status of the components | |
| - | We can check the status of the components | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@oak ~]# odacli describe-component | [root@oak ~]# odacli describe-component | ||
| System Version | System Version | ||
| Ligne 504: | Ligne 491: | ||
| [root@oak ~]# | [root@oak ~]# | ||
| + | </ | ||
| + | === Step 3: Reprovisioning Nodes Using Data Preserving Reprovisioning Method === | ||
| - | Step 3: Reprovisioning Nodes Using Data Preserving Reprovisioning Method | + | * 3.1 Update the repository with the Oracle Database Appliance release 19.21.0.0.0 Server Patch |
| - | 3.1 Update the repository with the Oracle Database Appliance release 19.21.0.0.0 Server Patch | + | <code BASH> |
| [root@oak Download]# unzip p35938481_1921000_Linux-x86-64.zip | [root@oak Download]# unzip p35938481_1921000_Linux-x86-64.zip | ||
| Archive: | Archive: | ||
| Ligne 512: | Ligne 501: | ||
| inflating: README.txt | inflating: README.txt | ||
| [root@oak Download]# | [root@oak Download]# | ||
| + | </ | ||
| - | + | * Validate the job | |
| - | Validate the job | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@oak Download]# / | [root@oak Download]# / | ||
| { | { | ||
| Ligne 531: | Ligne 518: | ||
| } | } | ||
| [root@oak Download]# | [root@oak Download]# | ||
| + | </ | ||
| - | + | * Validate the job | |
| - | Validate the job | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@oak Download]# odacli describe-job -i " | [root@oak Download]# odacli describe-job -i " | ||
| Ligne 552: | Ligne 537: | ||
| [root@oak Download]# | [root@oak Download]# | ||
| - | + | </ | |
| - | 3.2 Apply the Server Patch | + | |
| - | 3.1.1 Run Prepatch Report | + | |
| + | <code BASH> | ||
| [root@oak Download]# odacli create-prepatchreport -s -v 19.21.0.0.0 | [root@oak Download]# odacli create-prepatchreport -s -v 19.21.0.0.0 | ||
| Ligne 569: | Ligne 555: | ||
| [root@oak Download]# | [root@oak Download]# | ||
| + | </ | ||
| - | + | * Validate the job | |
| - | Validate the job | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@oak Download]# odacli describe-prepatchreport -i b3745161-b18f-48bd-8b79-1f2d8d46770e | [root@oak Download]# odacli describe-prepatchreport -i b3745161-b18f-48bd-8b79-1f2d8d46770e | ||
| Ligne 619: | Ligne 603: | ||
| [root@oak Download]# | [root@oak Download]# | ||
| + | </ | ||
| - | + | * 3.1.2 Apply the server patch | |
| - | 3.1.2 Apply the server patch | + | <code BASH> |
| [root@oak Download]# | [root@oak Download]# | ||
| { | { | ||
| Ligne 636: | Ligne 620: | ||
| } | } | ||
| [root@oak Download]# | [root@oak Download]# | ||
| + | </ | ||
| - | + | * Validate the job | |
| - | Validate the job | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@oak ~]# odacli describe-job -i " | [root@oak ~]# odacli describe-job -i " | ||
| Ligne 684: | Ligne 666: | ||
| [root@oak ~]# | [root@oak ~]# | ||
| + | </ | ||
| - | + | * Now the component status | |
| - | Now the component status | + | <code BASH> |
| [root@oak ~]# odacli describe-component | [root@oak ~]# odacli describe-component | ||
| System Version | System Version | ||
| Ligne 729: | Ligne 711: | ||
| [root@oak ~]# | [root@oak ~]# | ||
| - | + | </ | |
| - | 3.3 Update the storage components | + | |
| - | 3.3.1 Run prepatch storage report | + | |
| + | <code BASH> | ||
| [root@oak ~]# / | [root@oak ~]# / | ||
| Ligne 775: | Ligne 758: | ||
| [root@oak ~]# | [root@oak ~]# | ||
| + | </ | ||
| - | 3.3.2 | + | * Patch the storage |
| + | <code BASH> | ||
| [root@oak ~]# / | [root@oak ~]# / | ||
| { | { | ||
| Ligne 790: | Ligne 775: | ||
| } | } | ||
| [root@oak ~]# | [root@oak ~]# | ||
| - | |||
| [root@oak ~]# odacli describe-job -i " | [root@oak ~]# odacli describe-job -i " | ||
| Ligne 810: | Ligne 794: | ||
| [root@oak ~]# | [root@oak ~]# | ||
| - | + | </ | |
| - | 3.4 Update the repository with the 19.21 Oracle Grid Infrastructure : p30403673_1921000_Linux-x86-64.zip | + | |
| + | <code BASH> | ||
| [root@oak Download]# unzip p30403673_1921000_Linux-x86-64.zip | [root@oak Download]# unzip p30403673_1921000_Linux-x86-64.zip | ||
| Archive: | Archive: | ||
| Ligne 848: | Ligne 833: | ||
| [root@oak Download]# | [root@oak Download]# | ||
| - | + | </ | |
| - | 3.5 Update the repository with the server data archive files generated in Step 1 | + | |
| + | <code BASH> | ||
| [root@oak Download]# / | [root@oak Download]# / | ||
| { | { | ||
| Ligne 880: | Ligne 866: | ||
| [root@oak Download]# | [root@oak Download]# | ||
| + | </ | ||
| - | 3.6 Restore Oracle Grid Infrastructure | + | * 3.6 Restore Oracle Grid Infrastructure |
| + | <code BASH> | ||
| [root@oak Download]# odacli restore-node -g | [root@oak Download]# odacli restore-node -g | ||
| Enter New system password: | Enter New system password: | ||
| Ligne 971: | Ligne 959: | ||
| [root@moros ~]# | [root@moros ~]# | ||
| + | </ | ||
| - | 3.7 Restore the database | + | * 3.7 Restore the database |
| - | + | <code BASH> | |
| [root@moros ~]# odacli restore-node -d | [root@moros ~]# odacli restore-node -d | ||
| { | { | ||
| Ligne 988: | Ligne 976: | ||
| } | } | ||
| [root@moros ~]# | [root@moros ~]# | ||
| + | </ | ||
| - | + | * The first time we got some errors due to wallet not saved before the reimage | |
| - | The first time we got some errors due to wallet not saved before the reimage | + | <code BASH> |
| - | + | ||
| [root@moros ~]# odacli describe-job -i " | [root@moros ~]# odacli describe-job -i " | ||
| Ligne 1034: | Ligne 1021: | ||
| +-- Adding database instance(s) to GI January 16, 2024 7:25:09 PM CET January 16, 2024 7:25:09 PM CET Success | +-- Adding database instance(s) to GI January 16, 2024 7:25:09 PM CET January 16, 2024 7:25:09 PM CET Success | ||
| +-- Modifying SPFILE for database | +-- Modifying SPFILE for database | ||
| + | </ | ||
| - | + | * I then decide to restore only database without wallet | |
| - | I then decide to restore only database without wallet | + | <code BASH> |
| - | + | ||
| [root@moros restore]# odacli restore-node -d | [root@moros restore]# odacli restore-node -d | ||
| { | { | ||
| Ligne 1051: | Ligne 1037: | ||
| " | " | ||
| } | } | ||
| + | </ | ||
| - | + | * And the job went fine | |
| - | And the job went fine | + | <code BASH> |
| - | + | ||
| [root@moros restore]# odacli describe-job -i " | [root@moros restore]# odacli describe-job -i " | ||
| Ligne 1143: | Ligne 1128: | ||
| [root@moros app]# | [root@moros app]# | ||
| + | </ | ||
| + | === Step 4 : Update Existing dbhomes === | ||
| - | Step 4 : Update Existing dbhomes | + | * 4.1 Update Repository |
| - | 4.1 Update Repository | + | <code BASH> |
| [root@moros ~]# odacli update-repository -f / | [root@moros ~]# odacli update-repository -f / | ||
| Ligne 1162: | Ligne 1149: | ||
| Unzip bundle | Unzip bundle | ||
| [root@moros ~]# | [root@moros ~]# | ||
| + | </ | ||
| - | 4.2 List databases | + | * 4.2 List databases |
| - | + | <code BASH> | |
| [root@moros ~]# odacli list-dbhomes | [root@moros ~]# odacli list-dbhomes | ||
| ID | ID | ||
| Ligne 1220: | Ligne 1207: | ||
| Running orachk | Running orachk | ||
| Validate command execution | Validate command execution | ||
| - | 4.4 Patch the dbhomes | + | </ |
| + | |||
| + | * 4.4 Patch the dbhomes | ||
| + | <code BASH> | ||
| [root@moros ~]# / | [root@moros ~]# / | ||
| { | { | ||
| Ligne 1264: | Ligne 1254: | ||
| Generating and saving BOM January 30, 2024 11:36:19 AM CET | Generating and saving BOM January 30, 2024 11:36:19 AM CET | ||
| TDE parameter update | TDE parameter update | ||
| + | </ | ||