存储迁移votedisk 处理办法

网友投稿 569 2022-05-28

1,检查位置

crsctl query css votedisk; ## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- --------- 1. ONLINE 0a2ae97910dd4f27bff10ffbb002089f (ORCL:OCRVOTE1) [OCRVOTE] 2. ONLINE 1b4272879f284f56bf1336e0af88d1b1 (ORCL:OCRVOTE2) [OCRVOTE] 3. ONLINE 04c92b5c1a3c4ff5bf1a8521ea809437 (ORCL:OCRVOTE3) [OCRVOTE] 4. ONLINE 679558b631c54f7dbfcb833d9c8321b1 (ORCL:OCRVOTE4) [OCRVOTE] 5. ONLINE 42a672aed6884f4ebff543cc2d1dcc64 (ORCL:OCRVOTE5) [OCRVOTE]

2,添加磁盘到每个故障组

col name format a15; col path format a25; col failgroup format a20; select dg.name, d.path, d.failgroup, d.failgroup_type from v$asm_diskgroup dg, v$asm_disk d where dg.group_number = d.group_number and dg.name = 'OCRVOTE' order by dg.name, d.path, d.failgroup; NAME PATH FAILGROUP FAILGRO --------------- ------------------------- -------------------- ------- OCRVOTE ORCL:OCRVOTE1 FG1 REGULAR OCRVOTE ORCL:OCRVOTE2 FG2 REGULAR OCRVOTE ORCL:OCRVOTE3 FG3 REGULAR OCRVOTE ORCL:OCRVOTE4 FG4 REGULAR OCRVOTE ORCL:OCRVOTE5 FG5 REGULAR sqlplus " / as sysasm" ALTER DISKGROUP OCRVOTE ADD FAILGROUP FG1 DISK 'ORCL:OCRVOTE101' FAILGROUP FG2 DISK 'ORCL:OCRVOTE102' FAILGROUP FG3 DISK 'ORCL:OCRVOTE103' FAILGROUP FG4 DISK 'ORCL:OCRVOTE104' FAILGROUP FG5 DISK 'ORCL:OCRVOTE105';

3,检查同步状态 通过 gv$asm_operation。确认同步完成。

存储迁移votedisk 处理办法

col name format a15; col path format a25; col failgroup format a20; select dg.name, d.path, d.failgroup, d.failgroup_type from v$asm_diskgroup dg, v$asm_disk d where dg.group_number = d.group_number and dg.name = 'OCRVOTE' order by dg.name, d.failgroup, d.path; NAME PATH FAILGROUP FAILGRO --------------- ------------------------- -------------------- ------- OCRVOTE ORCL:OCRVOTE1 FG1 REGULAR OCRVOTE ORCL:OCRVOTE101 FG1 REGULAR OCRVOTE ORCL:OCRVOTE102 FG2 REGULAR OCRVOTE ORCL:OCRVOTE2 FG2 REGULAR OCRVOTE ORCL:OCRVOTE103 FG3 REGULAR OCRVOTE ORCL:OCRVOTE3 FG3 REGULAR OCRVOTE ORCL:OCRVOTE104 FG4 REGULAR OCRVOTE ORCL:OCRVOTE4 FG4 REGULAR OCRVOTE ORCL:OCRVOTE105 FG5 REGULAR OCRVOTE ORCL:OCRVOTE5 FG5 REGULAR

4,删除旧磁盘

ALTER DISKGROUP OCRVOTE drop disk 'OCRVOTE1', 'OCRVOTE2', 'OCRVOTE3', 'OCRVOTE4', 'OCRVOTE5'; Diskgroup altered.

5,检查同步状态,并确认已经删除

col name format a15; col path format a25; col failgroup format a20; select dg.name, d.path, d.failgroup, d.failgroup_type from v$asm_diskgroup dg, v$asm_disk d where dg.group_number = d.group_number and dg.name = 'OCRVOTE' order by dg.name, d.failgroup, d.path; NAME PATH FAILGROUP FAILGRO --------------- ------------------------- -------------------- ------- OCRVOTE ORCL:OCRVOTE101 FG1 REGULAR OCRVOTE ORCL:OCRVOTE102 FG2 REGULAR OCRVOTE ORCL:OCRVOTE103 FG3 REGULAR OCRVOTE ORCL:OCRVOTE104 FG4 REGULAR OCRVOTE ORCL:OCRVOTE105 FG5 REGULAR

参考:1558007.1

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:HDLBits 系列(4)如何设计一定不会产生Latch的组合逻辑?
下一篇:【精选单品】智慧仓库系统能解决哪些问题?
相关文章