(轉)Oracle rac環境下清除asm例項
Applies to:
Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.2.0.3
Information in this document applies to any platform.
"Checked for relevance on 05-Feb-2008"
Goal:
How to drop the ASM instance installed in a seperate Oracle Home for both RAC and non-RAC installations.
解除安裝rac安裝或非rac安裝中的asm例項。
Solution:
The outline of the steps involved are :
a) Backup all the ASM client database files stored on the diskgroups.
備份磁碟組上的檔案。
b) Dropping all the diskgroups.
刪除磁碟組。
c) Removing ASM resource from CRS (* RAC specific)
從CRS移除asm資源。
d) Removing ASM disk signature (In case of asmlib)
移除asm磁碟簽名。
e) Remove the ASM pfile/spfile.
移除asm pfile/spfile。
f) Removing ASM entry in the file oratab
移除oratab中的asm入口。
g) Wipe out the disks header using dd
使用dd清楚磁碟頭。
Following are the steps to be followed:
1) Log into the ASM instance and do 'select * from v$asm_client;'
2) For each instance listed above, stop the respective databases.
3) Backup all the datafiles, logfiles, controlfiles, archive logs, etc. that are currently using ASM storage, to tape or to filesystem (using RMAN). This needs to be done for every database (ASM client) using ASM.
** NOTE: Please make sure you have the data secure before continuing to the next step.
4) Find all the diskgroups: 'select * from v$asm_diskgroup'
5) For each diskgroup listed above:
' drop diskgroup including contents'
6) Shutdown all(RAC nodes) ASM instances.
7) On RAC install verify that all asm instances are stopped
$ORA_CRS_HOME/bin/crst_stat |more
8) For single instance install run the following script.:
$ORACLE_HOME/bin/localconfig delete
* This cleans up the CSSD configuration.
9)Invoke OUI, and now de-install the ASM Oracle home.
10) For RAC install, remove the asm related resource.
srvctl remove asm -n
crs_stat |more
11) If using asmlib (on Linux only), then
a. oracleasm listdisks
b. oracleasm deletedisks (do this for every disk listed above)
c. oracleasm listdisks (to verify they have been deleted)
d. on other RAC nodes: oracleasm listdisks (to verify they have been deleted too)
e. On all nodes(RAC) :
As root run:
# /etc/init.d/oracleasm stop
# /etc/init.d/oracleasm disable
12) delete the ASM pfile or spfile
13) in the file oratab, remove the line relative to the ASM instance
14) clean out the disks headers using the dd command:
for example: dd if=/dev/zero f=/dev/ bs=1024k count=50
我在安裝oracle rac,配置asm例項,建立磁碟組後掛載狀態有錯誤!
必須解除安裝asm例項,我的步驟如下:
1、停止ASM例項
srvctl stop asm -n dbp
srvctl stop asm -n dbs
2、移除ASM例項(從ocr.loc中)
srvctl remove asm -n dbp
srvctl remove asm -n dbs
3、刪除/etc/oratab檔案下的相關條目
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12272958/viewspace-710318/,如需轉載,請註明出處,否則將追究法律責任。

請登入後發表評論
登入
全部評論
相關文章
- Oracle RAC環境下ASM磁碟組擴容OracleASM
- RAC和ASM環境下打patchASM
- RAC+DG(asm單例項)ASM單例
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- ORACLE11GR2 RAC解除安裝ASM例項步驟OracleASM
- Oracle RAC 環境下的連線管理Oracle
- Oracle 11.2.0.4 rac for aix acfs異常環境的克隆環境ASM磁碟組掛載緩慢OracleAIASM
- 【Oracle】ASM例項安裝入門OracleASM
- ORACLE-LINUX環境字元介面單例項安裝OracleLinux字元單例
- Oracle 11gR2 ASM例項記憶體管理OracleASM記憶體
- Oracle 11g RAC到單例項OGG同步Oracle單例
- RAC環境下建立物理DATAGUARD(1)
- RAC環境下建立物理DATAGUARD(2)
- Oracle 例項和RAC叢集下資料庫日誌目錄合集Oracle資料庫
- Overview of Oracle Flex ASM In Oracle 19c RAC-20220111ViewOracleFlexASM
- Oracle RAC日常運維-ASM磁碟擴容Oracle運維ASM
- 超大記憶體環境下的Oracle RAC引數設定建議記憶體Oracle
- 【ASM】Oracle asm刪除磁碟組注意事項ASMOracle
- Oracle RAC一鍵部署001(主機環境校驗)Oracle
- ORACLE 12C RAC 生產環境搭建介紹Oracle
- oracle 11G RAC的建立(VM虛擬環境)Oracle
- 將RAC軟體轉換為單例項軟體單例
- goldengate + asm + racGoASM
- 【ASK_ORACLE】Relink ASM單例項資料庫詳細步驟OracleASM單例資料庫
- oracle資料庫跨平臺(AIX)從RAC恢復至(linux)下的單例項Oracle資料庫AILinux單例
- AIX 5.3/6.1環境下安裝Oracle 10gR2 RAC常見報錯AIOracle 10g
- oracle rac 單個例項不能生成awr報告的問題Oracle
- ORA-29702複製RAC Oracle軟體啟動單例項Oracle單例
- Oracle RAC 環境 引數檔案的啟動順序Oracle
- Oracle RAC環境新增新的network和listener(未完成)Oracle
- 【ASK_ORACLE】Oracle RAC配置ASM Filter Driver(ASMFD)(一)ASMFD簡介OracleASMFilter
- rac恢復到單例項單例
- RAC+ASM+DATAGUARDASM
- Oracle 12cR1 RAC叢集安裝(一)--環境準備Oracle
- oracle RAC+DG 擴容ASM和表空間(Linux)OracleASMLinux
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- 【ASM】Oracle RAC css啟動報錯"Duplicate voting file found"ASMOracleCSS
- Spark程式設計環境搭建及WordCount例項Spark程式設計
- RAC環境下的SEQUENCE對應用的影響