从mnesia cluster(scheme)中删除not_exist_already节点 [英] Remove not_exist_already node from mnesia cluster(scheme)

查看:129
本文介绍了从mnesia cluster(scheme)中删除not_exist_already节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I have a bad node (it doesn't exist) in the mnesia cluster data when I get:

我在mnesia群集数据中有一个坏节点(它不存在) mnesia:system_info(db_nodes)
[bad @ node,...]

> mnesia:system_info(db_nodes) [bad@node, ...]

我从集群中删除它?

我试过:

> mnesia:del_table_copy(scheme, bad@node).
{aborted,{not_active,"All replicas on diskfull nodes are not active yet"...



这是什么意思?如何修复?

What does this mean? How can I fix it?

更新。在将节点从模式中删除之前,我们需要停止mnesia

推荐答案

几年前我有类似的问题。你想要做的是删除离线节点,据我所知,在早期版本的mnesia中是不可能的。

I had a similar problem years ago. What you are trying to do is remove an offline node, which as far as I am aware was impossible in earlier versions of mnesia.

然而,您可以使用名为 bad @ node 的虚拟节点,并从原始群集节点的调整后的 system.config 开始。一旦从集群中删除它。

You can however connect to the cluster using a dummy node named bad@node, and started with a tweaked system.config of the original clustered node. Once its online remove from the cluster.

这篇关于从mnesia cluster(scheme)中删除not_exist_already节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆