OS 환경 : Oracle Linux 7.7 (64bit)
DB 환경 : Oracle Database 19.19.0.0
방법 : 오라클 19c 롤링 패치 가능여부 확인
본문에서는 오라클 19c RAC 환경에서 패치가 rolling이 가능한지 여부를 확인하는 명령어를 설명함
롤링패치란?
참고 : Rolling Patch - OPatch Support for RAC (Doc ID 244241.1)
패치 대상 파일 확인
|
1
2
|
$ ls
29213893 32455516 p29213893_1914000DBRU_Generic.zip p32455516_1914000DBRU_Linux-x86-64.zip
|
2개가 존재함
29213893 패치 롤링 가능여부 확인
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$ opatch query -is_rolling_patch 29213893/
Oracle Interim Patch Installer version 12.2.0.1.46
Copyright (c) 2025, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/oraInst.loc
OPatch version : 12.2.0.1.46
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/cfgtoollogs/opatch/opatch2025-09-17_10-50-13AM_1.log
--------------------------------------------------------------------------------
Patch is a rolling patch: false <<---
Patch is a FMW rolling patch: false
OPatch succeeded.
|
false로 표시됨 rolling 패치가 불가능함
32455516 패치 롤링 가능여부 확인
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$ opatch query -is_rolling_patch 32455516
Oracle Interim Patch Installer version 12.2.0.1.46
Copyright (c) 2025, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/oraInst.loc
OPatch version : 12.2.0.1.46
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/cfgtoollogs/opatch/opatch2025-09-17_10-50-30AM_1.log
--------------------------------------------------------------------------------
Patch is a rolling patch: true
Patch is a FMW rolling patch: false
OPatch succeeded.
|
true로 표시됨 rolling 패치가 가능함
결론 :
opatch query -is_rolling_patch 명령으로 패치가 롤링이 가능한지 간편하게 확인할 수 있음
하지만 패치전 README 문서는 꼭 읽고 패치를 수행해야함
참고로 opatch를 이용한 apply, rollback은 기본값이 전체 노드에 수행되는것임 개별 노드에서 수행하고 싶은 경우 -local 옵션을 사용해줘야함
하지만 opatch 11.2.0.3.16, 12.2.0.1.9 버전 이후부터는 local 옵션이 기본값으로 변경됨, 별도로 -local 옵션을 사용하지 않아도 로컬노드 설치가 기본임
참조 :
Rolling Patch - OPatch Support for RAC (Doc ID 244241.1)
How to Use the My Oracle Support Conflict Checker Tool for Patches Installed with OPatch. (Doc ID 1091294.1)
Datapatch User Guide (Doc ID 2680521.1)
'ORACLE > Rac' 카테고리의 다른 글
| 오라클 19c vote 디스크 위치 변경 방법 (17) | 2025.07.19 |
|---|---|
| 오라클 19c RAC 노드 제거 방법(gui) (0) | 2025.07.13 |
| 오라클 19c RAC 노드 추가 방법(gui) (0) | 2025.07.13 |
| 오라클 19c RAC 노드 제거 방법(silent) (0) | 2025.07.13 |
| 오라클 19c RAC 노드 추가 방법(silent) (0) | 2025.07.13 |
