Oracle RAC Study之--删除VOTE DISK
短信预约 -IT技能 免费直播动态提醒
Oracle RAC Study之--删除VOTE DISK
环境:
操作系统: AIX 5300-09
集群软件: CRS 10.2.0.1
数据库: Oracle 10.2.0.1
构建AIX平台下RAC 依据共享存储的使用方式可以分两种:
1、建立基于并发卷组(VG concurrent)的共享存储
2、建立基于ASM下的RAW的共享存储
如下图所示:
本案例是用于基于VG Concurrent 的共享存储:
在添加了vote disk后,主机重新启动后,出现以下错误,并且CRS service启动失败:
[root@aix211: /]#crsctl query css votedisk
0. 0 /dev/rrac_vote
1. 0 0
2. 0 0
3. 0 0
4. 0 0
5. 0 0
located 6 votedisk(s).
删除错误的磁盘:
[root@aix211: /]#crsctl delete css votedisk 5
Cluster is not in a ready state for online disk removal
[root@aix211: /]#crsctl delete css votedisk 5 -force
no votedisk found matching path specified 5.
[root@aix211: /]#crsctl delete css votedisk 0 -force
successful deletion of votedisk 0.
[root@aix211: /]#crsctl query css votedisk
0. 0 /dev/rrac_vote
1. 0 0
2. 0 0
3. 0 0
4. 0 0
located 5 votedisk(s).
[root@aix211: /]#crsctl delete css votedisk 0 -force
successful deletion of votedisk 0.
[root@aix211: /]#crsctl delete css votedisk 0 -force
successful deletion of votedisk 0.
[root@aix211: /]#crsctl delete css votedisk 0 -force
successful deletion of votedisk 0.
[root@aix211: /]#crsctl query css votedisk
0. 0 /dev/rrac_vote
1. 0 0
located 2 votedisk(s).
[root@aix211: /]#crsctl delete css votedisk 0 -force
successful deletion of votedisk 0.
删除成功:
[root@aix211: /]#crsctl query css votedisk
0. 0 /dev/rrac_vote
located 1 votedisk(s).
[root@aix212@ /]#crsctl query css votedisk
0. 0 /dev/rrac_vote
located 1 votedisk(s)
重新启动crs service:
[root@aix211@ /]#crsctl start crs
Attempting to start CRS stack
The CRS stack will be started shortly
[root@aix212@ /]#crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
[root@aix212@ /]#crsctl start crs
Attempting to start CRS stack
The CRS stack will be started shortly
[root@aix212@ /]#crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
---CRS service启动成功!
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341