一、集群与资源启动顺序

文章插图
启动流程步骤层次梳理
第一层:OHASD 启动:
- cssdagent - 负责启动 CSSD 的 Agent 。
- orarootagent - 负责启动所有 root 用户下的 ohasd 资源 的Agent 。
- oraagent - 负责启动所有 Oracle 用户下的 ohasd 资源的 Agent 。
- cssdmonitor - 监控 CSSD 以及节点健康(和 cssdagent 一起) 。
第二层:OHASD rootagent 启动:
- CRSD - 管理集群资源的主要后台进程 。
- CTSSD - Cluster Time Synchronization Services Daemon
- Diskmon
- ACFS (ASM Cluster File System)驱动
第二层:OHASD oraagent 启动:
- MDNSD - 用来实现 DNS 查询
- GIPCD - 用来做节点间通信
- GPNPD - Grid Plug & Play Profile Daemon
- EVMD - Event Monitor Daemon
- ASM - ASM 资源
第三层:CRSD 启动:
- orarootagent - 负责启动所有 root 用户下的 crsd 资源的 Agent 。
- oraagent - 负责启动所有 oracle 用户下的 crsd 资源的 Agent 。
第四层:CRSD rootagent 启动:
- SCAN VIP(s) - Single Client Access Name Virtual IPs
- Node VIPs - 每个节点1个
- ACFS Registery - 挂载 ASM Cluster File System
- GNS VIP (optional) - VIP for GNS
第四层:CRSD oraagent 启动:
- ASM Resouce - ASM 资源
- Diskgroup - 用来管理/监控 ASM 磁盘组
- DB Resource - 用来管理/监控数据库和实例
- SCAN Listener - SCAN 监听,监听在 SCAN VIP 上
- Listener - 节点监听,监听在 Node VIP 上
- Services - 用来管理/监控 services
- ONS - Oracle Notification Service
- eONS - 加强版 Oracle Notification Service
- GSD - 为了向下兼容 9i
- GNS (optional) - Grid Naming Service - 处理域名解析

文章插图
集群与资源启动顺序表

文章插图
二、Oracle 体系结构

文章插图
三、GI与DB日志结构

文章插图
四、启动完成后的服务状态

文章插图
五、启动过程日志
1、ohasd日志摘要
【Oracle11g RAC集群启动流程】
2021-09-14 15:13:05.271: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.mdnsd’ on ‘node1’ succeeded 2021-09-14 15:13:06.383: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.gpnpd’ on ‘node1’ succeeded 2021-09-14 15:13:07.414: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.gipcd’ on ‘node1’ succeeded 2021-09-14 15:13:07.476: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.crf’ on ‘node1’ succeeded 2021-09-14 15:13:07.600: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.cssdmonitor’ on ‘node1’ succeeded 2021-09-14 15:13:07.615: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.diskmon’ on ‘node1’ succeeded 2021-09-14 15:13:38.814: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.cssd’ on ‘node1’ succeeded 2021-09-14 15:13:40.836: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.ctssd’ on ‘node1’ succeeded 2021-09-14 15:13:42.052: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.evmd’ on ‘node1’ succeeded 2021-09-14 15:13:49.217: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.cluster_interconnect.haip’ on ‘node1’ succeeded 2021-09-14 15:13:50.235: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.drivers.acfs’ on ‘node1’ succeeded 2021-09-14 15:14:07.436: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.asm’ on ‘node1’ succeeded 2021-09-14 15:14:08.459: [ CRSPE][493405952]{0:0:2} CRS-2676: Start of ‘ora.crsd’ on ‘node1’ succeeded
推荐阅读
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 如何使用Ora2Pg迁移Oracle数据库到openGauss
- oracle常用命令梳理
- Oracle 10g中如何创建表
- Centos静默安装oracle 11g
- SQL Server 链接Oracle 数据库实战
- Oracle如何添加主键约束
- 吴速玲|吴速玲懒理曹格迷惑发文,晒12岁女儿梳妆照,感慨Grace变少女
- miracast怎么用
- MaxScale 关于Linux下MySQL主备集群负载均衡之读写分离
- 黄晓明|曹格老婆晒女儿近照,12岁Grace秀发披肩笑容甜美,越长越漂亮
