Use the Oracle database cluster management tool on the rac1 node to stop the rac1 instance and use the crs cluster tool to stop the CRS cluster service:
Stop Note: Stop the instance before stopping the CRS service.
Start Note: Start CRS first. to start an instance, you must register it in the CRS cluster.
[Oracle @ HBCADB001 tablespace] $ srvctl stop instance-d hbcadb-I hbcadb1
[Oracle @ HBCADB001 tablespace] $
Run the cluster tool on node 2 to check the status of the current two instances. We can see that the instance on node 1 is no longer running:
[Oracle @ HBCADB002 ~] $ Srvctl status database-d hbcadb
Instance hbcadb1 is not running on node hbcadb001
Instance hbcadb2 is running on node hbcadb002
[Oracle @ HBCADB002 ~] $
Observe the stop information of node rac1. Check the process information of 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) ---- stop an instance
Stopping background process SMCO ----- stop background
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
Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
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