如何在 Standalone Service Fabric 中安装多机集群?
How to install Multi Machine Cluster in Standalone Service Fabric?
我正在阅读这里的指南:
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-creation-for-windows-server
“步骤 1B:创建多机集群”部分。
我已经在一个机器上安装了 Cluster 并尝试使用相同的 json(按照说明)并尝试将其安装在另一个机器上以便我可以在 2 上安装 Cluster 运行ning虚拟机。
当我通过 TestConfig 运行 时,我现在遇到这个错误。ps1:
Previous Fabric installation detected on machine XXX. Please clean the machine.
Previous Fabric installation detected on machine XXX. Please clean the machine.
Data Root node Dev Box1 exists on machine XXX in \XXX\C$\ProgramData\SF\Dev Box1. This is an artifact from a previous installation - please delete the directory corresponding to this node.
首先,看一下这个link。如果要创建集群,这些是每个集群节点需要满足的要求。
错误很明显。您很可能已经在机器上安装了 SF。所以要么你有 SF 运行time 要么有一些未清理的集群数据。
您的第一次尝试应该是 运行ning CleanFabric
来自每个节点上的 SF 独立包的 powershell 脚本。它应该清除所有 SF 数据(集群、运行时间、注册表等)。试试这个,然后再次 运行 TestConfiguration
脚本。如果这没有帮助,您将不得不转到每个节点并手动删除 TestConfiguration
脚本抱怨的所有 SF 数据。
我正在阅读这里的指南: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-creation-for-windows-server
“步骤 1B:创建多机集群”部分。
我已经在一个机器上安装了 Cluster 并尝试使用相同的 json(按照说明)并尝试将其安装在另一个机器上以便我可以在 2 上安装 Cluster 运行ning虚拟机。
当我通过 TestConfig 运行 时,我现在遇到这个错误。ps1:
Previous Fabric installation detected on machine XXX. Please clean the machine.
Previous Fabric installation detected on machine XXX. Please clean the machine.
Data Root node Dev Box1 exists on machine XXX in \XXX\C$\ProgramData\SF\Dev Box1. This is an artifact from a previous installation - please delete the directory corresponding to this node.
首先,看一下这个link。如果要创建集群,这些是每个集群节点需要满足的要求。
错误很明显。您很可能已经在机器上安装了 SF。所以要么你有 SF 运行time 要么有一些未清理的集群数据。
您的第一次尝试应该是 运行ning CleanFabric
来自每个节点上的 SF 独立包的 powershell 脚本。它应该清除所有 SF 数据(集群、运行时间、注册表等)。试试这个,然后再次 运行 TestConfiguration
脚本。如果这没有帮助,您将不得不转到每个节点并手动删除 TestConfiguration
脚本抱怨的所有 SF 数据。