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.21_to_19.22 [26/10/2025 11:56] – mdl | oracle:oda:patch_oda_from_19.21_to_19.22 [26/10/2025 12:31] (Version actuelle) – mdl | ||
|---|---|---|---|
| Ligne 20: | Ligne 20: | ||
| </ | </ | ||
| - | Update the repository with the server patch | + | * Update the repository with the server patch |
| <code BASH> | <code BASH> | ||
| [root@phanes patch1922]# / | [root@phanes patch1922]# / | ||
| Ligne 37: | Ligne 37: | ||
| - | 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 54: | Ligne 54: | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| - | + | * | |
| - | Update DCS admin | + | <code BASH> |
| - | + | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| { | { | ||
| Ligne 91: | 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 109: | Ligne 108: | ||
| } | } | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| + | * Update DCS agent | ||
| - | Update DCS agent | + | <code BASH> |
| - | + | ||
| [root@phanes patch1922]# / | [root@phanes patch1922]# / | ||
| { | { | ||
| Ligne 148: | 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 183: | Ligne 184: | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| - | + | * Database clone | |
| - | Database clone | + | <code BASH> |
| - | + | ||
| [root@phanes patch1922]# / | [root@phanes patch1922]# / | ||
| { | { | ||
| Ligne 221: | 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 243: | 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 316: | 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 419: | Ligne 413: | ||
| [root@phanes patch1922]# | [root@phanes patch1922]# | ||
| + | </ | ||
| Ligne 427: | Ligne 421: | ||
| + | <code BASH> | ||
| [root@phanes ~]# / | [root@phanes ~]# / | ||
| { | { | ||
| Ligne 441: | 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 506: | 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 557: | 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 591: | 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 616: | 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 644: | 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 665: | 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 686: | 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 698: | 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 719: | 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 765: | 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 786: | 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 821: | Ligne 798: | ||
| [root@phanes ~]# | [root@phanes ~]# | ||
| + | </ | ||