共计 3646 个字符,预计需要花费 10 分钟才能阅读完成。
故障现象:网络中断,导致 节点 2 在最后一步运行 root.sh 失败
处理过程:在失败的节点上,清理节点集群相关配置信息,然后重新跑 root.sh 脚本。
步骤如下:
第一步:
[root@libmgr2 ~]# /u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
网络存在: 1/192.168.10.0/255.255.255.0/eth0, 类型 static
VIP 存在: /libmgr1-vip/192.168.10.233/192.168.10.0/255.255.255.0/eth0, 托管节点 libmgr1
VIP 存在: /libmgr2-vip/192.168.10.234/192.168.10.0/255.255.255.0/eth0, 托管节点 libmgr2
GSD 已存在
ONS 存在: 本地端口 6100, 远程端口 6200, EM 端口 2016
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ‘libmgr2’
CRS-2673: Attempting to stop ‘ora.crsd’ on ‘libmgr2’
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on ‘libmgr2’
CRS-2673: Attempting to stop ‘ora.CRSDATA.dg’ on ‘libmgr2’
CRS-2677: Stop of ‘ora.CRSDATA.dg’ on ‘libmgr2’ succeeded
CRS-2673: Attempting to stop ‘ora.asm’ on ‘libmgr2’
CRS-2677: Stop of ‘ora.asm’ on ‘libmgr2’ succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on ‘libmgr2’ has completed
CRS-2677: Stop of ‘ora.crsd’ on ‘libmgr2’ succeeded
CRS-2673: Attempting to stop ‘ora.mdnsd’ on ‘libmgr2’
CRS-2673: Attempting to stop ‘ora.crf’ on ‘libmgr2’
CRS-2673: Attempting to stop ‘ora.ctssd’ on ‘libmgr2’
CRS-2673: Attempting to stop ‘ora.evmd’ on ‘libmgr2’
CRS-2673: Attempting to stop ‘ora.asm’ on ‘libmgr2’
CRS-2677: Stop of ‘ora.mdnsd’ on ‘libmgr2’ succeeded
CRS-2677: Stop of ‘ora.crf’ on ‘libmgr2’ succeeded
CRS-2677: Stop of ‘ora.evmd’ on ‘libmgr2’ succeeded
CRS-2677: Stop of ‘ora.ctssd’ on ‘libmgr2’ succeeded
CRS-2677: Stop of ‘ora.asm’ on ‘libmgr2’ succeeded
CRS-2673: Attempting to stop ‘ora.cluster_interconnect.haip’ on ‘libmgr2’
CRS-2677: Stop of ‘ora.cluster_interconnect.haip’ on ‘libmgr2’ succeeded
CRS-2673: Attempting to stop ‘ora.cssd’ on ‘libmgr2’
CRS-2677: Stop of ‘ora.cssd’ on ‘libmgr2’ succeeded
CRS-2673: Attempting to stop ‘ora.gipcd’ on ‘libmgr2’
CRS-2677: Stop of ‘ora.gipcd’ on ‘libmgr2’ succeeded
CRS-2673: Attempting to stop ‘ora.gpnpd’ on ‘libmgr2’
CRS-2677: Stop of ‘ora.gpnpd’ on ‘libmgr2’ succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on ‘libmgr2’ has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully deconfigured Oracle clusterware stack on this node
第二步:节点 2 重新跑 root.sh 脚本
第三步:节点 1 确认集群状态,故障处理结束。
[grid@libmgr1 ~]$ crsctl stat res -t
——————————————————————————–
NAME TARGET STATE SERVER STATE_DETAILS
——————————————————————————–
Local Resources
——————————————————————————–
ora.CRSDATA.dg
ONLINE ONLINE libmgr1
ONLINE ONLINE libmgr2
ora.asm
ONLINE ONLINE libmgr1 Started
ONLINE ONLINE libmgr2 Started
ora.gsd
OFFLINE OFFLINE libmgr1
OFFLINE OFFLINE libmgr2
ora.net1.network
ONLINE ONLINE libmgr1
ONLINE ONLINE libmgr2
ora.ons
ONLINE ONLINE libmgr1
ONLINE ONLINE libmgr2
——————————————————————————–
Cluster Resources
——————————————————————————–
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE libmgr1
ora.cvu
1 ONLINE ONLINE libmgr1
ora.libmgr1.vip
1 ONLINE ONLINE libmgr1
ora.libmgr2.vip
1 ONLINE ONLINE libmgr2
ora.oc4j
1 ONLINE ONLINE libmgr1
ora.scan1.vip
1 ONLINE ONLINE libmgr1
[grid@libmgr1 ~]$
更多 Oracle 相关信息见 Oracle 专题页面 https://www.linuxidc.com/topicnews.aspx?tid=12
: