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).
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19423/viewspace-1056210/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 區塊鏈投票系統開發方案,區塊鏈投票系統開發原始碼區塊鏈原始碼
- 加密谷區塊鏈投票試驗成功加密區塊鏈
- Oracle10.2.0.1的bugOracle
- 升級Oracle10.2.0.1Oracle
- 在windows2003上安裝Oracle 10.2.0.1 RAC,使用ISCSI盤陣WindowsOracle
- redhat as 5 +oracle 10.2.0.1 用裸裝置建庫出現的問題RedhatOracle
- V神:區塊鏈上投票流程的實現區塊鏈
- oracle rac 10.2.0.1 升級到 oracle 10.2.0.4Oracle
- oracle10.2.0.1下載連結Oracle
- Oracle 10.2.0.1 升級到 10.2.0.4Oracle
- 【安裝】RedHat 5.1 部署Oracle 10.2.0.1RedhatOracle
- 在rhel5上靜默(silent)安裝oracle10g(10.2.0.1)報錯Oracle
- aix6.1上安裝oracle 10.2.0.1AIOracle
- Upgrade Oracle Database from 10.2.0.1 to 11.2.0.4OracleDatabase
- Linux as 4.0 下安裝Oracle 10.2.0.1LinuxOracle
- (轉)Oracle 10.2.0.1 升級到 10.2.0.4Oracle
- 瑞士區塊鏈演變:投票選舉和銀行業區塊鏈行業
- 支援區塊鏈的議案通過了美國國會投票區塊鏈
- Oracle database 升級(文件)to 10.2.0.4 from 10.2.0.1OracleDatabase
- RHEL4-U2-i386-AS_Oracle10.2.0.1Oracle
- oracle 10.2.0.1 database server下載地址(轉載)OracleDatabaseServer
- oracle 10g 中如何新增與刪除votedisk映象盤Oracle 10g
- 摩爾投票
- 【伺服器資料恢復】5盤RAID5中4塊盤重建RAID5後恢復原RAID5資料的案例伺服器資料恢復AI
- 32位Oracle10.2.0.1 升級64位Oracle10.2.0.1,ORA-06553:PLS-801:內部錯誤Oracle
- 以太坊DApp開發入門教程——區塊鏈投票系統APP區塊鏈
- RHEL5 Oracle 10g RAC新增新節點Oracle 10g
- [Upgrade] Oracle 10.2.0.1 --> 10.2.0.5 patchset Upgrade.Oracle
- ORACLE10G 10.2.0.1升級到10.2.0.5Oracle
- Centos6.5上安裝oracle 10.2.0.1小記CentOSOracle
- Oracle RAC 10.2.0.1 升級 10.2.0.4 簡單描述Oracle
- Oracle 10g upgrade from 10.2.0.1 to 10.2.0.4Oracle 10g
- Oracle 10.2.0.1 升級到 10.2.0.4--轉載Oracle
- windows 下oracle從10.2.0.1升級到10.2.0.4WindowsOracle
- 靜默升級oracle(文件)to 10.2.0.4 from 10.2.0.1Oracle
- Oracle 10.2.0.1 exp 之 full database export and import(實戰)OracleDatabaseExportImport
- redhat5 for x86-64bit安裝oracle10.2.0.1 for x86-64bit小記RedhatOracle
- 簡易線上投票系統(php)——投票頁面PHP