- RAC ocr,voting Diskgroup 변경 작업.
잘 있는 작업은 아니지만. 막상 할때 생각이 안나서 블로그에 적어 놓으려고 한다.
현재 최신 버젼인 19c RAC 로 작업한 내용입니다.
## 현재 ocr 확인 [root@rac1-orcl1 ~]$ ocrcheck Status of Oracle Cluster Registry is as follows : Version : 4 Total space (kbytes) : 491684 Used space (kbytes) : 84472 Available space (kbytes) : 407212 ID : 1953219595 Device/File Name : +DATA Device/File integrity check succeeded Device/File not configured Device/File not configured Device/File not configured Device/File not configured Cluster registry integrity check succeeded Logical corruption check bypassed due to non-privileged user -- 변경할 디스크그룹에 ocr파일 추가 [root@rac1-orcl1 ~]$ ocrconfig -add +ocr -- 등록되었는지 확인 [root@rac1-orcl1 ~]$ ocrcheck Status of Oracle Cluster Registry is as follows : Version : 4 Total space (kbytes) : 491684 Used space (kbytes) : 84472 Available space (kbytes) : 407212 ID : 1953219595 Device/File Name : +DATA Device/File integrity check succeeded Device/File Name : +OCR Device/File integrity check succeeded Device/File not configured Device/File not configured Device/File not configured Cluster registry integrity check succeeded Logical corruption check succeeded -- 기존에 있던 디스크그룹에서 ocr 파일 제거 [root@rac1-orcl1 ~]$ ocrconfig -delete +data -- votedisk 확인 [oracle@rac1-orcl1 ~]$ crsctl query css votedisk ## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- --------- 1. ONLINE 86a80056e22f4fe9bf982a6024bed7dd (/dev/dm-2) [DATA] 1개의 선호 디스크를 찾았습니다. -- 변경 [oracle@rac1-orcl1 ~]$ crsctl replace votedisk +ocr 선호 디스크 c8c6682520e34fe2bf8fe13199e3f98f이(가) 성공적으로 추가되었습니다. 선호 디스크 86a80056e22f4fe9bf982a6024bed7dd이(가) 성공적으로 삭제되었습니다. 선호 디스크 그룹을 +ocr(으)로 성공적으로 바꾸었습니다. CRS-4266: 선택 파일이 성공적으로 바뀌었습니다. [oracle@rac1-orcl1 ~]$ -- 확인 [oracle@rac1-orcl1 ~]$ crsctl query css votedisk ## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- --------- 1. ONLINE c8c6682520e34fe2bf8fe13199e3f98f (/dev/dm-4) [OCR] 1개의 선호 디스크를 찾았습니다. [root@rac1-orcl1 ~]$ |
'IT > Oracle' 카테고리의 다른 글
19c 패치 후 rollback (0) | 2021.07.09 |
---|---|
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 |
댓글