【问题标题】:Connecting to Azure Service Fabric cluster from Azure VM从 Azure VM 连接到 Azure Service Fabric 群集
【发布时间】:2016-12-06 15:42:32
【问题描述】:

我正在尝试从我刚刚设置的新 Azure 虚拟机连接到我的 Azure Service Fabric 群集。但是当我使用 Connect-ServiceFabricCluster cmdlet 时,会收到以下错误消息:

Connect-ServiceFabricCluster : An error occurred during this operation.  Please check the trace logs for more details.
At line:1 char:1
+ Connect-ServiceFabricCluster -ConnectionEndpoint ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Connect-ServiceFabricCluster], FabricException
    + FullyQualifiedErrorId : CreateClusterConnectionErrorId,Microsoft.ServiceFabric.Powershell.ConnectCluster

我在 powershell 中使用的命令是(值被混淆了):

Connect-ServiceFabricCluster -ConnectionEndpoint {ENDPOINT ADDRESS} -FindType FindByThumbprint -FindValue {THUMBPRINT} -X509Credential -ServerCertThumbprint {THUMBPRINT} -StoreLocation CurrentUser -StoreName My

当我在我的开发 PC 上使用完全相同的命令时,它工作得很好。欢迎就出了什么问题以及如何调试它提出任何建议!

【问题讨论】:

  • 您的客户端证书是否安装在 VM 上参数指示的位置?
  • @MattThalman 就是这样。谢谢!如果您可以将其添加为答案,我可以接受。

标签: azure azure-service-fabric


【解决方案1】:

确保您的客户端证书安装在 VM 上 Connect-ServiceFabricCluster cmdlet 参数中指示的位置。

【讨论】:

    猜你喜欢
    • 2020-01-12
    • 2016-12-06
    • 2019-05-12
    • 2018-10-27
    • 2018-11-09
    • 2016-10-23
    • 1970-01-01
    • 2016-09-28
    • 2021-04-18
    相关资源
    最近更新 更多