暂无图片
Oracle12cR2 RAC删除故障节点失败
我来答
分享
刘贵宾
2019-08-30
Oracle12cR2 RAC删除故障节点失败

[root@zrac2 ~]# /u01/app/12.2.0.1/grid/bin/crsctl delete node -n zrac1

CRS-4662: Error while trying to delete node zrac1.

CRS-4000: Command Delete failed, or completed with errors.


[root@zrac2 ~]# /u01/app/12.2.0.1/grid/bin/olsnodes -n -t -s

zrac1 1 Inactive Unpinned

zrac2 2 Active Unpinned


[root@zrac2 ~]# /u01/app/12.2.0.1/grid/bin/crsctl stop cluster -n zrac1

CRS-4405: The following nodes are unknown to Oracle High Availability Services:

zrac1


[root@zrac2 ~]# /u01/app/12.2.0.1/grid/bin/srvctl config serverpool

服务器池名称: Free

重要性: 0, 最小值: 0, 最大值: -1

类别: 

候选服务器名称: 

服务器池名称: Generic

重要性: 0, 最小值: 0, 最大值: -1

类别: 

候选服务器名称: zrac2

[root@zrac2 ~]# 


我来答
添加附件
收藏
分享
问题补充
6条回答
默认
最新
刘贵宾
直接重装故障节点操作系统,然后addnode方式添加
暂无图片 评论
暂无图片 有用 1
暂无图片
章芋文

可以参考官方文档:

Deleting Oracle RAC from a Cluster Node

暂无图片 评论
暂无图片 有用 0
刘贵宾

谢谢回复,看了文档,还是不行,故障节点已经被重装系统了,在正常节点上还是无法删除成功。报那个Crs—4662

暂无图片 评论
暂无图片 有用 1
章芋文

参考:

First, I'll remove the bad node from the cluster. I start by removing the RDBMS software from the good node's inventory.

[oracle@host01]$ ./runInstaller -updateNodeList ORACLE_HOME=$RDBMS_HOME "CLUSTER_NODES={host01}"

LOCAL_NODE=host01

Then I remove the GI software from the inventory.

$ ./runInstaller -updateNodeList ORACLE_HOME=$GRID_HOME "CLUSTER_NODES={host01}"

CRS=TRUE -silent

Now I'll remove that node from the cluster registry.

root $ crsctl delete node -n host02

CRS-4661: Node host02 successfully deleted.

Remove the VIP.

root $ srvctl config vip -node host02

VIP exists: network number 1, hosting node host02

VIP Name: host02-vip

VIP IPv4 Address: 192.168.1.101

VIP IPv6 Address:

VIP is enabled.

VIP is individually enabled on nodes:

VIP is individually disabled on nodes:

root $ srvctl stop vip -vip host02-vip -force

root $ srvctl remove vip -vip host02-vip

Please confirm that you intend to remove the VIPs host02-vip (y/[n]) y

Then remove the instance.

root $ srvctl remove instance -db orcl -instance orcl2

Remove instance from the database orcl? (y/[n]) y

At this point, the bad node is no longer part of the cluster, from the good node's perspective.

Next, I'll move to the bad node and remove the software and clean up some config files.

暂无图片 评论
暂无图片 有用 0
刘贵宾

谢谢回复,照着做了,但是执行crsctl delete node -n zrac1 的时候还是执行失败,报错

[root@zrac2 ~]# /u01/app/12.2.0.1/grid/bin/crsctl delete node -n zrac1

CRS-4662: Error while trying to delete node zrac1.

CRS-4000: Command Delete failed, or completed with errors.


暂无图片 评论
暂无图片 有用 1
ora_221

楼主后面怎么处理的?我正好遇到差不多一样的问题,oracle 12c R2 一个节点宕机了可能要重建操作系统,想通过删除故障节点后再添加

暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏