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)
d) Removing ASM disk signature (In case of asmlib)
e) Remove the ASM pfile/spfile.
f) Removing ASM entry in the file oratab
g) Wipe out the disks header using 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 <name> 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 <- look for ASM resources and make sure the target=offline
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 <nodename> <- Peform for all nodes of a RAC cluster
crs_stat |more <- make sure no asm resources exists
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 of=/dev/<asm_disk_name> bs=1024k count=50
15) Finally clean out the possible remaining socket files as explained in the following note:
Listener Fails To Start With IPC Permission Errors (TNS-12546 TNS-12555 TNS-00516 TNS-00525) (Doc ID 434062.1)
From Oracle
-------------------------------------------------------------------------------------------------------
Blog: http://blog.csdn.net/tianlesoftware
Email: dvd.dba@gmail.com
DBA1 群:62697716(满); DBA2 群:62697977(满) DBA3 群:62697850(满)
DBA 超级群:63306533(满); DBA4 群: 83829929 DBA5群: 142216823
聊天 群:40132017 聊天2群:69087192
--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请
分享到:
相关推荐
oracleasm-support-2.1.8-1.SLE11.x86_64.rpm oracleasm-support-2.1.8-1.SLE11.x86_64.rpm
oracleasm-support-2.1.8-1.el6.x86_64.rpm
REDHAT安装ASM时必须安装的包。一共有三个,分别是 oracleasm-support-2.1.7-1.el5.i386.rpm oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm oracleasmlib-2.0.4-1.el5.i386.rpm
oracleasm-support-2.1.7-1.el5.x86_64.rpm
kmod-oracleasm-2.0.6.rh1-3.el6.x86_64.rpm和Oracleasmlib、Oracleasm-support,
oracleasm-2.6.18-194.32.1.el5-2.0.5-1.el5.x86_64.rpm
oracleasmlib-2.0.2-1.i386.rpm oracleasm-support-2.0.4-1.el5.i386.rpm
适用与redhat6.4安装oracleasm,kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm
oracleasm-support-2.1.4-1.el5.x86_64.rpm 适用于内核为2.6.18-164.el5环境使用
rhel-asm包括kmod-oracleasm-2.0.6.rh1-2 kmod-oracleasm-2.0.6.rh1-3.el6.x86_64和 kmod-oracleasm-2.0.6.rh1-3.el6.x86_64
oracle rac安装,oracleasm 所需的kmod-oracleasm-2.0.6.rh1-3.el6.x86_64,redhat6.5_x86_64
标签:asm-commons-2.2.1-sources.jar.zip,asm,commons,2.2.1,sources,jar.zip包下载,依赖包
kmod-oracleasm-2.0.6.rh1-3.el6.x86_64.rpm,oracleasm-support-2.1.8-1.el6.x86_64.rpm,oracleasmlib-2.0.4-1.el6.x86_64.rpm
kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm, kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm
oracleasm-2.6.18-8.el5-2.0.4-1.el5.i686.rpm
oracleasm-support-2.1.7-1.el5.i386.rpm
oracleasm-support-2.1.8-1.el6.x86_64 oracleasmlib-2.0.4-1.el6.x86_64 安装顺序: rpm -ivh kmod-oracleasm-2.0.8-15.el6_9.x86_64.rpm rpm -ivh oracleasm-support-2.1.8-1.el6.x86_64.rpm rpm -ivh ...
redhat5安装asm必须要的包。一共有三个,分别是 oracleasm-2.6.18-164.11.1.el5-2.0.5-1.el5.i686.rpm oracleasmlib-2.0.4-1.el5.i386.rpm oracleasm-support-2.1.8-1.el5.i386.rpm
oracleasm-support-2.1.3-1.el5.i386.rpm