Service Fabric RemoveNode.ps1返回在集群中找不到节点

时间:2016-08-31 14:31:44

标签: azure-service-fabric

我按照以下链接中的说明删除节点:

https://azure.microsoft.com/en-us/documentation/articles/service-fabric-cluster-windows-server-add-remove-nodes/

我已将zip下载到我要删除的计算机上,但是当我运行命令时

.\RemoveNode.ps1 -MicrosoftServiceFabricCabFilePath .\MicrosoftAzureServiceFabric.cab -ExistingClusterConnectionEndPoint <machine in cluster>:19000

它总是返回:

Removing Service Fabric Node...
Remove node to existing cluster failed with exception: System.InvalidOperationException: Node is not found in the cluster
   at System.Fabric.DeploymentManager.<RemoveNodeAsyncInternal>d__46.MoveNext()

我还尝试过只运行该脚本中存在的命令,但同样的问题发生了:

    Connect-ServiceFabricCluster "<machine in cluster>:19000"
    Get-ServiceFabricNode
    Remove-ServiceFabricNode -PreviewMode $true

我尝试停止服务,然后运行上述同样的问题。我也尝试过很多种去激活方式,但都会导致同样的问题。

提前感谢您的帮助!

0 个答案:

没有答案
相关问题