时间:2021-07-01 10:21:17 帮助过:25人阅读
Oracle RAC 添加和删除Voting Disks参考:http://www.linuxidc.com/Linux/2013-03/80938.htm Oracle RAC 备份和恢复Voting Disks
Oracle RAC 添加和删除Voting Disks参考:
Oracle RAC 备份和恢复Voting Disks
Voting Disks 文件不需要每天备份,,一般在下面这几种情况下需要备份:
①:Clusterware安装之后。
②:集群中增加和删除节点之后。
③:执行Voting Disk的add或delete操作之后。
备份voting Disk示例:
环境:
[oracle@node2 ~]$ uname -a
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.查看当前的Voting Disks
[oracle@node1 ~]$ crsctl query css votedisk
0. 0 /dev/raw/raw2
located 1 votedisk(s).
2.备份Voting Disk(用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.检查备份
[root@node1 backup]# ll
total 104540
-rw-r--r-- 1 root root 106938368 Mar 13 21:29 votingdisk.bak
如果Voting Disk的内容没有改变,则可用此备份文件恢复。