OCR, VOTE ASM Disk에서 RawDevice로 Disk 변경 TEST
- 해당 TEST 내역은 개인적인 RAC 환경에서 진행한 내역으로 참고적으로 판단하여 사용하길 바란다.
1.OCR ASM Disk에서 RawDevice로 변경
① OCR 상태조회
[root@rac1 bin]# ./ocrcheck |
② OCR Disk 변경
[root@rac1 bin]# ./ocrconfig -add /dev/OCR/ocr1 [root@rac1 bin]# ./ocrconfig -add /dev/OCR/ocr2 [root@rac1 bin]# ./ocrcheck |
③ OCR ASM Disk 제거
[root@rac1 bin]# ./ocrconfig -delete +DATA [root@rac1 bin]# ./ocrcheck |
2.Vote ASM Disk에서 RawDevice로 변경
① Vote ASM DISK Replace 진행(에러)
[root@rac1 bin]# ./crsctl replace votedisk /dev/VOTE/vote1 Now formatting voting disk: /dev/VOTE/vote1. CRS-4256: Updating the profile CRS-4602: Failed 27 to add voting file 2448120a036d4f11bf362b1db9d6ff0f. Failure 27 with Cluster Synchronization Services while deleting voting disk. Failure 27 with Cluster Synchronization Services while deleting voting disk. Failure 27 with Cluster Synchronization Services while deleting voting disk. CRS-4000: Command Replace failed, or completed with errors. [root@rac1 bin]#
에러발생시에 아래와 동일하게 진행 |
② Vote ASM DISK Replace 진행 (RAC1,RAC2 모두 STOP 이후 진행)
[CRS 재기동] [root@rac1 bin]# ./crsctl start crs -excl -nocrs (crsctl stop crs 를 진행 이후) CRS-4123: Oracle High Availability Services has been started. CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1' CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1' CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1' CRS-2672: Attempting to start 'ora.gipcd' on 'rac1' CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'rac1' CRS-2672: Attempting to start 'ora.diskmon' on 'rac1' CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded [root@rac1 bin]# [root@rac1 bin]#
[Vote disk 상태 확인] [root@rac1 bin]# ./crsctl query css votedisk
[root@rac1 bin]# [root@rac1 bin]#
[Vote Disk Replace, RawDevice로 변경] [root@rac1 bin]# ./crsctl replace votedisk /dev/VOTE/vote1
[root@rac1 bin]# ./crsctl replace votedisk /dev/VOTE/vote2 [root@rac1 bin]# ./crsctl replace votedisk /dev/VOTE/vote3 |
③ CRS 정상 기동 확인
[root@rac1 bin]# ./crsctl stop crs CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac1' CRS-2673: Attempting to stop 'ora.cssd' on 'rac1' CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1' CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1' CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1' CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac1' has completed CRS-4133: Oracle High Availability Services has been stopped. [root@rac1 bin]# (생략) .. [root@rac1 bin]# ./crsctl query css votedisk
|
[RAC 1번 작업 이후 2번에서도 해주어야 된다!]
'1. IT Story > DB' 카테고리의 다른 글
Oracle RAC 11gR2 주요 Command(명령어) (0) | 2015.09.04 |
---|---|
Oracle Flashback (0) | 2015.09.04 |
Oracle RAC 11gR2 Management (0) | 2015.09.04 |
Oracle RAC 11gR2 Failover 구성 (0) | 2015.09.04 |
ODA 기본 OS 상태(OVM환경)에서 Grid & DB Installation (0) | 2015.08.26 |
Oracle Exadata TEST Single Database Installation : Install Database S/W & TEST Database (1) | 2015.08.21 |
Oracle Exadata TEST Single Database Installation : Install Grid Infrastructure (1) | 2015.08.21 |
Oracle Exadata TEST Single Database Installation : Storage Cell disk (3) | 2015.08.21 |