暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
ASM自动脱落了
719
3页
1次
2020-04-16
5墨值下载
一、异常报错
最近在安装 RAC 12c 的过程,配置 ASM 阶段发生如下错误。
KFOD-00313: No ASM instances available. CSS group services were successfully
initilized by kgxgncin
KFOD-00105: Could not open pfile 'init@.ora'
百思不解,经各种查阅资料,终于知道原因
二、 原因分析
RHEL7.2 中,systemd-logind 服务引入了一个新特性,该新特性是:当一个 user 完全退出 os 之后,
remove 掉所有的 IPC objects。该特性由/etc/systemd/logind.conf 参数文件中 RemoveIPC 选项来
控制。默认设置了 RemoveIPC=yes RHEL7.2 crash Oracle asm 实例和 Oracle database
实例,该问题也会在使用 Shared Memory Segment (SHM) or Semaphores (SEM)的应用程序中发生。
来源于:
ALERT: Setting RemoveIPC=yes on Redhat 7.2 Crashes ASM and Database Instances as
Well as Any Application That Uses a Shared Memory Segment (SHM) or Semaphores
(SEM) (文档 ID 2081410.1)
适用于:Oracle Database - Standard EditionOracle Database - Enterprise
EditionLinux x86-64Linux x86
故,当最后一个 oracle 或者 Grid 用户退出时,操作系统会 remove 掉这个 user shared memory
segments and semaphores,由于 Oracle ASM database 使用 shared memory
segmentsremove shared memory segments 将会 crash Oracle ASM and database
instances.
请参考
Redhat bug 1264533 - https://bugzilla.redhat.com/show_bug.cgi?id=1264533
该问题会影响使用 the shared memory segments semaphores 的所有应用程序,因此,Oracle
ASM 实例和 Oracle Database 实例均受到影响。
Oracle Linux 7.2 通过在/etc/systemd/logind.conf 配置文件中明确设置 RemoveIPC
noOracle Linux7.2 规避了此问题,
请注意
若是/etc/systemd/logind.conf 文件是在 os upgrade 之前修改的,那么 yum/update 将会写一个正
确的配置文件(RemoveIPC=no),该配置文件名是 logind.conf.rpmnew,如果用户使用原来的配置文
件,那么本文描述的 failures 将会发生。为了避免本问题,当 os 升级之后,务必编辑 logind.conf
件并设置 RemoveIPC=no
此参数导致的常见异常场景:
1) 安装 11.2 and 12c GI/CRS 会发生失败,因为 crash Oracle ASM and database
instances
2) 升级 11.2 and 12c GI/CRS 的时候,也会发生此错误;
3) Redhat Linux 由低版本升级至 7.2 时,11.2 and 12c ASM database instances 也会被
crash 掉。
/etc/systemd/logind.conf 文件中(RemoveIPC=yes),systemd-logind remove IPC
objects 可能在任何时候发生,故障的表现可以有很大的不同,下面是异常记录的几个案例:
1. 最常见的错误发生在 asm or database alert.log 告警日志中,示错信息如下
ORA-27157: OS post/wait facility removed
ORA-27300: OS system dependent operation:semop failed with status: 43
ORA-27301: OS failure message: Identifier removed
ORA-27302: failure occurred at: sskgpwwait1
2. 在更新 GI asmca 时,the following error:
KFOD-00313: No ASM instances available. CSS group services were successfully
initilized by kgxgncin
KFOD-00105: Could not open pfile 'init@.ora'
3. Grid 安装和升级过程中,创建 ASM 初始密码时失败
$GRID_HOME/orapwd
Enter password for SYS:
OPW-00009: Could not establish connection to Automatic Storage Management
instance
2019/07/05 21:38:45 CLSRSC-184: Configuration of ASM failed
2019/07/05 21:38:46 CLSRSC-258: Failed to configure and start ASM
4. ASM crash 后,/var/log/messages 中的错误记录信息
of 3
5墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜