For how to add and delete Voting Disks in Oracle RAC, refer:
Oracle RAC backup and recovery Voting Disks
The Voting Disks file does not need to be backed up every day. Generally, backup is required in the following situations:
①: After Clusterware is installed.
②: After adding and deleting nodes in the cluster.
③: After the Voting Disk add or delete operation is executed.
Example of backing up voting Disk:
Environment:
[Oracle @ node2 ~] $ Uname-
Linux node2 2.6.18-164. el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux
SQL> select * from v $ version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-Prod
PL/SQL Release 10.2.0.1.0-Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0-Production
NLSRTL Version 10.2.0.1.0-Production
1. view the current Voting Disks
[Oracle @ node1 ~] $ Crsctl query css votedisk
0. 0/dev/raw/raw2
Located 1 votedisk (s ).
2. Back up Voting Disk (use root)
[Root @ node1 ~] # Dd if =/dev/raw/raw2 of =/home/oracle/backup/votingdisk. bak
208864 + 0 records in
208864 + 0 records out
106938368 bytes (107 MB) copied, 150.378 seconds, 711 kB/s
3. Check the backup
[Root @ node1 backup] # ll
Total 104540
-Rw-r -- 1 root 106938368 Mar 13 21:29 votingdisk. bak
If the content of Voting Disk is not changed, the backup file can be restored.