【问题标题】:Service fabric cluster cant get node0 to rejoin 3 node clusterService Fabric 集群无法让 node0 重新加入 3 节点集群
【发布时间】:2022-10-18 20:22:45
【问题描述】:

我们有一个 3 节点服务结构集群,节点 0 是我们用来设置集群的节点正在工作,但未在系统中列出集群管理器服务和其他的,但在FailoverManagerService.

我怎么能把它加回来,因为我现在很困惑,把大部分时间花在这个不明智的事情上?

没有答案,我想我只需要删除集群然后重新创建它。

【问题讨论】:

    标签: azure-service-fabric service-fabric-on-premises


    【解决方案1】:

    我无法恢复它,因此删除集群并重新创建它,在其中一个节点上的 PowerShell 中使用以下命令。

    Connect-ServiceFabricCluster
    

    获取集群的当前配置

    Get-ServiceFabricClusterConfiguration > C:	emp	rain_cluster_config_old.json
    

    使用配置,我们现在可以删除集群

    Remove-ServiceFabricCluster -ClusterConfigFilePath train_cluster_config_old.json
    

    您必须删除任何剩余的节点文件夹C:程序数据SF或者接下来的步骤将通知您需要删除它们。

    确保您对配置感到满意,并使用您在一个节点上所需的工具进行测试 https://go.microsoft.com/fwlink/?LinkId=730690

    .TestConfiguration.ps1 -ClusterConfigFilePath C:	emp	rain_cluster_config_old.json -FabricRuntimePackagePath C:	empMicrosoft.Azure.ServiceFabric.WindowsServer.8.1.321.9590DeploymentRuntimePackagesMicrosoftAzureServiceFabric.8.1.321.9590.cab
    

    如果一切成功,则运行将创建集群的命令

    .CreateServiceFabricCluster.ps1 -ClusterConfigFilePath C:	emp	rain_cluster_config_old.json -FabricRuntimePackagePath C:	empMicrosoft.Azure.ServiceFabric.WindowsServer.8.1.321.9590DeploymentRuntimePackagesMicrosoftAzureServiceFabric.8.1.321.9590.cab
    

    给它几分钟运行和启动,然后导航到节点上的 https://localhost:19080/Explorer/index.html 以确保其运行。

    您现在需要再次部署所有应用程序,因为集群将是空的。

    【讨论】:

      猜你喜欢
      • 2016-09-04
      • 1970-01-01
      • 2018-10-27
      • 2017-03-13
      • 2016-09-28
      • 2019-01-15
      • 2016-12-14
      • 2019-04-07
      • 1970-01-01
      相关资源
      最近更新 更多