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启动成功!