那么下一步如何处理呢?
最终选择在节点1强制停止crs再启动成功
#强制关闭节点
1的crs
root@bjdb1
:/>crsctl stop crs -f
CRS-
2791: Starting shutdown of Oracle High Availability Services-managed resources on
'bjdb1'
CRS-
2673: Attempting to stop
'ora.mdnsd' on
'bjdb1'
CRS-
2673: Attempting to stop
'ora.crf' on
'bjdb1'
CRS-
2673: Attempting to stop
'ora.ctssd' on
'bjdb1'
CRS-
2673: Attempting to stop
'ora.evmd' on
'bjdb1'
CRS-
2673: Attempting to stop
'ora.asm' on
'bjdb1'
CRS-
2673: Attempting to stop
'ora.drivers.acfs' on
'bjdb1'
CRS-
2677: Stop of
'ora.evmd' on
'bjdb1' succeeded
CRS-
2677: Stop of
'ora.mdnsd' on
'bjdb1' succeeded
CRS-
2677: Stop of
'ora.ctssd' on
'bjdb1' succeeded
CRS-
5017: The resource action
"ora.crf stop" encountered the following
error:
action
for daemon aborted. For details refer to
"(:CLSN00108:)" in "/opt/u01/app/11.2.0/grid/log/bjdb1/agent/ohasd/orarootagent_root/orarootagent_root.log".
CRS-
2675: Stop of
'ora.crf' on
'bjdb1' failed
CRS-
2679: Attempting to clean
'ora.crf' on
'bjdb1'
CRS-
2681: Clean of
'ora.crf' on
'bjdb1' succeeded
CRS-
2675: Stop of
'ora.asm' on
'bjdb1' failed
CRS-
2679: Attempting to clean
'ora.asm' on
'bjdb1'
CRS-
2681: Clean of
'ora.asm' on
'bjdb1' succeeded
CRS-
2673: Attempting to stop
'ora.cluster_interconnect.haip' on
'bjdb1'
CRS-
2677: Stop of
'ora.cluster_interconnect.haip' on
'bjdb1' succeeded
CRS-
2673: Attempting to stop
'ora.cssd' on
'bjdb1'
CRS-
2677: Stop of
'ora.cssd' on
'bjdb1' succeeded
CRS-
2673: Attempting to stop
'ora.gipcd' on
'bjdb1'
CRS-
2677: Stop of
'ora.gipcd' on
'bjdb1' succeeded
CRS-
2673: Attempting to stop
'ora.gpnpd' on
'bjdb1'
CRS-
2677: Stop of
'ora.gpnpd' on
'bjdb1' succeeded
CRS-
2677: Stop of
'ora.drivers.acfs' on
'bjdb1' succeeded
CRS-
2793: Shutdown of Oracle High Availability Services-managed resources on
'bjdb1' has completed
CRS-
4133: Oracle High Availability Services has been stopped.
root@bjdb1
:/>
#查看crsctl资源状态,此时肯定没有
root@bjdb1
:/>crsctl stat res -t
CRS-
4535: Cannot communicate with Cluster Ready Services
CRS-
4000: Command Status failed,
or completed with errors.
#查看crsd.bin,cssd.bin,evmd.bin,都已经没有了相关进程
root@bjdb1
:/>ps -ef|grep crsd.bin
root
8126466 25428158 0 15:52:50 pts/
0 0:00 grep crsd.bin
root@bjdb1
:/>ps -ef|grep cssd.bin
root
8126470 25428158 0 15:53:01 pts/
0 0:00 grep cssd.bin
root@bjdb1
:/>ps -ef|grep evmd.bin
root
35520600 25428158 0 15:53:13 pts/
0 0:00 grep evmd.bin
#查看pmon进程,也都没有了
root@bjdb1
:/>ps -ef|grep pmon|grep -v grep
root@bjdb1
:/>
#尝试再次启动crs,成功!
root@bjdb1
:/>crsctl start crs
CRS-
4123: Oracle High Availability Services has been started.
#查看crsctl资源,依然报错,说明还没有完全起来
root@bjdb1
:/>crsctl stat res -t
CRS-
4535: Cannot communicate with Cluster Ready Services
CRS-
4000: Command Status failed,
or completed with errors.
#等待一段时间,可以查GI相关的核心后台进程
root@bjdb1
:/>ps -ef|grep crsd.bin|grep -v grep
root@bjdb1
:/>ps -ef|grep cssd.bin|grep -v grep
grid
10747994 26542192 0 15:55:03
-
0:00 /opt/u01/app/
11.2.
0/grid/bin/ocssd.bin
root@bjdb1
:/>ps -ef|grep pmon
root
39387390 25428158 0 15:57:23 pts/
0 0:00 grep pmon
root@bjdb1
:/>ps -ef|grep pmon|grep -v grep
grid
39911466
1 0 15:58:47
-
0:00 asm_pmon
_+ASM2
root@bjdb1
:/>ps -ef|grep pmon|grep -v grep
root
37814470 25428158 0 15:59:27 pts/
0 0:00 grep pmon
grid
39911466
1 0 15:58:47
-
0:00 asm_pmon
_+ASM2
root@bjdb1
:/>
root@bjdb1
:/>ps -ef|grep crsd.bin
root@bjdb1
:/>ps -ef|grep cssd.bin
grid
10747994 26542192 0 15:55:03
-
0:00 /opt/u01/app/
11.2.
0/grid/bin/ocssd.bin
root@bjdb1
:/>ps -ef|grep evmd.bin
grid
40173760
1 0 15:57:10
-
0:00 /opt/u01/app/
11.2.
0/grid/bin/evmd.bin
root@bjdb1
:/>ps -ef|grep crsd.bin
root
37683238
1 0 15:59:54
-
0:01 /opt/u01/app/
11.2.
0/grid/bin/crsd.bin reboot
root@bjdb1
:/>
#当核心进程都起来时,再次查看crsctl资源情况,发现已经可以正常查询,各资源正在启动
root@bjdb1
:/>crsctl stat res -t
--------------------------------------------------------------------------------
NAME
TARGET STATE
SERVER
STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE
bjdb1
ora.LISTENER.lsnr
ONLINE ONLINE
bjdb1
ora.OCR_VOTE1.dg
ONLINE ONLINE
bjdb1
ora.asm
ONLINE ONLINE
bjdb1
Started
ora.gsd
OFFLINE OFFLINE
bjdb1
ora.net1.network
ONLINE ONLINE
bjdb1
ora.ons
ONLINE ONLINE
bjdb1
ora.registry.acfs
ONLINE ONLINE
bjdb1
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1
ONLINE OFFLINE
ora.bjdb.db
1
ONLINE OFFLINE
2
ONLINE OFFLINE
ora.bjdb1.vip
1
ONLINE ONLINE
bjdb1
ora.bjdb2.vip
1
ONLINE OFFLINE
STARTING
ora.cvu
1
ONLINE ONLINE
bjdb1
ora.oc4j
1
ONLINE ONLINE
bjdb1
ora.scan1.vip
1
ONLINE OFFLINE
STARTING