Oracle RAC正常的重启顺序

php中文网
发布: 2016-06-07 17:29:01
原创
1605人浏览过

Oracle RAC正常的重启顺序:Oracle 10g rac: 一般10g RAC (ASM) 开关机顺序如下: 1)停止 Oracle RAC 10g 环境 先停止 Oracle 实

oracle rac正常的重启顺序:
oracle 10g rac:
 一般10g rac (asm) 开关机顺序如下:
1)停止 oracle rac 10g 环境
 先停止 oracle 实例。当此实例(和相关服务)关闭后,关闭 asm 实例。
 最后,关闭节点应用程序(虚拟 ip、gsd、tns 监听器和 ons)。
$ export oracle_sid=escdb1
$ emctl stop dbconsole
 $ srvctl stop instance -d ecsdb -i ecsdb1
$ srvctl stop asm -n ecsrac01
$ srvctl stop nodeapps -n  ecsrac01 
2)启动 oracle rac 10g 环境
 第一步是启动节点应用程序(虚拟 ip、gsd、tns 监听器和 ons)。当成功启动节点应用程序后,
 启动 asm 实例。最后,启动 oracle 实例(相关服务)以及企业管理器数据库控制台。
 $ export oracle_sid=ecsdb1 
$ srvctl start nodeapps -n ecsrac01 
$ srvctl start asm -n ecsrac01
$ srvctl start instance -d ecsdb -i  ecsdb1
$ emctl start dbconsole
 但是在11g rac中, 数据库及实例关闭都可以沿用10g的命令进行, 使用 srvctl stop asm -n ecsrac01 关闭
 asm的时候,出现问题, 关闭报错 。
 oracle 11g rac:
 1 先关闭数据库:
 oracle$ srvctl stop database -d rac (根据自己的情况设置数据库名)
 2 再关闭crs 服务
 [root@rac1 ~]# /opt/11202/11.2.0/grid/bin/crsctl  stop crs
crs-2791: starting shutdown of oracle high availability services-managed resources on 'rac1'
 crs-2673: attempting to stop 'ora.crsd' on 'rac1'
 crs-2790: 正在启动关闭 'rac1' 上集群就绪服务管理的资源的操作
 crs-2673: 尝试停止 'ora.oc4j' (在 'rac1' 上)
 crs-2673: 尝试停止 'ora.gsd' (在 'rac1' 上)
 crs-2673: 尝试停止 'ora.data1.dg' (在 'rac1' 上)
 crs-2673: 尝试停止 'ora.data2.dg' (在 'rac1' 上)
 crs-2673: 尝试停止 'ora.listener.lsnr' (在 'rac1' 上)
 crs-2673: 尝试停止 'ora.yangql.lsnr' (在 'rac1' 上)
 crs-2677: 成功停止 'ora.yangql.lsnr' (在 'rac1' 上)
 crs-2677: 成功停止 'ora.listener.lsnr' (在 'rac1' 上)
 crs-2673: 尝试停止 'ora.rac1.vip' (在 'rac1' 上)
 crs-2677: 成功停止 'ora.rac1.vip' (在 'rac1' 上)
 crs-2672: 尝试启动 'ora.rac1.vip' (在 'rac2' 上)
 crs-2677: 成功停止 'ora.gsd' (在 'rac1' 上)
 crs-2676: 成功启动 'ora.rac1.vip' (在 'rac2' 上)
 crs-2677: 成功停止 'ora.data2.dg' (在 'rac1' 上)
 crs-2677: 成功停止 'ora.oc4j' (在 'rac1' 上)
 crs-2672: 尝试启动 'ora.oc4j' (在 'rac2' 上)
 crs-2677: 成功停止 'ora.data1.dg' (在 'rac1' 上)
 crs-2673: 尝试停止 'ora.asm' (在 'rac1' 上)
 crs-2677: 成功停止 'ora.asm' (在 'rac1' 上)
 crs-2676: 成功启动 'ora.oc4j' (在 'rac2' 上)
 crs-2673: 尝试停止 'ora.ons' (在 'rac1' 上)
 crs-2677: 成功停止 'ora.ons' (在 'rac1' 上)
 crs-2673: 尝试停止 'ora.net1.network' (在 'rac1' 上)
 crs-2677: 成功停止 'ora.net1.network' (在 'rac1' 上)
 crs-2792: 关闭 'rac1' 上集群就绪服务管理的资源的操作已完成
 crs-2677: stop of 'ora.crsd' on 'rac1' succeeded
 crs-2673: attempting to stop 'ora.crf' on 'rac1'
 crs-2673: attempting to stop 'ora.ctssd' on 'rac1'
 crs-2673: attempting to stop 'ora.evmd' on 'rac1'
 crs-2673: attempting to stop 'ora.asm' on 'rac1'
 crs-2673: attempting to stop 'ora.mdnsd' on 'rac1'
 crs-2677: stop of 'ora.evmd' on 'rac1' succeeded
 crs-2677: stop of 'ora.asm' on 'rac1' succeeded
 crs-2673: attempting to stop 'ora.cluster_interconnect.haip' on 'rac1'
 crs-2677: stop of 'ora.crf' on 'rac1' succeeded
 crs-2677: stop of 'ora.mdnsd' on 'rac1' succeeded
 crs-2677: stop of 'ora.cluster_interconnect.haip' on 'rac1' succeeded
 crs-2677: stop of 'ora.ctssd' on 'rac1' succeeded
 crs-2673: attempting to stop 'ora.cssd' on 'rac1'
 crs-2677: stop of 'ora.cssd' on 'rac1' succeeded
 crs-2673: attempting to stop 'ora.gipcd' on 'rac1'
 crs-2673: attempting to stop 'ora.diskmon' on 'rac1'
 crs-2677: stop of 'ora.diskmon' on 'rac1' succeeded
 crs-2677: stop of 'ora.gipcd' on 'rac1' succeeded
 crs-2673: attempting to stop 'ora.gpnpd' on 'rac1'
 crs-2677: stop of 'ora.gpnpd' on 'rac1' succeeded
 crs-2793: shutdown of oracle high availability services-managed resources on 'rac1' has completed
 crs-4133: oracle high availability services has been stopped.
 在11g中 11.2.0.2 中 ocr 服务的信息存放在asm 磁盘上,,是依赖于asm的 ,所以要关闭crs 而不是直接关闭asm实例 

MindShow
MindShow

MindShow官网 | AI生成PPT,快速演示你的想法

MindShow 1492
查看详情 MindShow

linux

最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号