oracle 10g rac +asm 進行加物理磁碟與減物理磁碟的測試
昨天晚上,為了專案的需要,需要對asm進行加磁碟與減磁碟的測試
加了9個200G的磁碟與減少9個200G的磁碟,asm分佈 I/O的時間花了大概兩個
小時左右,主要看v$asm_operation檢視
EST_WORK是要移動的單元的總數,SOFAR是重新平衡操作中到目前為止已移動的單元的數量。
EST_RATE是重新平衡操作每分鐘移動的單元的當前數量,EST_MINUTES給出剩餘時間的估計值(以分鐘計)。
然後state狀態有以下幾鍾
State of the operation:
WAIT - No operations running for the group
RUN - Operation running for the group
REAP - Operation is being run down
HALT - Operation halted by admin
ERRS - Operation halted by errors
具體過程參考metalink 837308.1
主題: Exact Steps To Migrate ASM Diskgroups To Another SAN Without Downtime.
文件 ID: 837308.1 型別: HOWTO
上次修訂日期: 15-JUN-2009 狀態: PUBLISHED
In this Document
Goal
Solution
--------------------------------------------------------------------------------
Applies to:
Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.7
Information in this document applies to any platform.
Goal
The present document explains in detail the exact steps to migrate ASM diskgroups from one SAN to another SAN without a downtime.
Solution
If your plans are replacing the current disks associated to your diskgroups with a new storage, this operation can be accomplished without any downtime, so you can follow the next steps
1) Backup all your databases and valid the backup (always required to protect your data).
2) Add the new path (new disks from the new storage) to your asm_disktring to be recognized by ASM:
Example:
SQL> alter system set asm_disktring = '/dev/emcpowerc*' , '/dev/emcpowerh*';
Where: '/dev/emcpowerc*' are the current disks.
Where: '/dev/emcpowerh*' are the new disks.
3) Confirm that the new disks are being detected by ASM:
SQL> select path from v$asm_disk;
4) Add the new disks to your desired diskgroup:
SQL> alter diskgroup
‘
‘
‘
‘
.
.
.
‘
5) Then wait until the rebalance operation completes:
SQL> select * from v$asm_operation;
SQL> select * from gv$asm_operation;
6) Finally, remove the old disks:
SQL> alter diskgroup
.
.
.
7) Then wait until the rebalance operation completes:
SQL> select * from v$asm_operation;
SQL> select * from gv$asm_operation;
8) Done, your ASM diskgroups and database have been migrated to the new storage.
Note: Alternatively, we can execute add disk & drop disk statements in one operation,
in that way only one rebalance operation will be started as follow:
SQL> alter diskgroup
add disk '
drop disk
rebalance ;
This is more efficient than separated commands (add disk & drop disk statements).
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-613445/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 確定asm磁碟與物理磁碟的對應關係ASM
- Oracle asm磁碟中新加磁碟OracleASM
- RAC共享磁碟物理路徑故障導致OCR、Votedisk所在ASM磁碟組不可訪問的案例分析ASM
- ORACLE RAC重建ASM磁碟組OracleASM
- 配置Oracle 10g ASM磁碟Oracle 10gASM
- oracle rac 無法建立asm磁碟OracleASM
- Oracle 10g rac+asm 磁碟頭備份與恢復實驗Oracle 10gASM
- 對oracle asm 磁碟組進行檢查OracleASM
- UDEV方式配置Oracle RAC ASM共享磁碟devOracleASM
- oracle 10g rac 撥公網網線和私網網線物理測試Oracle 10g
- oracle 11gR2 RAC 撥公網物理測試Oracle
- Oracle RAC日常運維-ASM磁碟擴容Oracle運維ASM
- Oracle10g RAC ASM磁碟組[zt]OracleASM
- 關於Oracle 10g ASM磁碟大小的限制Oracle 10gASM
- 20140218_RAC ASM新增磁碟測試ASM
- Oracle RAC環境下ASM磁碟組擴容OracleASM
- 磁碟物理結構及IO時的過程
- dd模擬asm磁碟容災測試ASM
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- oracle rac 增加磁碟Oracle
- 在Oracle10g RAC下新增ASM磁碟組OracleASM
- RAC DG 物理standby ASM無法啟動ASM
- 11G RAC 為 ASM 磁碟組增加一個磁碟。(AIX)ASMAI
- dbca建立oracle 11g rac發現不了asm磁碟OracleASM
- 如何檢視Oracle RAC的asm磁碟的udev對應關係OracleASMdev
- 【ASM】Oracle asm磁碟被格式化,如何掛載該磁碟組ASMOracle
- 用Mac磁碟工具進行磁碟自檢與修復Mac
- Linux物理儲存結構以及磁碟劃分Linux
- oracle 10g物理data guard 操作Oracle 10g
- oracle 10g asm windows 無法找到磁碟 的問題解決Oracle 10gASMWindows
- oracle 10g rac+asm 歸檔路徑磁碟組空間滿問題處理Oracle 10gASM
- 11G ORACLE RAC DBCA 無法識別asm磁碟組OracleASM
- RAC資料庫新增ASM磁碟組(1)資料庫ASM
- 【RAC】在ESX 上安裝asm 共享磁碟ASM
- ORACLE 10.2.0.5 RAC OCR&vote disk 磁碟遷移 DG Rebalance測試Oracle
- Oracle rac on vm--共享磁碟Oracle
- asm 磁碟組 增刪磁碟組ASM
- Oracle下建立ASM磁碟總結OracleASM