如何卸载并删除ASM磁盘组
1个回答
2017-04-01 · 互联网+时代高效组织信息化平台
关注
展开全部
卸载并删除ASM磁盘组的方法:
1、以oracle用户登录RAC数据库节点1:
oracle@node74:~> export ORACLE_SID=+ASM1
oracle@node74:~> sqlplus sys/xxxxx as sysdba
SQL*Plus: Release 11.1.0.7.0 - Productionon Mon Feb 18 14:34:20 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise EditionRelease 11.1.0.7.0 - 64bit Production
With the Partitioning, Real ApplicationClusters, OLAP, Data Mining
and Real Application Testing options
SQL> alter diskgroup dg_arch dismount;
Diskgroup altered.
------ 实例+ASM1卸载ASM磁盘组DG_ARCH
2、以oracle用户登录RAC数据库节点2:
oracle@node76:~> export ORACLE_SID=+ASM2
oracle@node76:~> sqlplus sys/xxxxx as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production onMon Feb 18 14:35:10 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise EditionRelease 11.1.0.7.0 - 64bit Production
With the Partitioning, Real ApplicationClusters, OLAP, Data Mining
and Real Application Testing options
SQL> alterdiskgroup dg_arch dismount;
Diskgroup altered.
------ 实例+ASM2卸载ASM磁盘组DG_ARCH
SQL> dropdiskgroup dg_arch force including contents;
Diskgroup dropped.
------- 删除ASM磁盘组DG_ARCH。
1、以oracle用户登录RAC数据库节点1:
oracle@node74:~> export ORACLE_SID=+ASM1
oracle@node74:~> sqlplus sys/xxxxx as sysdba
SQL*Plus: Release 11.1.0.7.0 - Productionon Mon Feb 18 14:34:20 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise EditionRelease 11.1.0.7.0 - 64bit Production
With the Partitioning, Real ApplicationClusters, OLAP, Data Mining
and Real Application Testing options
SQL> alter diskgroup dg_arch dismount;
Diskgroup altered.
------ 实例+ASM1卸载ASM磁盘组DG_ARCH
2、以oracle用户登录RAC数据库节点2:
oracle@node76:~> export ORACLE_SID=+ASM2
oracle@node76:~> sqlplus sys/xxxxx as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production onMon Feb 18 14:35:10 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise EditionRelease 11.1.0.7.0 - 64bit Production
With the Partitioning, Real ApplicationClusters, OLAP, Data Mining
and Real Application Testing options
SQL> alterdiskgroup dg_arch dismount;
Diskgroup altered.
------ 实例+ASM2卸载ASM磁盘组DG_ARCH
SQL> dropdiskgroup dg_arch force including contents;
Diskgroup dropped.
------- 删除ASM磁盘组DG_ARCH。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询