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.21_to_19.22 [15/04/2025 09:44] – créée mdl | oracle:oda:patch_oda_from_19.21_to_19.22 [26/10/2025 12:31] (Version actuelle) – mdl | ||
|---|---|---|---|
| Ligne 2: | Ligne 2: | ||
| <color # | <color # | ||
| - | Following patches are required | + | Following patches are required: |
| - | Oracle Database Appliance Server Patch for the ODACLI/DCS stack (patch 36269277) | + | * Oracle Database Appliance Server Patch for the ODACLI/DCS stack (patch 36269277) |
| - | Oracle Grid Infrastructure clone files (patch 30403673) | + | |
| - | Oracle Database clone files (patch 30403662) | + | |
| - | Unzip files | + | == Update ODA Repositories == |
| - | Once unpacked, we will have following. | + | |
| + | * Unzip files. Once unpacked, we will have the following. | ||
| + | |||
| + | <code BASH> | ||
| [root@phanes patch1922]# ls -ltra oda* | [root@phanes patch1922]# ls -ltra oda* | ||
| -r--r--r-- 1 root root 4420437140 Mar 6 18:42 oda-sm-19.22.0.0.0-240306-server.zip | -r--r--r-- 1 root root 4420437140 Mar 6 18:42 oda-sm-19.22.0.0.0-240306-server.zip | ||
| Ligne 16: | Ligne 18: | ||
| -r--r--r-- 1 root root 7002170313 Mar 6 18:48 odacli-dcs-19.22.0.0.0-240306-GI-19.22.0.0.zip | -r--r--r-- 1 root root 7002170313 Mar 6 18:48 odacli-dcs-19.22.0.0.0-240306-GI-19.22.0.0.zip | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| - | Update the repository with the server patch | + | * Update the repository with the server patch |
| - | + | <code BASH> | |
| [root@phanes patch1922]# / | [root@phanes patch1922]# / | ||
| { | { | ||
| Ligne 32: | Ligne 34: | ||
| " | " | ||
| } | } | ||
| + | </ | ||
| - | + | * Validate that the job was fine | |
| - | Validate that the job was fine | + | <code BASH> |
| [root@phanes patch1922]# odacli describe-job -i " | [root@phanes patch1922]# odacli describe-job -i " | ||
| Ligne 52: | Ligne 54: | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| - | + | * | |
| - | Update DCS admin | + | <code BASH> |
| - | + | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| { | { | ||
| Ligne 89: | Ligne 90: | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| + | * Update the DCS components | ||
| - | Update the DCS components | + | <code BASH> |
| - | + | ||
| [root@phanes patch1922]# / | [root@phanes patch1922]# / | ||
| { | { | ||
| Ligne 107: | Ligne 108: | ||
| } | } | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| + | * Update DCS agent | ||
| - | Update DCS agent | + | <code BASH> |
| - | + | ||
| [root@phanes patch1922]# / | [root@phanes patch1922]# / | ||
| { | { | ||
| Ligne 146: | Ligne 147: | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| + | == Update repository with grid clone and db clone == | ||
| - | Update repository with grid clone and db clone | + | * Grid clone |
| - | Grid clone | + | <code BASH> |
| [root@phanes patch1922]# / | [root@phanes patch1922]# / | ||
| { | { | ||
| Ligne 181: | Ligne 184: | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| - | + | * Database clone | |
| - | Database clone | + | <code BASH> |
| - | + | ||
| [root@phanes patch1922]# / | [root@phanes patch1922]# / | ||
| { | { | ||
| Ligne 219: | Ligne 221: | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| + | == Run patching pre-checks == | ||
| - | Run patching pre-checks | + | * Before launching the patch, be sure that the prepatch check did not return any error. |
| - | Before launching the patch, be sure that the prepatch check did not return any error. | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@phanes patch1922]# / | [root@phanes patch1922]# / | ||
| Ligne 241: | Ligne 242: | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| + | * Validate the output | ||
| - | Validate the output | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@phanes patch1922]# odacli describe-prepatchreport -i cc822327-5f38-4bab-9bc5-c333b0f66485 | [root@phanes patch1922]# odacli describe-prepatchreport -i cc822327-5f38-4bab-9bc5-c333b0f66485 | ||
| Ligne 314: | Ligne 314: | ||
| patching | patching | ||
| Validate command execution | Validate command execution | ||
| - | |||
| - | |||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| - | Update the server | + | == Update the server |
| - | + | ||
| - | + | ||
| - | Take an backup with odabr | + | |
| - | + | ||
| + | * Take a backup with odabr | ||
| + | <code BASH> | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| Ligne 417: | Ligne 413: | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| Ligne 425: | Ligne 421: | ||
| + | <code BASH> | ||
| [root@phanes ~]# / | [root@phanes ~]# / | ||
| { | { | ||
| Ligne 439: | Ligne 435: | ||
| } | } | ||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| - | + | * The process should return success | |
| - | The process should return success | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@phanes ~]# odacli describe-job -i b816575f-5483-4f9d-9c00-35e53d55c014 | [root@phanes ~]# odacli describe-job -i b816575f-5483-4f9d-9c00-35e53d55c014 | ||
| Ligne 504: | Ligne 498: | ||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| - | + | * Validate your component after the patch | |
| - | Validate your component after the patch | + | <code BASH> |
| - | + | ||
| [root@phanes ~]# odacli describe-component | [root@phanes ~]# odacli describe-component | ||
| System Version | System Version | ||
| Ligne 555: | Ligne 548: | ||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| - | + | * Remove the odabr backups | |
| - | Remove the odabr backups | + | <code BASH> |
| [root@phanes ~]# / | [root@phanes ~]# / | ||
| INFO: 2024-05-15 11:02:05: Please check the logfile '/ | INFO: 2024-05-15 11:02:05: Please check the logfile '/ | ||
| Ligne 589: | Ligne 582: | ||
| WARNING: 2024-05-15 11:02:12: LVM snapshot for ' | WARNING: 2024-05-15 11:02:12: LVM snapshot for ' | ||
| WARNING: 2024-05-15 11:02:13: LVM snapshot for ' | WARNING: 2024-05-15 11:02:13: LVM snapshot for ' | ||
| - | |||
| - | |||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| + | == Patch the storage == | ||
| - | Patch the storage | + | * Run a prepatch report |
| - | Run a prepatch report | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@phanes ~]# / | [root@phanes ~]# / | ||
| Ligne 614: | Ligne 604: | ||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| - | + | * Validate the output | |
| - | Validate the output | + | <code BASH> |
| [root@phanes ~]# odacli describe-prepatchreport -i de0ba736-bea2-4de4-b35d-e36e8a3bf450 | [root@phanes ~]# odacli describe-prepatchreport -i de0ba736-bea2-4de4-b35d-e36e8a3bf450 | ||
| Ligne 642: | Ligne 632: | ||
| Verify ASM disks status | Verify ASM disks status | ||
| Validate command execution | Validate command execution | ||
| - | |||
| - | |||
| - | |||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| - | If no error, | + | * If no error, |
| - | + | <code BASH> | |
| [root@phanes ~]# / | [root@phanes ~]# / | ||
| { | { | ||
| Ligne 663: | Ligne 650: | ||
| } | } | ||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| - | Check the result | + | * Check the result |
| + | <code BASH> | ||
| [root@phanes ~]# odacli describe-job -i " | [root@phanes ~]# odacli describe-job -i " | ||
| Ligne 684: | Ligne 672: | ||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| - | Patch databases | + | == Patch databases |
| - | First list the dbhomes | + | |
| - | + | ||
| + | * First list the dbhomes | ||
| + | <code BASH> | ||
| [root@phanes ~]# odacli list-dbhomes | [root@phanes ~]# odacli list-dbhomes | ||
| ID | ID | ||
| Ligne 696: | Ligne 684: | ||
| ff400f69-1355-449d-80de-c25c6039ac94 | ff400f69-1355-449d-80de-c25c6039ac94 | ||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| - | + | * Run the prepatch report for the dbhome you want to upgrade | |
| - | Run the prepatch report for the dbhome you want to upgrade | + | <code BASH> |
| - | + | ||
| - | + | ||
| [root@phanes ~]# / | [root@phanes ~]# / | ||
| Ligne 717: | Ligne 703: | ||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| - | + | * Check the report | |
| - | Check the report | + | <code BASH> |
| - | + | ||
| - | + | ||
| - | + | ||
| [root@phanes ~]# odacli describe-prepatchreport -i 8d3cda1a-c2a8-4bef-a93c-ae9ae0deb5e6 | [root@phanes ~]# odacli describe-prepatchreport -i 8d3cda1a-c2a8-4bef-a93c-ae9ae0deb5e6 | ||
| Ligne 763: | Ligne 746: | ||
| Running orachk | Running orachk | ||
| Validate command execution | Validate command execution | ||
| - | |||
| - | |||
| - | |||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| - | + | * if success, then launch the patching | |
| - | + | <code BASH> | |
| [root@phanes ~]# / | [root@phanes ~]# / | ||
| { | { | ||
| Ligne 784: | Ligne 764: | ||
| } | } | ||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||
| - | + | * Validate that the job is fine | |
| - | Validate that the job is fine | + | <code BASH> |
| - | + | ||
| [root@phanes ~]# odacli describe-job -i " | [root@phanes ~]# odacli describe-job -i " | ||
| Ligne 819: | Ligne 798: | ||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||