欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

Oracle数据库集群管理工具停止RAC注意事项

程序员文章站 2024-01-19 11:24:22
...

在rac1节点使用oracle数据库集群管理工具停止rac1上面的实例,使用crs集群工具停掉CRS集群服务:启动注意:先启动CRS,在启动实例

在rac1节点使用Oracle数据库集群管理工具停止rac1上面的实例,使用crs集群工具停掉CRS集群服务:

停止注意:先停止实例,在停止CRS服务

启动注意:先启动CRS,在启动实例 ---启动实例需要在CRS集群中注册

[oracle@HBCADB001 tablespace]$srvctl stop instance -d hbcadb -i hbcadb1

[oracle@HBCADB001 tablespace]$

在节点2上面通过集群工具检查当前两个实例的状态,我们可以看到节点1上面的实例已经不在运行了:

[oracle@HBCADB002 ~]$srvctl status database -d hbcadb

Instance hbcadb1 is not running on node hbcadb001

Instance hbcadb2 is running on node hbcadb002

[oracle@HBCADB002 ~]$

观察节点rac1停止的信息,注意查看oracle的相关进程信息

[oracle@HBCADB001allbak]$

tail-f /u01/sys_software/oracle/diag/rdbms/hbcadb/hbcadb1/trace/alert_hbcadb1.log

Wed Oct 24 17:41:21 2012

Shutting down instance (immediate) ----停掉实例

Stopping background process SMCO -----停掉后台进行

Shutting down instance: further logons disabled

Wed Oct 24 17:41:22 2012

Stopping background process CJQ0

Stopping background process QMNC

Stopping background process MMNL

Stopping background process MMON

License high water mark = 13

All dispatchers and shared servers shutdown

ALTER DATABASE CLOSENORMAL

Wed Oct 24 17:41:27 2012

SMON: disabling tx recovery

Stopping background process RCBG

SMON: disabling cache recovery

Wed Oct 24 17:41:29 2012

Redo thread 1 internally disabled at seq 2041 (LGWR)

LGWR: Waiting for ORLs to be archived...

Wed Oct 24 17:41:29 2012

ARC1: Archiving disabled thread 1 sequence 2041

Archived Log entry 4117 added for thread 1 sequence 2041 ID 0xe8957542 dest 1:

LGWR: ORLs successfully archived

Shutting down archive processes

Archiving is disabled

Wed Oct 24 17:41:30 2012

ARCH shutting down

Wed Oct 24 17:41:30 2012

ARCH shutting down

Wed Oct 24 17:41:30 2012

ARCH shutting downARCH shutting down

ARC3: Archival stopped

ARC2: Archival stopped

ARC1: Archival stopped

ARC0: Archival stopped

Thread 1 closed at log sequence 2041

Successful close of redo thread 1

Wed Oct 24 17:41:32 2012

Completed: ALTER DATABASE CLOSENORMAL

ALTER DATABASE DISMOUNT

Completed: ALTER DATABASE DISMOUNT

ARCH: Archival disabled due to shutdown: 1089

Shutting down archive processes

Archiving is disabled

Archive process shutdown avoided: 0 active

ARCH: Archival disabled due to shutdown: 1089

Shutting down archive processes

Archiving is disabled

Archive process shutdown avoided: 0 active

Wed Oct 24 17:41:33 2012

NOTE: Shutting down MARK background process

Wed Oct 24 17:41:33 2012

Stopping background process VKTM:

Wed Oct 24 17:41:35 2012

freeing rdom 0

Wed Oct 24 17:41:38 2012

Instance shutdown complete

Oracle数据库集群管理工具停止RAC注意事项