meta données pour cette page
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| oracle:oda:patch_oda_from_19.20_to_19.21 [15/04/2025 09:20] – mdl | oracle:oda:patch_oda_from_19.20_to_19.21 [15/04/2025 09:45] (Version actuelle) – mdl | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Patch ODA from 19.20 to 19.21 ====== | ====== Patch ODA from 19.20 to 19.21 ====== | ||
| + | <color # | ||
| \\ | \\ | ||
| - | The patch 19.20 to 19.21 will use the Data Preserving method | + | 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** | *** Step 1: Detaching Nodes for Upgrade Using Data Preserving Reprovisioning** | ||
| - | |||
| - Download the Oracle Database Appliance Server Patch (patch 35938481) | - Download the Oracle Database Appliance Server Patch (patch 35938481) | ||
| - Unzip the software | - Unzip the software | ||
| Ligne 17: | Ligne 17: | ||
| - Save the files generated by the system deconfiguration and store them outside of the Oracle Database Appliance system | - 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** |
| - | == Step 2: Reimaging Nodes for Upgrading Using Data Preserving Reprovisioning | + | |
| - Download the Oracle Database Appliance release 19.21 bare metal ISO image and reimage the appliance (Patch 30403643) | - Download the Oracle Database Appliance release 19.21 bare metal ISO image and reimage the appliance (Patch 30403643) | ||
| - Plumb the network as described in the topic Plumbing the Network | - Plumb the network as described in the topic Plumbing the Network | ||
| - configure-firstnet.rsp ( in the zip file saved) | - configure-firstnet.rsp ( in the zip file saved) | ||
| - | \\ | + | * **Step 3: Reprovisioning Nodes Using Data Preserving Reprovisioning Method** |
| - | == Step 3: Reprovisioning Nodes Using Data Preserving Reprovisioning Method | + | |
| - Update the repository with the Oracle Database Appliance release 19.21.0.0.0 Server Patch (patch 35938481) | - Update the repository with the Oracle Database Appliance release 19.21.0.0.0 Server Patch (patch 35938481) | ||
| - Create the pre-patch report | - Create the pre-patch report | ||
| Ligne 34: | Ligne 31: | ||
| - Restore Oracle Grid Infrastructure | - Restore Oracle Grid Infrastructure | ||
| - Restore the database | - Restore the database | ||
| + | \\ | ||
| + | === Step 1: Detaching Nodes for Upgrade Using Data Preserving Reprovisioning | ||
| - | Below the detailed steps for the patching | + | * 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 | + | <code BASH> |
| - | 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 45: | 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 60: | 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 79: | 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 94: | 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 116: | 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 131: | 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 148: | 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 171: | 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 187: | 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 330: | 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 358: | 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 422: | 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 454: | 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 501: | 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 509: | 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 528: | 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 549: | 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 566: | 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 616: | 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 633: | 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 681: | 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 726: | 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 772: | Ligne 758: | ||
| [root@oak ~]# | [root@oak ~]# | ||
| + | </ | ||
| - | 3.3.2 | + | * Patch the storage |
| + | <code BASH> | ||
| [root@oak ~]# / | [root@oak ~]# / | ||
| { | { | ||
| Ligne 787: | Ligne 775: | ||
| } | } | ||
| [root@oak ~]# | [root@oak ~]# | ||
| - | |||
| [root@oak ~]# odacli describe-job -i " | [root@oak ~]# odacli describe-job -i " | ||
| Ligne 807: | 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 845: | 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 877: | 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 968: | 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 985: | 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 1031: | 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 1048: | 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 1140: | 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 1159: | 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 1217: | 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 1261: | 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 | ||
| + | </ | ||