Heim >Datenbank >MySQL-Tutorial >Oracle RAC正常的重启顺序

Oracle RAC正常的重启顺序

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 17:29:011329Durchsuche

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实例 

linux

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn