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实例
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至253000106@qq.com举报,一经查实,本站将立刻删除。
发布者:PHP中文网,转转请注明出处:https://www.chuangxiangniao.com/p/1891128.html