oracle 10.2.0.1 ORA-15097: cannot SHUTDOWN ASM instance with connected RDBMS instance

在尝试关闭ASM实例时遇到ORA-15097错误,该错误在数据库关闭后出现。问题在于ASMB后台进程仍连接到ASM实例。在10g中,ASMB在无活动状态下存在300秒,而在11g中减少到3秒。解决方法是在关闭数据库后等待3分钟再关闭ASM实例。


SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
[oracle@db ~]$ export ORACLE_SID=+ASM
[oracle@db ~]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Sun May 12 10:07:18 2013

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

SQL> shutdown immediate
ORA-15097: cannot SHUTDOWN ASM instance with connected RDBMS instance

 

ORA-15097 OCCUR WHEN ASM SHUTDOWN AFTER DB SHUTDOWN [ID 1089904.1]

修改时间:2013-2-22类型:HOWTO状态:PUBLISHED优先级:3 注释 (0)    
 

In this Document
 Goal
 Fix
 References

 

--------------------------------------------------------------------------------

 


Applies to:
Oracle Database - Enterprise Edition - Version 10.1.0.2 to 10.2.0.4 [Release 10.1 to 10.2]
Information in this document applies to any platform.
***Checked for relevance on 22-02-2013***
Goal
You have shutdown the database and are now shutting down the ASM instance.  However, you receive an error ORA-15097 : cannot SHUTDOWN ASM instance with connected RDBMS instance. This error is fixed in the 11.1.0.6 version of ASM.

Fix
To workaround the bug 6443217  ORA-15097 OCCUR WHEN ASM SHUTDOWN AFTER DB SHUTDOWN, you must do the following:


1.  Wait 3 minutes after shutting down the database.

2.  Then you can shutdown the ASM instance without receiving an error.


Reason:

This issue is because ASMB background process is still connected to ASM instance. In 10g, ASMB exists for 300 seconds if it is inactive.  Then the process terminates itself.

Changed in 11g to only 3 seconds of inactivity before it will receive termination notice to the ASMB background process.

 

 

References
BUG:6443217 - ORA-15097 OCCUR WHEN ASM SHUTDOWN AFTER DB SHUTDOWN

 

### ORA - 15032: not all alterations performed 此错误表明并非所有的更改操作都已执行。在引用[1]中,执行 `alter diskgroup archdg online disks in failgroup fg1` 语句时出现了该错误,同时伴随其他如 `ORA - 15130`、`ORA - 15335` 等错误,可能是磁盘组存在元数据损坏等问题。解决此问题可按以下步骤: 1. 检查磁盘组的状态,确保没有正在进行的操作,如卸载磁盘组等。 2. 检查磁盘组的元数据是否损坏,若存在损坏,可能需要进行修复操作。 3. 确认 `COMPATIBLE.ASM` 属性设置为 11.1 或者更高,因为某些特性依赖此设置。 ```sql -- 查看 COMPATIBLE.ASM 属性 SELECT name, value FROM v$asm_attribute WHERE group_number = (SELECT group_number FROM v$asm_diskgroup WHERE name = 'ARCHDG'); -- 修改 COMPATIBLE.ASM 属性 ALTER DISKGROUP archdg SET ATTRIBUTE 'compatible.asm' = '11.1'; ``` ### ORA - 15242: could not set attribute compatible.rdbms 根据引用[2],`compatible.asm` 和 `compatible.rdbms` 是 ASM 磁盘组的兼容性属性,`compatible.rdbms` 处理数据库实例(磁盘组的使用者)的兼容性。此错误表示无法设置 `compatible.rdbms` 属性,可能是当前设置不满足操作要求。解决方法如下: 1. 确认当前 `compatible.rdbms` 属性值,确保其符合操作要求。 2. 若要设置 `compatible.rdbms` 属性,需保证数据库实例的版本支持该值。 ```sql -- 查看当前 compatible.rdbms 属性值 ASMCMD [+DATA/rac] > lsattr -G DATA -l | grep compatible.rdbms -- 修改 compatible.rdbms 属性 ALTER DISKGROUP data SET ATTRIBUTE 'compatible.rdbms' = '11.2.0.0.0'; ``` ### ORA - 15137: The ASM cluster is in rolling patch state 该错误提示 ASM 集群处于滚动补丁状态,在此状态下某些操作可能会受到限制。解决此问题可按以下步骤: 1. 等待滚动补丁操作完成,确保 ASM 集群恢复正常状态。 2. 检查滚动补丁操作的日志,确认是否存在异常情况。 3. 若滚动补丁操作失败,可能需要手动清理相关状态或重新执行补丁操作。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值