CRS-4654
尝试通过crsctl status resource检查特定服务器的状态,但由于 CRS-4654 失败。
[grid@primary01 ~]$ crsctl stat res -t -n primary2
CRS-4654: Server 'primary2' could not be found.CRS-4654 表示您在crsctl中指定的服务器未处于活动状态或不在集群的服务器列表中。
我们应该指定正确的服务器名称,然后再做一次。
[grid@primary01 ~]$ crsctl stat res -t -n primary02
CRS-4654: Server 'primary02' could not be found.即使我们在命令中指定了正确的服务器名称,我们仍然得到 CRS-4405。这是因为服务器primary02当前未处于活动状态。
解决方案与我们解决 CRS-4405相同。
CRS-4405
尝试通过crsctl check cluster 检查特定服务器的状态,但由于 CRS-4405 失败。
[grid@primary01 ~]$ crsctl check cluster -n primary2
CRS-4405: The following nodes are unknown to Oracle High Availability Services:
primary2CRS-4405 表示您在crsctl中指定的服务器的 HA 服务不工作或不在集群中的服务器列表中。
让我们列出集群中的一些服务器信息。
[grid@primary01 ~]$ crsctl status serverpool Generic -f
NAME=Generic
IMPORTANCE=0
MIN_SIZE=0
MAX_SIZE=-1
SERVER_NAMES=primary01 primary02
PARENT_POOLS=
EXCLUSIVE_POOLS=
ACL=owner:grid:r-x,pgrp:oinstall:r-x,other::r-x
SERVER_CATEGORY=
ACTIVE_SERVERS=primary01基本原理
如我们所见,primary2不在服务器池中,正确的服务器名称应该是primary02,我们打错了。
[grid@primary01 ~]$ crsctl check cluster -n primary02
CRS-4405: The following nodes are unknown to Oracle High Availability Services:
primary02即使我们在命令中使用了正确的服务器名称,我们仍然得到 CRS-4405。这是因为 Oracle 服务器primary02的高可用性服务 (OHAS ) 当前已关闭。
解决方案
要解决 CRS-4405,我们应该在服务器上以root身份启动 CRS以启动 OHAS。
[root@primary02 ~]# . /home/grid/.bash_profile
[root@primary02 ~]# crsctl start crs
...然后再次检查。
原文标题:How to Resolve CRS-4654: Server could not be found
How to Resolve CRS-4405: The following nodes are unknown to Oracle High Availability Services
原文作者:Ed Chen
原文链接:https://logic.edchen.org/how-to-resolve-crs-4654-server-could-not-be-found/
https://logic.edchen.org/how-to-resolve-crs-4405-the-following-nodes-are-unknown-to-oracle-high-availability-services/




