支持数据库版本:10gR2、11gR2
1. 查看
# crsctl query css votedisk
2. 备份 (裸设备)
# dd if=/dev/raw/raw1 of=/tmp/votedisk.dd.bak
# dd if=/dev/raw/raw1 of=/tmp/votedisk.dd.bak bs=1024k count=10
3. 恢复 (可在线恢复)
# dd if=/tmp/votedisk.bak of=/dev/raw/raw1
# cat $CRS_HOME/log/rac1/alertrac1.log
voting file is online: /dev/raw/raw1. Details in ...
4. 添加表决磁盘
4-1. 在线添加, 有可能导致节点重启
# crsctl add css votedisk /dev/raw/raw6 -force
4-2. 离线添加 (停止 crs)
# crsctl add css votedisk /dev/raw/raw7
5. 表决磁盘损坏
5-1. 不能启动 crs 时的信息
# cat $CRS_HOME/log/rac1/alertrac1.log
voting file is online: /dev/raw/raw1. Details in ...
voting file is offline: /dev/raw/raw6. Details in ...
Insufficient voting files available [1 of 2]. Details in ...
5-2. 在线破坏第0块表决磁盘, 会导致所有节点重启
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22558114/viewspace-1122405/
,如需转载,请注明出处,否则将追究法律责任。