重命名服务结构节点 [英] Renaming Service Fabric Node
问题描述
使用错误名称重命名NodeNames的最佳做法是什么?
我拼错了我们的一个节点名称并希望修复它。我尝试在主节点上更新Config JSON,但它给了我一个错误"如果你想要
来更改NodeName或NodeTypeRef,请删除旧节点并添加一个新节点。"
最佳做法是从当前群集中删除节点并将其添加回具有正确名称的群集中吗?
谢谢
是的。由于错误声明您无法更新节点名称。您需要删除该节点并将其添加回群集。
这两个命令应该为您完成:
What are the best practices for renaming NodeNames with incorrect names?
I misspelled one of our node names and want to fix it. I tried updating the Config JSON on the main node, but it gave me an error "If you want to change the NodeName or NodeTypeRef, please remove the old node and add a new one."
Would it be best practice to remove the node from it's current cluster and add it back into the cluster with the correct name?
Thanks
Yes. As the error states you cannot update your node name. You need to remove the node and add it back to the cluster.
These two commands should get it done for you:
这篇关于重命名服务结构节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!