DBA가 되고 싶은 병아리

Voting Disk 개념, 관리 본문

Oracle Study

Voting Disk 개념, 관리

미스틱스 2021. 4. 28. 13:42

개념 : Split-Brain 현상을 방지하기 위해 Node 상태를 확인 관리하는 용도의 DISK이다.

 

관리 : 수동으로 백업을 수행할 필요는 없다. 자동으로 백업으로부터 복원된다.

조회

crsctl query css votedisk

변경

crsctl replace votedisk <diskname>

Oracle 12.2 버전에서는 replace

 

백업

자동으로 백업되므로 제외됨.

굳이 백업을 진행하려면 아래와 같이 OS 명령어를 이용하여 백업 진행이 가능

Backup Voting Disk

1. Use dd Command

You have to be very cautious about the following dd action, if you misplaced the source and the target, or using dd in the wrong way, you might destroy the voting disk. Please check the command line at least twice before hitting Enter.

[root@primary01 ~]# crsctl query css votedisk

 0.     0    /dev/raw/raw2

 

located 1 votedisk(s).

[root@primary01 backup]# dd if=/dev/raw/raw2 of=vod_backup_`date +%Y%m%d`.dmp bs=1k count=500k

512000+0 records in

512000+0 records out

524288000 bytes (524 MB) copied, 313.379 seconds, 1.7 MB/s

Please note that, using dd to backup voting disk is no longer supported since 12c according to documentation. (In fact, it's from 11.2, you should be aware of that.)

Let's see the result.

[root@primary01 backup]# ll

total 512596

-rw-r--r-- 1 root root     89348 Jun 12 14:46 ocr_backup_20190612.dmp

-rw-r--r-- 1 root root 524288000 Jun 12 14:52 vod_backup_20190612.dmp

 

출처: <https://logic.edchen.org/how-to-backup-clusterware-ocr-and-voting-disk/>

참고 : https://docs.oracle.com/en/database/oracle/oracle-database/12.2/cwadd/managing-oracle-cluster-registry-and-voting-files.html#GUID-94CE3710-770D-45BB-B67B-0A2BC6DBE3AC

'Oracle Study' 카테고리의 다른 글

오라클 RAC 모니터링 항목  (0) 2021.04.28
서버 컨트롤 개념과 명령어  (0) 2021.04.28
OCR 개념, 관리  (0) 2021.04.28
Clusterware 장애 상황  (0) 2021.04.28
오라클 CRS 관리  (0) 2021.04.28