본문 바로가기
IT/Oracle

19c 패치 후 rollback

by 할량골 2021. 7. 9.

RAC 환경에서 $GRID_HOME 과 $ORACLE_HOME 을 TAR로 묶어 백업 후 패치 진행 후 이슈가 있다고 가정하고..

CRS 전체 Shutdown 상태라면 기존에 TAR를 풀어준다... 하지만 에러발생 후 올라오지 않는다.. 휴..

패치레벨이 달라 기동 조차 되지 않는다.

인벤토리에도 해당 패치레벨이 없는것 같던데 어디서 확인하는지는 잘 모르겠다.

[root@rac1-orcl1 19.0.0.0]$ crsctl start crs
CRS-6706: Oracle Clusterware 릴리스 패치 레벨('869426834')이 소프트웨어 패치 레벨('482815673')과 일치하지 않습니다.
CRS-4000: Start 명령을 실패했거나 오류와 함께 완료되었습니다.
[root@rac1-orcl1 19.0.0.0]$ 

다행이 테스트 장비라서 올릴방법을 찾아 본다. 

오라클 문서를 참조하였다.

Patching 12.2.0.1 Grid Infrastructure gives error CRS-6706: Oracle Clusterware Release Patch Level ('748994161') Does Not Match Software Patch Level (문서 ID 2348013.1)

요약은 이렇다..

1.  Run the following command as the root user to complete the patching set up behind the scenes:

[root@rac1-orcl1 grid]$ cd bin
[root@rac1-orcl1 bin]$ ./clscfg -localpatch
clscfg: EXISTING configuration version 0 detected.
Creating OCR keys for user 'root', privgrp 'root'..

2.  Run the following command as the root user to lock the GI home:

root@rac1-orcl1 install]$ ./rootcrs.sh -lock
Using configuration parameter file: /u01/app/19.0.0.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
  /u01/app/19.0.0.0/base/crsdata/rac1/crsconfig/crslock_rac1_2021-07-09_11-27-27AM.log
2021/07/09 11:27:31 CLSRSC-329: Replacing Clusterware entries in file 'oracle-ohasd.service'
[root@rac1-orcl1 install]$ 

3.  Run the following command as the root user to start the GI:

[root@rac1-orcl1 bin]$ ./crsctl start crs

다행히 DB까지 잘 올라온다.

'IT > Oracle' 카테고리의 다른 글

ocr, voting 디스크그룹 변경  (0) 2021.07.14
Oracle 11g emca  (0) 2021.06.15
Oracle 19c em express 사용기  (0) 2021.06.15
filesystem to ASM 데이터파일 변경  (0) 2021.06.14
Oracle Statspack  (0) 2021.05.26

댓글