暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

故障处理|Oracle如何解决 CRS-4654、CRS-4405:找不到服务器

原创 小小亮 2022-11-04
928

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:
primary2

CRS-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/

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论