oracle增加投票盘,Oracle 10.2.0.1添加5块投票盘

在之前工作中,对于一台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).

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值