ITPub博客

首页 > 数据库 > Oracle > Oracle 10.2.0.1添加5块投票盘

Oracle 10.2.0.1添加5块投票盘

原创 Oracle 作者:sundog315 时间:2011-11-08 10:27:00 0 删除 编辑

在之前工作中,对于一台AIX Oracle 10.2.0.1做过一次投票盘迁移,并且,投票盘数量增加至5,但添加操作完成后,导致投票盘混乱

于是,在Linux上又做了一遍,却没有重现,是否是与操作系统版本相关?

具体步骤见详细内容

[@more@]

[oracle@rac1 ~]$ sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 8 10:24:00 2011

Copyright (c) 1982, 2005, Oracle. All rights reserved.

SQL> conn / as sysdba
Connected.
SQL> select * from v$version;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
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


[root@rac1 bin]# ./crsctl query css votedisk
0. 0 /dev/raw/raw3
1. 0 /dev/raw/raw4
2. 0 /dev/raw/raw5

located 3 votedisk(s).
[root@rac1 bin]# dd if=/dev/raw/raw3 of=/root/votedisk.exp bs=1048576
250+1 records in
250+1 records out
263176704 bytes (263 MB) copied, 3.09795 seconds, 85.0 MB/s
[root@rac1 bin]# ./crsctl add css votedisk /dev/raw/raw6
Cluster is not in a ready state for online disk addition
[root@rac1 bin]# ./crsctl add css votedisk /dev/raw/raw6 -force
Now formatting voting disk: /dev/raw/raw6
successful addition of votedisk /dev/raw/raw6.
[root@rac1 bin]# ./crsctl query css votedisk
0. 0 /dev/raw/raw3
1. 0 /dev/raw/raw4
2. 0 /dev/raw/raw5
3. 0 /dev/raw/raw6

located 4 votedisk(s).
[root@rac1 bin]# ./crsctl add css votedisk /dev/raw/raw7 -force
Now formatting voting disk: /dev/raw/raw7
successful addition of votedisk /dev/raw/raw7.
[root@rac1 bin]# ./crsctl query css votedisk
0. 0 /dev/raw/raw3
1. 0 /dev/raw/raw4
2. 0 /dev/raw/raw5
3. 0 /dev/raw/raw6
4. 0 /dev/raw/raw7

located 5 votedisk(s).
[root@rac1 bin]# ./crsctl delete css votedisk /dev/raw/raw7 -force
successful deletion of votedisk /dev/raw/raw7.
[root@rac1 bin]# ./crsctl delete css votedisk /dev/raw/raw6 -force
successful deletion of votedisk /dev/raw/raw6.
[root@rac1 bin]# ./crsctl delete css votedisk /dev/raw/raw5 -force
successful deletion of votedisk /dev/raw/raw5.
[root@rac1 bin]# ./crsctl delete css votedisk /dev/raw/raw4 -force
successful deletion of votedisk /dev/raw/raw4.
[root@rac1 bin]# ./crsctl query css votedisk
0. 0 /dev/raw/raw3

located 1 votedisk(s).
[root@rac1 bin]# ./crsctl add css votedisk /dev/raw/raw4 -force
Now formatting voting disk: /dev/raw/raw4
successful addition of votedisk /dev/raw/raw4.
[root@rac1 bin]# ./crsctl query css votedisk
0. 0 /dev/raw/raw3
1. 0 /dev/raw/raw4

located 2 votedisk(s).
[root@rac1 bin]# ./crsctl delete css votedisk /dev/raw/raw3 -force
successful deletion of votedisk /dev/raw/raw3.
[root@rac1 bin]# ./crsctl query css votedisk
0. 0 /dev/raw/raw4

located 1 votedisk(s).
[root@rac1 bin]# ./crsctl add css votedisk /dev/raw/raw3 -force
Now formatting voting disk: /dev/raw/raw3
successful addition of votedisk /dev/raw/raw3.
[root@rac1 bin]# ./crsctl query css votedisk
0. 0 /dev/raw/raw3
1. 0 /dev/raw/raw4

located 2 votedisk(s).
[root@rac1 bin]# ./crsctl add css votedisk /dev/raw/raw5 -force
Now formatting voting disk: /dev/raw/raw5
successful addition of votedisk /dev/raw/raw5.
[root@rac1 bin]# ./crsctl query css votedisk
0. 0 /dev/raw/raw3
1. 0 /dev/raw/raw4
2. 0 /dev/raw/raw5

located 3 votedisk(s).
[root@rac1 bin]# ./crsctl add css votedisk /dev/raw/raw6 -force
Now formatting voting disk: /dev/raw/raw6
successful addition of votedisk /dev/raw/raw6.
[root@rac1 bin]# ./crsctl query css votedisk
0. 0 /dev/raw/raw3
1. 0 /dev/raw/raw4
2. 0 /dev/raw/raw5
3. 0 /dev/raw/raw6

located 4 votedisk(s).
[root@rac1 bin]# ./crsctl add css votedisk /dev/raw/raw7 -force
Now formatting voting disk: /dev/raw/raw7
successful addition of votedisk /dev/raw/raw7.
[root@rac1 bin]# ./crsctl query css votedisk
0. 0 /dev/raw/raw3
1. 0 /dev/raw/raw4
2. 0 /dev/raw/raw5
3. 0 /dev/raw/raw6
4. 0 /dev/raw/raw7

located 5 votedisk(s).

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/19423/viewspace-1056210/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: AIX系统慎用reboot
请登录后发表评论 登录
全部评论

注册时间:2010-01-05

  • 博文量
    126
  • 访问量
    540255