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实例 更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12如何进行 Oracle 10g RAC关闭及启动Oracle的RAC的运行状态问题相关资讯 Oracle RAC
- Oracle RAC 更换存储实验 (今 06:38)
- Oracle RAC客户端tnsnames.ora相关 (09/02/2015 19:31:57)
- Oracle 11gR2 RAC集群服务启动与关 (04/29/2015 10:27:54)
| - 11.2.04 Oracle RAC 目录中 (12/21/2015 15:10:42)
- 关于心跳网络引起的Oracle RAC的节 (06/04/2015 17:53:20)
- RedHat 6.4安装Oracle11.2.0.2 RAC (04/27/2015 19:26:34)
|
本文评论 查看全部评论 (0)
评论声明- 尊重网上道德,遵守中华人民共和国的各项有关法律法规
- 承担一切因您的行为而直接或间接导致的民
|